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

chore: upgrade pip tools #9859

Merged
merged 2 commits into from
May 19, 2022
Merged

chore: upgrade pip tools #9859

merged 2 commits into from
May 19, 2022

Conversation

pauldambra
Copy link
Member

Problem

Working on #9846 I had to upgrade pip-tools because they didn't work with pip 22.1

When I did that e2e tests started failing because "@" was an invalid requirement

e2e.yml was running...

python -m pip install $(grep -ivE "psycopg2" requirements.txt | cut -d'#' -f1) --no-cache-dir --compile

...to remove psycopg2 and lines with comments and pass them as a set of strings instead of a file to pip install

That started failing because the two lines with @ in them needed quoting to be installable

Changes

The tests pass without the two-stage psycopg2 install. So this change upgrades pip-tools and does a normal pip install in the e2e job (like all the other actions use)

How did you test this code?

running it in CI as part of #9846

@pauldambra pauldambra requested a review from guidoiaquinti May 19, 2022 12:20
@pauldambra pauldambra merged commit 55f23ee into master May 19, 2022
@pauldambra pauldambra deleted the upgrade_pip_tools branch May 19, 2022 14:01
fuziontech added a commit that referenced this pull request May 19, 2022
* master:
  refactor(ingestion): Make `KAFKA_ENABLED` true by default and set `KAFKA_HOSTS` default (#9844)
  feat(apps): transpile frontend.tsx (#9828)
  feat: show api call status when adding insights to dashboards (#9817)
  feat: track metrics on zapier hook firings (#9866)
  fix(onboarding): instrumentation (#9845)
  feat(whitelabel-shared-dashboard): Hide branding on shared dashboards paid (#9849)
  fix(apps): plugin source quickfix (#9862)
  refactor(plugin-server): Remove `ts-jest`, use `jest.mocked` (#9861)
  refactor(plugin-server): Trigger public jobs with graphile insted of celery queue (#9811)
  chore: upgrade pip tools (#9859)
  feat(apps): plugin source in its own model, part 2 (#9854)
  chore: Update sprint_planning_retro.md (#9791)
  feat(apps): plugin source in its own model, part 1 (#9853)
  feat(matrix): Add option to save `simulate_matrix` like `setup_dev` (#9836)
  fix(cohort): add mapping from event to person (#9841)
  feat(person-on-events): Enable CI to run using both old and new queries (#9814)
alexkim205 pushed a commit that referenced this pull request May 23, 2022
* update pip tools

* no need to do two step pip install
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.

2 participants