Skip to content

Remove reliance on ensure_directory and parse_requirements from pkg_resources#3086

Merged
jaraco merged 12 commits intomainfrom
debt/remove-pkg-resources
Feb 5, 2022
Merged

Remove reliance on ensure_directory and parse_requirements from pkg_resources#3086
jaraco merged 12 commits intomainfrom
debt/remove-pkg-resources

Conversation

@jaraco
Copy link
Copy Markdown
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
Copy Markdown
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