Skip to content

Instantly share code, notes, and snippets.

@smarnach
Created August 4, 2025 14:51
Show Gist options
  • Select an option

  • Save smarnach/75c12d912dd8a8b551e81d74eb28863e to your computer and use it in GitHub Desktop.

Select an option

Save smarnach/75c12d912dd8a8b551e81d74eb28863e to your computer and use it in GitHub Desktop.
Issue with pip-tools version 7.5.0
$ cat requirements.in
--extra-index-url https://www.example.com/
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install pip-tools==7.4.1
Collecting pip-tools==7.4.1
Downloading pip_tools-7.4.1-py3-none-any.whl.metadata (26 kB)
Collecting build>=1.0.0 (from pip-tools==7.4.1)
Downloading build-1.3.0-py3-none-any.whl.metadata (5.6 kB)
Collecting click>=8 (from pip-tools==7.4.1)
Downloading click-8.2.1-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: pip>=22.2 in ./venv/lib/python3.12/site-packages (from pip-tools==7.4.1) (24.0)
Collecting pyproject-hooks (from pip-tools==7.4.1)
Downloading pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
Collecting setuptools (from pip-tools==7.4.1)
Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB)
Collecting wheel (from pip-tools==7.4.1)
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Collecting packaging>=19.1 (from build>=1.0.0->pip-tools==7.4.1)
Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Downloading pip_tools-7.4.1-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 1.8 MB/s eta 0:00:00
Downloading build-1.3.0-py3-none-any.whl (23 kB)
Downloading click-8.2.1-py3-none-any.whl (102 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.2/102.2 kB 1.6 MB/s eta 0:00:00
Downloading pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.7 MB/s eta 0:00:00
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 kB 1.5 MB/s eta 0:00:00
Downloading packaging-25.0-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.5/66.5 kB 1.7 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools, pyproject-hooks, packaging, click, build, pip-tools
Successfully installed build-1.3.0 click-8.2.1 packaging-25.0 pip-tools-7.4.1 pyproject-hooks-1.2.0 setuptools-80.9.0 wheel-0.45.1
(venv) $ pip-compile --generate-hashes
WARNING: --strip-extras is becoming the default in version 8.0.0. To silence this warning, either use --strip-extras to opt into the new default or use --no-strip-extras to retain the existing behavior.
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --generate-hashes
#
--extra-index-url https://www.example.com/
(venv) $ pip install pip-tools==7.5.0
Collecting pip-tools==7.5.0
Downloading pip_tools-7.5.0-py3-none-any.whl.metadata (26 kB)
Requirement already satisfied: build>=1.0.0 in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (1.3.0)
Requirement already satisfied: click>=8 in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (8.2.1)
Requirement already satisfied: pip>=22.2 in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (24.0)
Requirement already satisfied: pyproject_hooks in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (1.2.0)
Requirement already satisfied: setuptools in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (80.9.0)
Requirement already satisfied: wheel in ./venv/lib/python3.12/site-packages (from pip-tools==7.5.0) (0.45.1)
Requirement already satisfied: packaging>=19.1 in ./venv/lib/python3.12/site-packages (from build>=1.0.0->pip-tools==7.5.0) (25.0)
Downloading pip_tools-7.5.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.1/65.1 kB 1.9 MB/s eta 0:00:00
Installing collected packages: pip-tools
Attempting uninstall: pip-tools
Found existing installation: pip-tools 7.4.1
Uninstalling pip-tools-7.4.1:
Successfully uninstalled pip-tools-7.4.1
Successfully installed pip-tools-7.5.0
(venv) $ pip-compile --generate-hashes
WARNING: --strip-extras is becoming the default in version 8.0.0. To silence this warning, either use --strip-extras to opt into the new default or use --no-strip-extras to retain the existing behavior.
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --generate-hashes
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment