-
Notifications
You must be signed in to change notification settings - Fork 828
Changes to python "warehouse" causing pypi.bbclass to fail #24
Copy link
Copy link
Closed
Description
pypi issue #438 broke URL lookups for packages. I believe the issues' resolution requires changing the domain used for the package's URL from:
https://pypi.python.org
to:
https://files.pythonhosted.org
--- pypi.bbclass
+++ pypi.bbclass
@@ -13,7 +13,7 @@ def pypi_src_uri(d):
package = d.getVar('PYPI_PACKAGE', True)
package_ext = d.getVar('PYPI_PACKAGE_EXT', True)
pv = d.getVar('PV', True)
- return 'https://pypi.python.org/packages/source/%s/%s/%s-%s.%s' % (package[0], package, package, pv, package_ext)
+ return 'https://files.pythonhosted.org/packages/source/%s/%s/%s-%s.%s' % (package[0], package, package, pv, package_ext)
PYPI_SRC_URI ?= "${@pypi_src_uri(d)}"
Seems to work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels