Skip to content
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

drop pkg_resources as a runtime requirement #1394

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

neutrinoceros
Copy link
Contributor

pkg_resources is deprecated https://setuptools.pypa.io/en/latest/history.html#v67-5-0

Note to reviewers: it's not perfectly clear to me which versions of Python are still supported as various sources differ:

  • from PyPI classifiers: 3.6-3.10
  • from 1.14.5 wheels: 3.8-3.11
  • from test matrix: 3.9-3.11

Are the classifiers are just out of date ? I did the maximal effort to keep compatibility with Python<3.8 here, but if 3.9 is already the minimal supported version this PR can be simplified.

@neutrinoceros
Copy link
Contributor Author

I see that ruff+pyupgrade is targeting Python 3.9+, so let's just run with it

@neutrinoceros neutrinoceros force-pushed the no_pkg_resources branch 2 times, most recently from 22d96eb to 980d99c Compare March 6, 2023 10:33
@zssherman
Copy link
Collaborator

zssherman commented Mar 6, 2023

@neutrinoceros Thank you for the pull request! I think at this point we are trying to follow conda-forge etc on current testing and releases. So usually the 3 newest python versions I think or whichever it is. I'll let @mgrover1 provide some input as well. But with that being said, this PR looks good to me! I think yeah we need to have a more universal Python standard for versions between things. Yeah the classifiers looked to be out of date, so the fix for that in this PR looks good! But I'll check the wheel build as well.

@zssherman zssherman merged commit 73d9c91 into ARM-DOE:main Mar 6, 2023
@neutrinoceros neutrinoceros deleted the no_pkg_resources branch March 6, 2023 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants