summaryrefslogtreecommitdiff
path: root/scripts/dev/recompile_requirements.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-26 20:02:27 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-26 20:43:52 +0100
commit922dca039b8d88bbca6ad45c53b6aceac858784e (patch)
treeb758bafa96a3c48c66ae91f47682a1933e387991 /scripts/dev/recompile_requirements.py
parentab01b3970f9a60d9788094872d573a447a74503e (diff)
downloadqutebrowser-922dca039b8d88bbca6ad45c53b6aceac858784e.tar.gz
qutebrowser-922dca039b8d88bbca6ad45c53b6aceac858784e.zip
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.
Diffstat (limited to 'scripts/dev/recompile_requirements.py')
-rw-r--r--scripts/dev/recompile_requirements.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py
index d227ac28e..239a0fa75 100644
--- a/scripts/dev/recompile_requirements.py
+++ b/scripts/dev/recompile_requirements.py
@@ -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())