scrapy / scrapyd

A service daemon to run Scrapy spiders
https://scrapyd.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
2.96k stars 569 forks source link

pkg_resources migration #528

Open jpmckinney opened 3 months ago

jpmckinney commented 3 months ago

It is deprecated in Python 3.12.

pkg_resources.find_distributions might be replaced by importlib_metadata distributions() or Distribution.discover() https://importlib-metadata.readthedocs.io/en/stable/migration.html#pkg-resources-find-distributions

distribution.get_entry_info might be replaced by https://docs.python.org/3/library/importlib.metadata.html#entry-points

I don't know what replaces distribution.activate()