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

BUG: Conflicting dependencies for requests #141

Open
3 tasks
NielsKorschinsky opened this issue Dec 13, 2022 · 0 comments
Open
3 tasks

BUG: Conflicting dependencies for requests #141

NielsKorschinsky opened this issue Dec 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@NielsKorschinsky
Copy link
Member

Describe the bug

ERROR: Cannot install -r /tools/spectrum-protect-sppmon/python/requirements.txt (line 74) and charset-normalizer==3.0.1 because these package versions have conflicting dependencies.
 
The conflict is caused by:
    The user requested charset-normalizer==3.0.1
    requests 2.28.1 depends on charset-normalizer<3 and >=2

Solution

  • Switch to the process of using a requirements.in file
  • re-generate the requirements file using pip-compile
  • If required, hard lock the charset-normalizer in the requirements.in fle to the highest available 2.* version.
@NielsKorschinsky NielsKorschinsky added the bug Something isn't working label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant