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

Python 3.13 support #158

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Python 3.13 support #158

merged 3 commits into from
Dec 3, 2024

Conversation

movermeyer
Copy link
Collaborator

@movermeyer movermeyer commented Nov 10, 2024

What are you trying to accomplish?

#155

Adding support for Python 3.13

What approach did you choose and why?

I added 3.13 everywhere.

I had to adjust some calls to exec as a result of the locals changes that happened in 3.13.
Otherwise the imports wouldn't result in changes to the globals, so subsequent calls wouldn't see the libraries as imported.

I also had to pin the version of setuptools to an old version, since they dropped support for being used as a test runner in v72 (#147).

What should reviewers focus on?

🤷, once this is merged, I'll rebase #154, and we should be able to get 2.3.2 released 🤞.

The impact of these changes

We'll have Python 3.13 in our tests and our builds.

Python 2 is no longer supported in Ubuntu docker image
@movermeyer movermeyer marked this pull request as draft November 10, 2024 01:44
@movermeyer movermeyer force-pushed the movermeyer/python_313_support branch 3 times, most recently from 34a9dff to 4ae02e1 Compare November 10, 2024 02:07
@movermeyer movermeyer force-pushed the movermeyer/python_313_support branch from 4ae02e1 to 08f4a50 Compare November 10, 2024 02:09
@movermeyer movermeyer marked this pull request as ready for review November 10, 2024 02:11
@@ -27,7 +31,7 @@ jobs:
docker:
- image: circleci/python:3.4

test:
test_old_pythons:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These versions of Python don't have access to setuptools==71.1.0, so were implicitly pinned at older versions already.

@squeaky-pl squeaky-pl self-requested a review December 3, 2024 15:27
@squeaky-pl
Copy link

squeaky-pl commented Dec 3, 2024

You maybe would want to remove some old Python version classifiers from setup.py as well.

@movermeyer
Copy link
Collaborator Author

movermeyer commented Dec 3, 2024

You maybe would want to remove some old Python version classifiers from setup.py as well.

@squeaky-pl We still support all those versions though (at least, we've kept all the edge-case handling for them in the code).

#157 is the ticket for capturing the drag of old versions.

@movermeyer movermeyer merged commit 59e2b7f into master Dec 3, 2024
18 checks passed
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.

2 participants