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

Add workaround for pip bug in dep resolution #2048

Closed
mikewilli opened this issue Jun 6, 2024 · 0 comments · Fixed by #2049
Closed

Add workaround for pip bug in dep resolution #2048

mikewilli opened this issue Jun 6, 2024 · 0 comments · Fixed by #2049

Comments

@mikewilli
Copy link
Contributor

mikewilli commented Jun 6, 2024

Seeing an issue in CI or with a fresh venv when installing dependencies from requirements.txt. Seems to be related to an issue with pip, so we should add the workaround mentioned in the pip issue. See below for more info:

So I'm able to reproduce this locally with a new venv by just running python -m pip install -r requirements.txt, both on this branch and on main. I found a discussion and an open bug with pip, and the workaround mentioned there of using --no-deps with pip install fixes the problem for me. I don't see a downside to this for us because we are resolving dependencies with pip-tools generating the requirements.txt, so I think it's a valid workaround for us.

I'll put up a quick PR with this change shortly and then hopefully updating this branch with that change fixes the issue.

Still not sure why this suddenly popped up now. Perhaps some cached dependencies that expired or a particular dep update.

Originally posted by @mikewilli in #2047 (comment)

┆Issue is synchronized with this Jira Task

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 a pull request may close this issue.

1 participant