diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-12-03 15:28:04 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-12-03 15:28:04 +0100 |
commit | a580079206b5e84801eb6c195264ac61f93962bd (patch) | |
tree | 206450a2609b464f9a6c10770426316a97c0f35b /scripts | |
parent | 04c71c4d44690450eecb715e9792e38bed2c9348 (diff) | |
download | qutebrowser-a580079206b5e84801eb6c195264ac61f93962bd.tar.gz qutebrowser-a580079206b5e84801eb6c195264ac61f93962bd.zip |
scripts: Handle packaging dependencies via tox
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/build_release.py | 7 | ||||
-rw-r--r-- | scripts/dev/recompile_requirements.py | 11 |
2 files changed, 11 insertions, 7 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 2b3aff4b4..ddad1b607 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -605,12 +605,6 @@ def pypi_upload(artifacts): check=True) -def upgrade_sdist_dependencies(): - """Make sure we have the latest tools for an sdist release.""" - subprocess.run([sys.executable, '-m', 'pip', 'install', '-U', 'twine', - 'pip', 'wheel', 'setuptools'], check=True) - - def main(): parser = argparse.ArgumentParser() parser.add_argument('--skip-docs', action='store_true', @@ -668,7 +662,6 @@ def main(): elif sys.platform == 'darwin': artifacts = build_mac(gh_token=gh_token, debug=args.debug) else: - upgrade_sdist_dependencies() test_makefile() artifacts = build_sdist() upload_to_pypi = True diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py index 1b9759eb8..ddda66a29 100644 --- a/scripts/dev/recompile_requirements.py +++ b/scripts/dev/recompile_requirements.py @@ -190,6 +190,17 @@ CHANGELOG_URLS = { 'future': 'https://python-future.org/whatsnew.html', 'pefile': 'https://github.com/erocarrera/pefile/commits/master', 'Deprecated': 'https://github.com/tantale/deprecated/blob/master/CHANGELOG.rst', + 'SecretStorage': 'https://github.com/mitya57/secretstorage/blob/master/changelog', + 'bleach': 'https://github.com/mozilla/bleach/blob/main/CHANGES', + 'jeepney': 'https://gitlab.com/takluyver/jeepney/-/blob/master/docs/release-notes.rst', + 'keyring': 'https://github.com/jaraco/keyring/blob/main/CHANGES.rst', + 'pkginfo': 'https://bazaar.launchpad.net/~tseaver/pkginfo/trunk/view/head:/CHANGES.txt', + 'readme-renderer': 'https://github.com/pypa/readme_renderer/blob/main/CHANGES.rst', + 'requests-toolbelt': 'https://github.com/requests/toolbelt/blob/master/HISTORY.rst', + 'rfc3986': 'https://rfc3986.readthedocs.io/en/latest/release-notes/index.html', + 'tqdm': 'https://tqdm.github.io/releases/', + 'twine': 'https://twine.readthedocs.io/en/stable/changelog.html', + 'webencodings': 'https://github.com/gsnedders/python-webencodings/commits/master', } |