Skip to content

Commit

Permalink
build: no longer use hashed pins #1592
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 26, 2023
1 parent 01a4743 commit b29dcb6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 85,7 @@ jobs:
set -xe
python -VV
python -m site
python -m pip install --require-hashes -r requirements/tox.pip
python -m pip install -r requirements/tox.pip
- name: "Run tox coverage for ${{ matrix.python-version }}"
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 155,7 @@ jobs:

- name: "Install tools"
run: |
python -m pip install --require-hashes -r requirements/kit.pip
python -m pip install -r requirements/kit.pip
- name: "Build wheels"
env:
Expand Down Expand Up @@ -192,7 192,7 @@ jobs:

- name: "Install tools"
run: |
python -m pip install --require-hashes -r requirements/kit.pip
python -m pip install -r requirements/kit.pip
- name: "Build sdist"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 81,7 @@ jobs:
- name: "Install dependencies"
run: |
python -m pip install --require-hashes -r requirements/tox.pip
python -m pip install -r requirements/tox.pip
- name: "Run tox"
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 46,7 @@ jobs:

- name: "Install dependencies"
run: |
python -m pip install --require-hashes -r requirements/tox.pip
python -m pip install -r requirements/tox.pip
- name: "Tox lint"
run: |
Expand Down Expand Up @@ -97,7 97,7 @@ jobs:
set -xe
python -VV
python -m site
python -m pip install --require-hashes -r requirements/tox.pip
python -m pip install -r requirements/tox.pip
- name: "Tox doc"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 73,7 @@ jobs:
set -xe
python -VV
python -m site
python -m pip install --require-hashes -r requirements/tox.pip
python -m pip install -r requirements/tox.pip
# For extreme debugging:
# python -c "import urllib.request as r; exec(r.urlopen('https://bit.ly/pydoctor').read())"
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 25,11 @@ Unreleased
dramatically smaller. This closes `issue 1584`_ thanks to `Oleh Krehel
<pull 1587_>`_.

- Development dependencies no longer use hashed pins, closing `issue 1592`_.

.. _issue 1584: https://github.com/nedbat/coveragepy/issues/1584
.. _pull 1587: https://github.com/nedbat/coveragepy/pull/1587
.. _issue 1592: https://github.com/nedbat/coveragepy/issues/1592


.. scriv-start-here
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 85,7 @@ metasmoke:

.PHONY: upgrade

PIP_COMPILE = pip-compile --upgrade --allow-unsafe --generate-hashes --resolver=backtracking
PIP_COMPILE = pip-compile --upgrade --allow-unsafe --resolver=backtracking
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: ## Update the *.pip files with the latest packages satisfying *.in files.
pip install -q -r requirements/pip-tools.pip
Expand Down

0 comments on commit b29dcb6

Please sign in to comment.