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 pkg_resources usage #5956

Closed
wRAR opened this issue Jun 20, 2023 · 0 comments · Fixed by #5958
Closed

Remove pkg_resources usage #5956

wRAR opened this issue Jun 20, 2023 · 0 comments · Fixed by #5958

Comments

@wRAR
Copy link
Member

wRAR commented Jun 20, 2023

Importing pkg_resources raises a deprecation warning now so it makes sense to remove it. We can even use importlib without checking if it's available as we no longer support 3.7. I see only pkg_resources.parse_version and pkg_resources.iter_entry_points used in Scrapy, I think they can be replaced by things from packaging and importlib.metadata respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant