-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Test failures with Python 3.13 #581
Comments
Fixing the |
The
why should
so...my working theory is this changed between Python 3.12.1 (the test passed in this build, which used that version of Python) and 3.12.3, but it's not really a bug. If anything it was broken before. Will dig into it a bit more and decide on a sensible resolution. edit: Aha, yeah, so this was python/cpython#112006 , fixed in Python 3.11.9 and Python 3.12.3. With an older Python, But with fixed Python, I'll patch the test to expect the appropriate answer for the version of Python it's running on, I guess. |
#582 fixes the issues aside from the one caused by python/cpython#120528 , we should not work around that here I don't think, just wait for cpython to be fixed. |
I ran the current dev branch against the latest Python 3.13 release candidate over in https://github.com/jrbourbeau/toolz/commits/test-313/ (here's the CI build https://github.com/jrbourbeau/toolz/actions/runs/11076655508/job/30780207947). It looks like tests are passing today. The build still fails due to some coverage constraint, but that's a separate point. @AdamWill is this safe to close, or am I missing something? We can also add a Python 3.13 build to CI |
yup, I believe so. The cpython fix went in a while back and should be in the RC. Adding 3.13 to CI would be great. thanks! |
Fedora rawhide has updated to Python 3.13b2. toolz tests are failing with:
The test_except error is likely related to:
https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes
"""
Compiler now strip indents from docstrings. This will reduce the size of bytecode cache (e.g. .pyc file). For example, cache file size for sqlalchemy.orm.session in SQLAlchemy 2.0 is reduced by about 5%. This change will affect tools using docstrings, like doctest.
"""
python/cpython#81283
The spaces before "dispatch" are stripped.
The text was updated successfully, but these errors were encountered: