-
Notifications
You must be signed in to change notification settings - Fork 0
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
bug-1870734: update eliot to python 3.11 #114
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,13 +26,13 @@ line-length = 88 | |
# Allow unused variables when underscore-prefixed. | ||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" | ||
|
||
# Assume Python 3.9. | ||
target-version = "py39" | ||
# Assume Python 3.11. | ||
target-version = "py311" | ||
|
||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py39"] | ||
target-version = ["py311"] | ||
|
||
|
||
[tool.pytest.ini_options] | ||
|
@@ -43,6 +43,8 @@ addopts = "-rsxX --showlocals --tb=native -p no:cacheprovider --import-mode=impo | |
# Transform all warnings into errors | ||
filterwarnings = [ | ||
"error", | ||
# Falcon currently uses cgi which is going away in python 3.13 | ||
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Falcon is planning to fix this in version 4 falconry/falcon#2066, but it supports python 3.11 as of Falcon 3.1.1 For now python 3.13 isn't coming out for another 11 months, and @willkg is investigating switching to another micro-framework such as flask or fastapi bug 1870735 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @relud, yes, we will release either 4.0 or another microrelease to make the framework work on the latest versions of CPython and PyPy. (We already support 3.12 incl binary wheels.) |
||
# sentry-sdk has a Falcon integration that needs some help and is currently | ||
# using a thing in Falcon that kicks up a DeprecatedWarning | ||
"ignore:The api_helpers module.*:falcon.util.deprecation.DeprecatedWarning", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -445,7 +445,7 @@ def test_nested_directories(cm_client, tmpdir): | |
"num_unhandled_errors": "0", | ||
"event": ["1", "256", "0", "'xul__4byte.symc'"], | ||
"event_flags": ["<flags.CREATE: 256>"], | ||
"flags_list": "'flags.CREATE'", | ||
"flags_list": "'256'", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. enum serialization behavior changed in 3.11 https://docs.python.org/3/whatsnew/3.11.html#enum |
||
"dir_path": ANY, | ||
"path": ANY, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I keep forgetting to ditch alpine here and everywhere else we use Kent. I updated the Kent suggested Dockerfile to switch to bookworm (Debian 12):
https://github.com/willkg/kent#running-in-a-docker-container
We can keep this and I can toss an item in my todo list to switch kent to use bookworm.