City-Bureau / city-scrapers-atl

City Scrapers for Atlanta
MIT License
1 stars 0 forks source link

🛠️ Clean up: dependencies #161

Closed SimmonsRitchie closed 7 months ago

SimmonsRitchie commented 7 months ago

What's this PR do?

Cleans up the dependencies in this repo. Specifically, this PR:

Why are we doing this?

These updates seem to be needed across most of the city-scraper repos in order to ensure they run smoothly. A number of our repos are failing to build seemingly due to dependency conflicts from outdated dependencies.

scrapy-sentry-errors is a new City Bureau-built Sentry integration that replaces scrapy-sentry. The latter appears to no longer be maintained and was causing clear build issues for some of the city-scraper repos. For more background, see PR 67 in city-scrapers-cle.

Steps to manually test

Are there any smells or added technical debt to note?

While it's not ideal, switching to installing city-scrapers-core directly from the GitHub repository instead of using our distributed package on PyPi may be necessary for now. Wheel files on PyPi are generally more optimized for installation. However, this method of installation seems to have helped resolve the dependency issues in other city-scraper repos. We plan to revert to installing from PyPi once city-scrapers-core has been updated and the dependencies are more manageable.