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

Migrate urls from files.pythonhosted.org/packages/$sha to sha-less url for autobump compatibility #49244

Open
corneliusroemer opened this issue Jul 15, 2024 · 1 comment

Comments

@corneliusroemer
Copy link
Member

Autobump is (often) not able to work with pypi source urls that include a sha like:

url: https://files.pythonhosted.org/packages/a4/22/39d1b2ae26ba833c994c4019995a67c10edceec99c27f227f5cdf989ab09/isa-rwval-{{ version }}.tar.gz

The solution is to use the predictable URL:

https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/isa-rwval-{{ version }}.tar.gz

There are around 130 recipes that could benefit from this migration.

It shouldn't be hard to write a script to do this in bulk.

@martin-g
Copy link
Contributor

https://github.com/bioconda/bioconda-recipes/pull/49234/files
It appears the Bot can update such urls!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants