fix derive_alt_pypi_url after PyPI switching to sha256 in package URLs + fix broken test for pypi_source_urls + fix bootstrap script#2471
Merged
wpoely86 merged 5 commits intoeasybuilders:developfrom Apr 12, 2018
Conversation
…s + fix broken test for pypi_source_urls
wpoely86
reviewed
Apr 12, 2018
|
|
||
| if not alt_pypi_url: | ||
| _log.debug("Failed to extract hash using pattern '%s' from list of URLs: %s", regex.pattern, cand_urls) | ||
| _log.debug("Failed to extract hash using pattern '%s' or '%s' from list of URLs: %s", regex.pattern, cand_urls) |
Member
Author
There was a problem hiding this comment.
Nice catch, thanks, fix pushed.
boegel
commented
Apr 12, 2018
| handle = open(ebfile, 'w') | ||
| # need to initialise build options before pypi_source_urls function can be used | ||
| from test.framework.utilities import init_config | ||
| init_config() |
Member
Author
There was a problem hiding this comment.
I'm not entirely happy with this bit, but I consider the stuff below a temporary fix.
Once EasyBuild v3.6.0 is out that includes the fix for derive_alt_pypi_url, we can roll back this change.
wpoely86
previously approved these changes
Apr 12, 2018
|
wierd behaviour of the new bootstrap script, it looks like it didn't found the modules tool (I'm pretty sure it found it automaticaly before that) |
…nitialised build options), implement lightweight version instead
Member
Author
|
@MisterFruits I indeed introduced a problem in the bootstrap script, the tests also caught it... I've pushed another updated (version |
wpoely86
approved these changes
Apr 12, 2018
This was referenced Apr 20, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Seems like PyPI is switching away from MD5 checksums in favor of SHA256 checksums, probably related to the switch to the new "Warehouse" PyPI.