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

🛠️ Clean up: dependencies #161

Closed
wants to merge 1 commit into from
Closed

Conversation

SimmonsRitchie
Copy link
Contributor

What's this PR do?

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

  • Replaces scrapy-sentry with our new sentry integration scrapy-sentry-errors.
  • Removes pywin32 dependency.
  • Installs city-scrapers-core from Github instead of PyPi.
  • Rebuilds 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 the city-scraper repos. For more background, see PR 67 in city-scrapers-cle.

Steps to manually test

  • Build the repo locally and ensure it runs without errors.
  • CI tests should pass (but this should run automatically when this PR is created)

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.

@SimmonsRitchie SimmonsRitchie deleted the batch-20240425 branch April 25, 2024 15:57
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.

1 participant