Skip to content

Fix for pkg_resources removal in November 2025 breaking functionality#121

Open
atsuoishimoto wants to merge 6 commits intowolever:masterfrom
atsuoishimoto:update
Open

Fix for pkg_resources removal in November 2025 breaking functionality#121
atsuoishimoto wants to merge 6 commits intowolever:masterfrom
atsuoishimoto:update

Conversation

@atsuoishimoto
Copy link

@atsuoishimoto atsuoishimoto commented Jul 4, 2025

This pull request removes the dependency on the deprecated pkg_resources to ensure future compatibility. It also modernizes the codebase by dropping support for legacy pip versions and removing an obsolete file open mode.

  • As officially announced here (https://setuptools.pypa.io/en/latest/pkg_resources.html), pkg_resources is
    scheduled for removal from setuptools in November 2025. This project's reliance on it would cause it to
    break in future environments. This PR proactively addresses this issue.
  • Dropped support for pip < 10.0: Support for pip versions older than 10.0 has been removed.
  • Removed "U" mode from open(), as it was removed in Python 3.9.

@atsuoishimoto atsuoishimoto changed the title update pip2pi Replace pkg_resources and remove legacy code Jul 4, 2025
@atsuoishimoto atsuoishimoto changed the title Replace pkg_resources and remove legacy code Fix for pkg_resources removal in November 2025 breaking functionality Jul 17, 2025
@atsuoishimoto
Copy link
Author

@wolever @safiyat Is there no longer anyone interested in maintaining pip2pi?

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.

1 participant