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 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
chrisjsewell added a commit to chrisjsewell/aiida_core that referenced this pull request Feb 16, 2022
Since pypa/setuptools#3086,
the `EntryPoint` class can be overriden by setuptools.
Here we also check for that class,
plus providining more feedback, if the check fails.
chrisjsewell added a commit to chrisjsewell/aiida_core that referenced this pull request Feb 16, 2022
Since pypa/setuptools#3086,
the `EntryPoint` class can be overriden by setuptools.
Here we also check for that class,
plus providining more feedback, if the check fails.
chrisjsewell added a commit to chrisjsewell/aiida_core that referenced this pull request Feb 16, 2022
Since pypa/setuptools#3086,
the `EntryPoint` class can be overriden by setuptools.
Here we also check for that class,
plus providining more feedback, if the check fails.
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.

None yet

1 participant