From 65aaddadd8469d68906e66f45f5bb5a14997840d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 12 Sep 2021 22:19:38 +0200 Subject: [PATCH] build(deps): pin click<7.1 (#99) * build(deps): pin click<7.1 Fixes https://github.com/Vimjas/covimerage/issues/95. * ci: fix py34 --- .circleci/config.yml | 8 +++++--- setup.py | 2 +- tox.ini | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 475f2b8..2b6593f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ # # Check https://circleci.com/docs/2.0/language-python/ for more details # -version: 2 +version: 2.1 common: &common working_directory: ~/repo @@ -96,7 +96,6 @@ jobs: TOXENV=checkqa workflows: - version: 2 test: jobs: - py38 @@ -105,7 +104,10 @@ workflows: - py37-click6 - py36 - py35 - - py34 + - py34: + pre-steps: + - run: sudo pip install -U pip==19.1.1 + - run: pip install --user setuptools==42.0.2 virtualenv==20.4.3 - py27 - checkqa diff --git a/setup.py b/setup.py index 4a71a44..a906601 100755 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ def run(self): ], install_requires=[ 'attrs>=16.1.0', - 'click', + 'click<7.1', 'coverage<5.0a6', ], extras_require={ diff --git a/tox.ini b/tox.ini index d743983..ab0f579 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,8 @@ deps = coverage: pytest-cov coveragepy4: coverage<5 coveragepy5: coverage==5.0a5 + # Use blueyed/pytest, pytest itself would pull in incompatible attrs. + py34: pytest @ git+https://github.com/blueyed/pytest@my-4.6-maintenance [testenv:checkqa] extras = qa