-
Notifications
You must be signed in to change notification settings - Fork 22
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: remove Python 3.6
support
#251
Conversation
pyproject.toml
Outdated
@@ -51,7 +50,7 @@ awkward = [ | |||
] | |||
dev = [ | |||
"awkward>=1.2", | |||
'numba>=0.50; python_version >= "3.6"', | |||
'numba>=0.50; python_version >= "3.7"', |
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.
This is always true?
noxfile.py
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
import nox | |||
|
|||
ALL_PYTHONS = ["3.6", "3.7", "3.8", "3.9", "3.10"] | |||
ALL_PYTHONS = ["3.7", "3.8", "3.9", "3.10"] |
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.
Can we add 3.11 now, too? And 3.11-dev to the testing matrix? Awkward supports 3.11 now. Some of the dev dependencies will need to require <3.11.
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.
(Actually the 3.11 stuff can be added before 0.9 & this PR)
We can change pyupgrade to |
6f7f565
to
640f3da
Compare
You probably have access to change this (try checking): go to Settings (gear icon), then Branches (left menu), then Set Protection Rules. Inside that, there's a start-typing-then-dropdown-menu for adding new requirements and a way to "X" out old requirements. I did it already for this one (dropped Python 3.6 and added 3.10 and 3.11-dev). |
I don't have access to the Settings tab 😅 Thank you! |
You might have permissions now. Maybe. |
@@ -15,7 +15,7 @@ keywords = [ | |||
license = "BSD-3-Clause" | |||
maintainers = [ {name = "The Scikit-HEP admins", email = "scikit-hep-admins@googlegroups.com"} ] | |||
authors = [ {name = "Jim Pivarski, Henry Schreiner, Eduardo Rodrigues", email = "eduardo.rodrigues@cern.ch"} ] | |||
requires-python = ">=3.6" | |||
requires-python = ">=3.7" | |||
dependencies = [ | |||
'importlib-metadata>=0.22; python_version < "3.8"', | |||
"numpy>=1.13.3", |
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 think this is now higher; the first version to support 3.7 was newer than 1.13.3.
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.
It's 1.14.5
.
Could you update the isort hook: - repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
args: ["-a", "from __future__ import annotations"] Edit: NVM, I went ahead and added it. |
Codecov ReportBase: 80.87% // Head: 81.04% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #251 +/- ##
==========================================
+ Coverage 80.87% 81.04% +0.16%
==========================================
Files 96 96
Lines 10529 10623 +94
==========================================
+ Hits 8515 8609 +94
Misses 2014 2014
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Yes! Thank you! |
Fixes #250