-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore: include Python 3.11 #1602
Changes from all commits
4b0d6b9
f8209cb
b1171d8
82afb7d
c7a5e66
a791612
8bc70f7
3703600
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ repos: | |
rev: v2.0.0 | ||
hooks: | ||
- id: setup-cfg-fmt | ||
args: [--include-version-classifiers, --max-py-version=3.11] | ||
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. This got missed recently, you now need |
||
|
||
- repo: https://github.com/asottile/pyupgrade | ||
rev: "v2.37.3" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ filterwarnings = [ | |
"ignore:the imp module is deprecated in favour of importlib:DeprecationWarning", # move to importlib to fix (setuptools issue) | ||
"ignore:The NumPy module was reloaded:UserWarning", | ||
"ignore:.*np\\.MachAr.*:DeprecationWarning", # until https://github.com/numba/numba/issues/7758 is fixed | ||
"ignore:module 'sre_.*' is deprecated:DeprecationWarning", # From lark & Python 3.11 | ||
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. FYI, this can also be "default", "once", or "all" if you want the warning to still show up in the tests. But they aren't really our fault so I think ignoring them is fine. But there are options. |
||
] | ||
log_cli_level = "info" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
autograd | ||
flake8 | ||
fsspec;python_version > "3.6" and sys_platform != "win32" | ||
jax>=0.2.7;sys_platform != "win32" and python_version > "3.6" | ||
jaxlib>=0.1.57,!=0.1.68;sys_platform != "win32" and python_version > "3.6" | ||
numba>=0.50.0 | ||
numexpr | ||
jax>=0.2.7;sys_platform != "win32" and python_version > "3.6" and python_version < "3.11" | ||
jaxlib>=0.1.57,!=0.1.68;sys_platform != "win32" and python_version > "3.6" and python_version < "3.11" | ||
numba>=0.50.0;python_version < "3.11" | ||
numexpr;python_version < "3.11" | ||
pandas>=0.24.0 | ||
pyarrow>=7.0.0;python_version > "3.6" and sys_platform != "win32" | ||
pyarrow>=7.0.0;python_version > "3.6" and sys_platform != "win32" and python_version < "3.11" | ||
PyYAML |
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.
We are hardcoding manylinux1 above, and manylinux1 doesn't support 3.11 (or 3.10, IIRC), so made this a separate step.
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.
Is this what becomes easier when we drop Python 3.6? I'm going to open issues for dropping 3.6 in Uproot and Awkward as a reminder.