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

Pin CI checks to Python 3.12 #582

Closed
wants to merge 8 commits into from
Closed

Pin CI checks to Python 3.12 #582

wants to merge 8 commits into from

Conversation

DMRobertson
Copy link
Contributor

Closes #581 by updating locked versions of deps with C extensions to include 3.12 wheels. To do so, drop Python 3.7 support. This has EOLed, and without it Poetry refuses to update cffi (whose most recent release requirses Python >= 3.8).

Also pin the python version used in CI. To do so, inline the config that we pulled in from https://github.com/matrix-org/backend-meta/blob/release/v2/.github/workflows/python-poetry-ci.yml. (That doesn't expose an option to pin the Python version, and we haven't used that workflow anywhere else, really.)

Commitwise reviewable.

David Robertson added 8 commits November 20, 2023 18:29
Bump the version in pyproject.toml, then `poetry lock --no-update`.

3.7 was EOLed 27 Jun 2023
This didn't have a way to pin the Python version in use. We haven't
found pulling this out to be useful, so instead let's just inline it.
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.

poetry install failing on Python 3.12
1 participant