-
Notifications
You must be signed in to change notification settings - Fork 137
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
feat: add python 3.12 support #422
Conversation
is aiohttp the only dep that needs to be upgraded to support 3.12? Why/where do we use it in the production code? |
Technically, both
|
b1cd0dc
to
1c90b64
Compare
1c90b64
to
ebfdee2
Compare
Update the build scripts to test and target Python 3.12 released on 2 October 2023. As the dependency on distutils has been removed already, there are no other changes required. Signed-off-by: JP-Ellis <josh@jpellis.me>
ebfdee2
to
38e1138
Compare
This will help with debugging any errors that might occur during the venv setup. Signed-off-by: JP-Ellis <josh@jpellis.me>
We require the test matrix to succeed before a PR can be merged. Unfortunately, the rule is rather complex as it has to test that each element of the test matrix completed successfully. By adding another step which runs only of the matrix succeeded, we can check that this ran, as opposed to each element of the matrix. Signed-off-by: JP-Ellis <josh@jpellis.me>
28870ed
to
75542d9
Compare
Is there any chance that there will be a release of pact-python with this python 3.12 support included? We are now faced with a choice to downgrade to python 3.11 (and revert the nice type syntax changes) or delay adoption of Pact. |
We will look to get a cut released next week @logi - we want you to have your cake, and to eat it! |
@logi Sorry I missed your comment (I have just finished moving houses, which certainly did not help). I'll make a |
📝 Summary
Update the build scripts to test and target Python 3.12 released on 2 October 2023. As the dependency on distutils has been removed already, there are no other changes required.
At present, this depends on a beta version of aiohttp. As a result, before this can be merged, we must wait for
🚨 Breaking Changes🔥 Motivation
As detailed in the linked issue.
🔨 Test Plan
The regular test suite will suffice. There is no change to the library code.
🔗 Related issues/PRs