-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add preliminary support for Python 3.12rc1. #1129
Conversation
My local failure looks like the GHA one: https://github.com/zopefoundation/Zope/actions/runs/5156707238/jobs/9288068396 |
Locally, also on Python 3.12b0, I am seeing this:
|
Let's see what 3.12b2 has to offer. |
The result for ubuntu in GHA is:
That's way better but also a bit surprising, that DTML tests fail. |
Locally I seem to get the same 5 errors + lots of deprecation warnings. So clearly a step forward. |
My "broken" Python 3.12 is the result of virtualenv (via tox) installing pip version 22.3.1 into the Python 3.12 virtual environment. Pip 22.3.1 is not compatible with Python 3.12. The solution is to use environment variables inside tox.ini
Question: I can simply add this in |
@dataflake Do you have a clue why tox uses an outdated pip version? Do you use a current I'd like to find out why this problem does not happen to me and I'd like to get around stuffing a hard coded version number into a config file. If we do not find out the cause of the problem I think your changes should got into |
What will happen is that regardless of the This is not a |
@dataflake Okay, let's move this fix into |
bcdd2ac
to
87a01aa
Compare
The test failures under Python 3.12 are actually a zope.testrunner issue: zopefoundation/zope.testrunner#149 |
I just confirmed that these errors are fixed with zopefoundation/zope.testrunner#150 applied. |
This PR will go green when zope.testrunner 6.1 is on PyPI and pinned here, I'm just waiting for the required privileges. |
The last remaining failure looks like a tox issue to me |
To fix Windows 3.12 build.
47d82b2 has to be ported to |
Done. |
I have removed the tags, IMHO this is ready to be merged. |
Thank you for working on this PR. 😃 |
Fine by me. Do you want me to do it? I have time this morning. |
This would be very helpful as I'd would try to do it tomorrow. (Could you in the announcement please also mention the Zope 4.8.9 release fixing the same security issues?) |
Yes, will do. |
@dataflake Thank you very much! |
Let's try out the latest release.
Locally it crashes with with a core-dump when running the tests before printing something useful.