project-config/roles/copy-wheels/files
Jeremy Stanley abc91b7ced Don't mirror wheels for pip/setuptools/virtualenv
A recent 45.0.0 release of Setuptools dropped support for (the now
EOL) Python 2.7 interpreter. It publishes to PyPI with
options.python_requires set to >=3.5 in its setup.cfg which causes
PyPI's simple index to serve that via a data-requires-python
attribute (see PEP 503) so that pip knows not to pick that one on
unsupported interpreters. Our wheel cache is just served via Apache
with mod_autoindex for its file listing, so lacks an ability to
convey this information.

In the short term, stop copying new versions of the pip, setuptools
and virtialenv wheels into the cache we publish, so that we can
safely remove broken versions of them manually and not have to worry
about them reappearing. Longer term, it may make sense to filter out
any wheels with manylinux or none-any platform specifiers, since
those the first absolutely exist on PyPI already or and the second
are trivial to build at job runtime if they don't. We really only
care about making sure we serve platform-specific wheels we've
built, as those will save the most time in jobs.

Change-Id: I02fac6beef9bb94cdeb1d0a84774c1b93357deb1
2020-01-13 15:28:59 +00:00
..
wheel-copy.sh Don't mirror wheels for pip/setuptools/virtualenv 2020-01-13 15:28:59 +00:00
wheel-index.sh Move wheel-build scripts out of jenkins/scripts 2018-02-13 21:12:45 +01:00