-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Regression in routing on Python 3.11.0b2: ValueError: line 1-0 is not a valid range #2425
Comments
FWIU now you need to set |
FWICS it's python/cpython@5893b5d Though pytest seems to be affected as well, so I don't really know how I managed to run tests yesterday. |
Ah, there's more info on pytest-dev/pytest#10008. The tests can be run with |
When setting the fallback values for lineno & col_offset, set them also for end_lineno & end_col_offset. This fixes a regression in Python 3.11.0b2 where lineno without end_lineno would cause an exception to be thrown. Fixes pallets#2425
When setting the fallback values for lineno & col_offset, set them also for end_lineno & end_col_offset. This fixes a regression in Python 3.11.0b2 where lineno without end_lineno would cause an exception to be thrown. Fixes pallets#2425
After upgrading Python 3.11 to 3.11.0b2, the routing module seems to be broken. This is visible e.g. in werkzeug's tests. Example failure:
To reproduce:
tox -e py311
Environment:
The text was updated successfully, but these errors were encountered: