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

Support for Python 3.12+? #2138

Open
ckaldemeyer opened this issue Dec 2, 2024 · 5 comments
Open

Support for Python 3.12+? #2138

ckaldemeyer opened this issue Dec 2, 2024 · 5 comments
Labels
ci Related to continuous integration tasks docs Documentation related enhancement Improvements to functionality help wanted Request help from the community question User question support User support tests Testing and related things

Comments

@ckaldemeyer
Copy link

ckaldemeyer commented Dec 2, 2024

What's the problem this feature will solve?

So far, pip-tools is only supported until Python 3.11.

Describe the solution you'd like

Support for Python 3.12 and possibly Python 3.13.

Alternative Solutions

Additional context

We are using pip-tools in a production environment and need to update our python versions. Thus, support for newer versions would help us to migrate.

@webknjaz
Copy link
Member

webknjaz commented Dec 4, 2024

Technically, given that this is a pure-python project wrapping pip, I'd expect it to “just work” under those versions, even though they aren't explicitly tested in CI, nor are they listed among the Trove specifiers. So this is mostly about documenting stuff in metadata+CI, likely.

@webknjaz webknjaz added docs Documentation related help wanted Request help from the community tests Testing and related things enhancement Improvements to functionality question User question support User support ci Related to continuous integration tasks labels Dec 4, 2024
@ckaldemeyer
Copy link
Author

ckaldemeyer commented Dec 5, 2024

Thanks for your quick reply. So if I understand you right, you do not intend to add tests for specific Python versions and changing the packages metadata within a new release should be sufficient in order to indicate that it should work under these versions as well?

@WhyNotHugo
Copy link
Member

I've been using pip-tools on projects that migrated to 3.12 for a while without issues.

I recently migrated one to 3.13 without issues too.

@webknjaz
Copy link
Member

webknjaz commented Dec 5, 2024

@ckaldemeyer new tests are likely unnecessary, but we need to add newer Pythons to the CI matrix. Doing so may reveal some differences via failing tests. We'll see and have to adjust something if that happens.

@webknjaz
Copy link
Member

webknjaz commented Dec 5, 2024

As for the metadata, I usually add trove classifiers together with adding CI jobs for said versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to continuous integration tasks docs Documentation related enhancement Improvements to functionality help wanted Request help from the community question User question support User support tests Testing and related things
Projects
None yet
Development

No branches or pull requests

3 participants