diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-11-28 13:00:28 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-11-28 19:48:31 -0500 |
commit | 73b63060c3de39453f2af57db5eb9610c0f39625 (patch) | |
tree | 2e85dd0abc144ca1a630ae572b1b60e8d3a0d198 | |
parent | 52e361421322414c5a30dc490805195bfb402ea7 (diff) | |
download | python-coveragepy-git-73b63060c3de39453f2af57db5eb9610c0f39625.tar.gz |
Keep version pins in .pip files
-rw-r--r-- | .github/workflows/kit.yml | 2 | ||||
-rw-r--r-- | .github/workflows/testsuite.yml | 1 | ||||
-rw-r--r-- | requirements/ci.pip | 3 | ||||
-rw-r--r-- | requirements/pins.pip | 7 |
4 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index 167199cd..94ed23e1 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -32,7 +32,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.7.0 + python -m pip install -c requirements/pins.pip cibuildwheel - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 62de408a..c94f4e5f 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -43,6 +43,7 @@ jobs: python -VV python -m site python -m pip install -r requirements/ci.pip + python -m pip install -c requirements/pins.pip tox-gh-actions - name: "Run tox for ${{ matrix.python-version }}" shell: bash diff --git a/requirements/ci.pip b/requirements/ci.pip index c4fdbab5..060d1de3 100644 --- a/requirements/ci.pip +++ b/requirements/ci.pip @@ -1,8 +1,7 @@ # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt -# Things CI servers need to succeeed. +# Things CI servers need for running tests. -r tox.pip -r pytest.pip -r wheel.pip -tox-gh-actions==2.2.0 diff --git a/requirements/pins.pip b/requirements/pins.pip new file mode 100644 index 00000000..223e7cbd --- /dev/null +++ b/requirements/pins.pip @@ -0,0 +1,7 @@ +# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 +# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt + +# Version pins, for use as a constraints file. + +cibuildwheel==1.7.0 +tox-gh-actions==2.2.0 |