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

Pin urllib3 to prevent bad dependencies resolving on MacOS with Python3.10 #72

Closed

Conversation

pierrelalanne
Copy link
Collaborator

@pierrelalanne pierrelalanne commented Sep 26, 2023

For an unknown reason, dependencies installation results in urllib3 not being below version 3 on MacOS with Python3.10.
Actually, worse than that: the install is flaky...

@pierrelalanne pierrelalanne added the skip-changelog No changelog check in the CI label Sep 26, 2023
@@ -15,7 +15,7 @@ isort = "*"
pre-commit = "*"
pytest = "*"
vcrpy = ">=4.3.0,!=4.3.1,<4.4.0" # v4.3.1 broke decode_compressed_response
urllib3 = "<2" # pin until https://github.com/kevin1024/vcrpy/issues/688 is fixed
urllib3 = "1.26.16" # pin until https://github.com/kevin1024/vcrpy/issues/688 is fixed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To pin the dependency you need to change this to:

Suggested change
urllib3 = "1.26.16" # pin until https://github.com/kevin1024/vcrpy/issues/688 is fixed
urllib3 = "==1.26.16" # pin until https://github.com/kevin1024/vcrpy/issues/688 is fixed

But I think we can avoid doing so by updating vcrpy instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog check in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants