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.12 test failures #11888
Comments
This one is fixed by 4ba766b86 |
There is also a regexp failure which is fixed by 4dabbf4 |
Relevant cpython issue for the |
Thanks for the report. I see that 3.12.0b2 is available in GitHub Actions. Not sure about beta3 ... but I think that this can be good enough to test. I will create a branch and give it a try. |
Thanks for the feedback. As expected, the test suite fails on Python 3.12 https://github.com/twisted/twisted/actions/runs/5404100452/jobs/9819104387?pr=11889 I think the first steps in getting py 3.12 support are:
I think that in 3.12 and 3.13 some legacy code will be removed, so for Twisted the fix might be deprecating the code using those modules and disabling those tests on 3.12 or newer. I know for example that Twisted had some code to do shadow password validation. Or if anyone is still using that code, they can submit a fix to use PAM or other tools |
Tests seem to be passing in CI, so going to close this. |
Thanks for the update.
We used the pre-release, but current trunk uses the final release twisted/.github/workflows/test.yaml Line 135 in 157cd8e
|
Currently in Fedora we are rebuilding twisted with Python 3.12 beta 3 and there are various test failures that we've observed.
First of all test_log hangs on test_startLoggingOverridesWarning.
By removing test_log I was able to reach 5 test failures and 41 test errors. Full build log is attached.
Sample:
build.log
The text was updated successfully, but these errors were encountered: