-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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] setuptools is using deprecated and slated to be removed APIs #3631
Labels
Comments
warsaw
added
bug
Needs Triage
Issues that need to be evaluated for severity and status.
labels
Oct 10, 2022
2 tasks
Also related: pypa/pip#11688 |
This was referenced May 24, 2023
SnoopJ
added a commit
to SnoopJ/sopel
that referenced
this issue
Oct 5, 2023
Versions of setuptools before 66.1 used deprecated portions of `pkgutil` that were removed in Python 3.12. More information: pypa/setuptools#3631 https://setuptools.pypa.io/en/latest/history.html#v66-1-0
SnoopJ
added a commit
to SnoopJ/sopel
that referenced
this issue
Oct 30, 2023
Versions of setuptools before 66.1 used deprecated portions of `pkgutil` that were removed in Python 3.12. More information: pypa/setuptools#3631 https://setuptools.pypa.io/en/latest/history.html#v66-1-0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
setuptools version
65.4.1
Python version
3.12
OS
macOS
Additional environment information
No response
Description
As described over in the pip issue tracker, several long-deprecated Python import related APIs are being removed in Python 3.12. All of these have been documented as deprecated for years (in most cases, since Python 3.3). Now is the time to remove them.
However, this is blocked on references to these old APIs in
pkg_resources
which, through twisty mazes, breaks Python 3.12's build because of its vendoring of pip, hence, setuptools, hence pkg_resources.Here is the upstream Python ticket tracking these removals, which contains the APIs that are being removed. The
pip
issue above has references to the places inpkg_resources
where these APIs are still being used.Expected behavior
Nothing in
pkg_resources
,setuptools
, orpip
should reference these long deprecated APIs.How to Reproduce
See the description in the pip issue description.
Output
See the description in the pip issue description.
The text was updated successfully, but these errors were encountered: