Hi Jack,
On 11/07/2018 01:38, Jack Perdue wrote:
As recently as a week or two ago, the "legacy"
PyPi site was still serving files from old source_urls.
That no longer seems to be the case.
And the new URLs seem to be a random mess.
Has anyone pondered how to deail with this?
EasyBuild has dealt with this for a while (since v2.8.0), by
auto-translating PyPI URLs, see
https://github.com/easybuilders/easybuild-framework/pull/1749 .
Are you saying that functionality is broken?
Seems to be working fine (we also check this in the framework test
suite, of course):
$ python -c "from test.framework.utilities import init_config; from
easybuild.tools.filetools import derive_alt_pypi_url; init_config();
print
derive_alt_pypi_url('https://pypi.python.org/packages/source/e/easybuild/easybuild-2.7.0.tar.gz')"
INFO: This is (based on) vsc.install.shared_setup 0.11.2
https://pypi.python.org/packages/5b/03/e135b19fadeb9b1ccb45eac9f60ca2dc3afe72d099f6bd84e03cb131f9bf/easybuild-2.7.0.tar.gz
The source tarball can be downloaded using "curl -OL" just fine...
regards,
Kenneth