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

2022 CI + Benchmarking refresh #126

Merged
merged 4 commits into from
Nov 17, 2022
Merged

2022 CI + Benchmarking refresh #126

merged 4 commits into from
Nov 17, 2022

Conversation

movermeyer
Copy link
Collaborator

@movermeyer movermeyer commented Oct 25, 2022

What are you trying to accomplish?

Python 3.11 has been released.

Make sure that we're testing against it.

Refresh all the bits of our CI/benchmarking that are stale too.

What approach did you choose and why?

Searched for references to "3.10" and added "3.11".

I also updating the benchmarks to:

Since CicleCI isn't going to release Docker image for Python 3.11 under their old a circleci/python namespace, I migrated our Docker images to use their new cimg/python namespace (Fixes #127) . This didn't support Python 3.4, so I duplicated our existing config to continue supporting 3.4. Deprecating 3.4 support can be considered in a separate issue.

I also noted that PyPy 3.9 is out, so I added it to the CI.

What should reviewers focus on?

I intentionally left out the updated benchmarks until I verify that datetime.fromisoformat really does cover all of ciso8601's subset. After that, I'll add the new results and contextualize them.

(While datetime.fromisoformat is faster for timestamps without a timezone, our lean timezone implementation means that we are still faster for timestamps with a timezone)

It seems that the vast majority of Python users will no longer have a reason to use ciso8601. 🎉🖤

The impact of these changes

Keeping up to date with the world of Python and CircleCI.

@movermeyer movermeyer changed the title Add Python 3.11 to tooling 2022 CI + Benchmarking refresh Oct 27, 2022
return results

def version_sort(versions):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Before, it was sorting alphanumerically, resulting in "3.10, 3.11, 3.9..." instead of "3.7...3.11".

@movermeyer movermeyer merged commit 1f37b21 into master Nov 17, 2022
@movermeyer movermeyer deleted the movermeyer/python_3_11 branch December 21, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants