scripts/ci: upgrade packaging stack

Make sure we have the newest versions of pip/setuptools/wheel as well in
requirements-tox.txt.

See #6068, needed to support the "cp310" tag when building wheels for
hunter/PyQt5-sip.
This commit is contained in:
Florian Bruhin 2021-01-26 20:02:27 +01:00
parent ab01b3970f
commit 922dca039b
3 changed files with 9 additions and 1 deletions

View File

@ -4,10 +4,13 @@ appdirs==1.4.4
distlib==0.3.1
filelock==3.0.12
packaging==20.8
pip==21.0
pluggy==0.13.1
py==1.10.0
pyparsing==2.4.7
setuptools==52.0.0
six==1.15.0
toml==0.10.2
tox==3.21.2
virtualenv==20.4.0
wheel==0.36.2

View File

@ -1 +1,2 @@
tox
wheel

View File

@ -176,6 +176,9 @@ CHANGELOG_URLS = {
'adblock': 'https://github.com/ArniDagur/python-adblock/blob/master/CHANGELOG.md',
'importlib-resources': 'https://importlib-resources.readthedocs.io/en/latest/history.html',
'dataclasses': 'https://github.com/ericvsmith/dataclasses#release-history',
'pip': 'https://pip.pypa.io/en/stable/news/',
'wheel': 'https://wheel.readthedocs.io/en/stable/news.html',
'setuptools': 'https://setuptools.readthedocs.io/en/latest/history.html',
}
@ -466,7 +469,8 @@ def build_requirements(name):
requirements=filename,
pre=comments['pre'])
with utils.gha_group('Freezing requirements'):
proc = run_pip(tmpdir, 'freeze', stdout=subprocess.PIPE)
args = ['--all'] if name == 'tox' else []
proc = run_pip(tmpdir, 'freeze', *args, stdout=subprocess.PIPE)
reqs = proc.stdout.decode('utf-8')
if utils.ON_CI:
print(reqs.strip())