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 < 2 #443

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Pin urllib3 < 2 #443

merged 1 commit into from
Oct 16, 2023

Conversation

oysteoh
Copy link
Contributor

@oysteoh oysteoh commented Oct 16, 2023

urllib3 needs to be pinned below v2 due to incompabilites with RHEL7

@berland
Copy link
Contributor

berland commented Oct 16, 2023

FYI, in the github action workflow that tests webviz-ert, urllib3 is already pinned, but pip still installs a newer urllib3.[

https://github.com/equinor/komodo-releases/blob/e39c27012e15aeea78d863a2c236a5aacf89fd61/.github/workflows/run_tests_one_project.yml#L102

@oysteoh
Copy link
Contributor Author

oysteoh commented Oct 16, 2023

FYI, in the github action workflow that tests webviz-ert, urllib3 is already pinned, but pip still installs a newer urllib3.[

https://github.com/equinor/komodo-releases/blob/e39c27012e15aeea78d863a2c236a5aacf89fd61/.github/workflows/run_tests_one_project.yml#L102

I guess it is because the new version is installed through a dependency when installing webviz-ert, and by pinning it this should now be solved? Or am i thinking wrong here?

@oyvindeide
Copy link
Contributor

Some test dependency must install a newer version then?

@oysteoh
Copy link
Contributor Author

oysteoh commented Oct 16, 2023

Some test dependency must install a newer version then?

i.e selenium uses requests which uses urllib3 - so i guess it is pulled down when running the tests. Updated the PR to add the pinning there instead.

@oysteoh oysteoh force-pushed the pin_urllib3 branch 2 times, most recently from 258df14 to fd67a23 Compare October 16, 2023 11:07
urllib3 needs to be pinned below v2 due to incompabilites with RHEL7
@oysteoh oysteoh merged commit 10c7280 into equinor:main Oct 16, 2023
@oysteoh oysteoh deleted the pin_urllib3 branch October 16, 2023 11:28
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.

3 participants