Skip to content

Use requests instead of urllib2 for 403 errors.#2695

Merged
boegel merged 3 commits intoeasybuilders:developfrom
bartoldeman:use_requests_for_403
Sep 11, 2019
Merged

Use requests instead of urllib2 for 403 errors.#2695
boegel merged 3 commits intoeasybuilders:developfrom
bartoldeman:use_requests_for_403

Conversation

@bartoldeman
Copy link
Contributor

@bartoldeman bartoldeman commented Dec 14, 2018

NASM has this issue. requests comes to the rescue there too.

…3 error.

requests comes to the rescue there too.
@bartoldeman bartoldeman changed the title NASM downloads fail with CentOS/RHEL6 stock urllib2, as they get a 403 error Use requests instead of urllib2 for 403 errors. Dec 14, 2018
@boegel
Copy link
Member

boegel commented Dec 14, 2018

@bartoldeman Can we cover this in the tests? See test_download_file_requests_fallback in test/framework/filetools.py

@boegel boegel added this to the 3.8.1 milestone Dec 14, 2018
@boegel
Copy link
Member

boegel commented Jan 16, 2019

@bartoldeman Now blocked because of a merge conflict, please sync with current develop?

Let me know if you need help by covering this in the tests.

@boegel boegel modified the milestones: 3.8.1, 3.9.0 Jan 17, 2019
@boegel
Copy link
Member

boegel commented May 14, 2019

@bartoldeman Ping on making this ready to go, maybe include in EasyBuild v3.9.1 (window is closing...)

@boegel boegel modified the milestones: next release (3.9.1), 3.x May 14, 2019
@akesandgren
Copy link
Contributor

@bartoldeman Pinging again...

@bartoldeman
Copy link
Contributor Author

ok, will have another look.

@boegel boegel modified the milestones: 3.x, 4.x Sep 10, 2019
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel boegel modified the milestones: 4.x, 4.0.0 Sep 10, 2019
@boegel boegel merged commit 6ccf5cc into easybuilders:develop Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants