Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop python 3.8, enable python 3.13 and enable linting and common tests for 3.12, 3.13 #2194

Draft
wants to merge 11 commits into
base: devel
Choose a base branch
from

Conversation

sh-rp
Copy link
Collaborator

@sh-rp sh-rp commented Jan 7, 2025

Description

This PR does the following:

  • Drop support for python3.8, also removes all special code and dependencies we added for pyhton3.8
  • Enable linting for python3.12, all extras are now supported on python3.12
  • Enable python3.13 and run common tests there.

Based on #2047

ToDo:

  • Publish binaries for dlt-pendulum so user does not need rust/cargo to use dlt
  • Enable destination tests again (also rename the incorrectly named sqlalchemy test)

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 3b9eb54
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/677ec2ede88d76000885b341

@sh-rp sh-rp force-pushed the tmp/test_py_versions branch 3 times, most recently from 368e04d to d0de684 Compare January 8, 2025 10:16
@sh-rp sh-rp changed the title [do not merge] test python versions [do not merge] pin poetry 1.8.5 and enable linting for python 3.12 Jan 8, 2025
@sh-rp sh-rp changed the title [do not merge] pin poetry 1.8.5 and enable linting for python 3.12 pin poetry 1.8.5 and enable linting for python 3.12 Jan 8, 2025
@sh-rp sh-rp force-pushed the tmp/test_py_versions branch from d0de684 to 8cc3b7a Compare January 8, 2025 10:27
@sh-rp sh-rp changed the title pin poetry 1.8.5 and enable linting for python 3.12 drop python 3.8, enable python 3.13 and enable linting and common tests for 3.12 3.13 Jan 8, 2025
@sh-rp sh-rp changed the title drop python 3.8, enable python 3.13 and enable linting and common tests for 3.12 3.13 drop python 3.8, enable python 3.13 and enable linting and common tests for 3.12, 3.13 Jan 8, 2025
@sh-rp sh-rp force-pushed the tmp/test_py_versions branch 2 times, most recently from 5e4f829 to fc4006c Compare January 8, 2025 16:20
requests = ">=2.26.0"
pendulum = ">=2.1.2"
# TODO: pin to tag on dlt-pendulum repo
dlt-pendulum = [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: this still requires cargo at this point

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rudolfix I have another question about this: should we not have a different package name for our pendulum? The way it is currently set up, dlt-pendulum is always used, also for python versions before 3.13, this means there will be package name collissions if users also have the regular pendulum in their dependencies already in a project. I'm not sure what happens in this case.

Also you mentioned that you made some changes they will not like and there is a change in the code where you removed the casting of pendulum.now() to a string, are the libraries now incompatible?

@sh-rp sh-rp force-pushed the tmp/test_py_versions branch from 8358de4 to 2b727ee Compare January 8, 2025 16:41
@sh-rp sh-rp force-pushed the tmp/test_py_versions branch from 7f22437 to e46f21c Compare January 8, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant