From fffa64f344c4bf5715d7925103e7ecacc72f8120 Mon Sep 17 00:00:00 2001 From: mayeut Date: Fri, 7 Jan 2022 01:06:39 +0100 Subject: [PATCH 1/3] fix(tests): bump virtualenv version used in test_dependency_constraints_file Versions before 20.11.2 did not respect pinned versions when a periodic/manual update cache exists. --- test/test_dependency_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_dependency_versions.py b/test/test_dependency_versions.py index 18589f8f..90854a86 100644 --- a/test/test_dependency_versions.py +++ b/test/test_dependency_versions.py @@ -119,7 +119,7 @@ def test_dependency_constraints_file(tmp_path, build_frontend_env): "pip": "20.0.2", "setuptools": "53.0.0", "wheel": "0.34.2", - "virtualenv": "20.0.35", + "virtualenv": "20.11.2", } constraints_file = tmp_path / "constraints file.txt" From 4cb90fcfe4068146cf8dfd16a2460d7228be5ab2 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 8 Jan 2022 15:07:22 +0100 Subject: [PATCH 2/3] fix(ci): always upgrade pip on appveyor pip was too old to download windows abi3 wheels leading to pynacl failing to build from sources --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 192c8b9b..fbea6b73 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,6 +18,7 @@ init: if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) { $env:PYTEST_ADDOPTS='-k "unit_test or test_0_basic" --suppress-no-test-exit-code' } + python -m pip install -U pip install: python -m pip install -e ".[dev]" pytest-custom-exit-code From 55eb1ca7b5cfd69815e585f49e0c01b4585216b1 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 9 Jan 2022 12:17:51 +0100 Subject: [PATCH 3/3] fix(ci): always upgrade pip on travis-ci --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42f20e41..7115e5d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,8 @@ jobs: arch: s390x env: PYTHON=python -install: $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code +install: +- $PYTHON -m pip install -U pip +- $PYTHON -m pip install -e ".[dev]" pytest-custom-exit-code script: $PYTHON ./bin/run_tests.py