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

Remove reliance on ensure_directory and parse_requirements from pkg_resources #3086

Merged
merged 12 commits into from
Feb 5, 2022

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Feb 5, 2022

  • Add importlib_resources and importlib_metadata to vendored packages.
  • Add module for selectively loading importlib modules.
  • Move ensure_directory into setuptools.
  • Refresh importlib_metadata to 4.10.1.
  • Vendor jaraco.text with setuptools.
  • In build_meta, remove dependency on pkg_resources.
  • Pin vendored importlib dependencies for consistency.
  • Update changelog.

Summary of changes

Progress toward #3085.

Pull Request Checklist

@jaraco
Copy link
Member Author

jaraco commented Feb 5, 2022

I was planning to create one giant pull request to migrate everything off pkg_resources, but I realized that in the interest of stability and incrementalism, it's probably better to merge pieces of functionality in pieces. This piece implements a few of the early commits toward the effort.

@jaraco jaraco force-pushed the debt/remove-pkg-resources branch from 92b6a65 to 31c62fe Compare February 5, 2022 14:43
@jaraco jaraco closed this Feb 5, 2022
@jaraco jaraco reopened this Feb 5, 2022
@jaraco jaraco changed the title Limit dependency on pkg_resources in setuptools Remove reliance on ensure_directory and parse_requirements from pkg_resources Feb 5, 2022
@jaraco jaraco closed this Feb 5, 2022
@jaraco jaraco reopened this Feb 5, 2022
@jaraco jaraco merged commit d64fb2f into main Feb 5, 2022
@jaraco jaraco deleted the debt/remove-pkg-resources branch February 5, 2022 19:19
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