Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's this PR do?
Cleans up the dependencies in this repo. Specifically, this PR:
scrapy-sentry
with our new sentry integrationscrapy-sentry-errors
.pywin32
dependency.city-scrapers-core
from Github instead of PyPi.pipenv.lock
.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 thecity-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.