From 9931c8a6c5f84ca46521e8d8f66d58a4c88a9890 Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 22 Jun 2023 07:58:35 -0400 Subject: [PATCH] USe new tox and update githubworkflows This patch updates tox to the latest and updates the github workflows to use tox-gh, which is claimed to work with github parallel tox runs --- .github/workflows/master-build.yml | 2 +- .github/workflows/python.yml | 2 +- dev-requirements.in | 2 +- dev-requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index 078ba3f..b2a1613 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox tox-gh>=1.2 - name: Test with tox run: tox diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0dd8f68..d77a751 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -17,6 +17,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox tox-gh>=1.2 - name: Test with tox run: tox diff --git a/dev-requirements.in b/dev-requirements.in index 1f021ec..9134495 100644 --- a/dev-requirements.in +++ b/dev-requirements.in @@ -3,7 +3,7 @@ isort mypy pep8-naming Sphinx -tox==4.3.5 +tox # Twine is used for uploading packages to pypi # but it induces an install of cryptography # This is sucky for rpi systems. diff --git a/dev-requirements.txt b/dev-requirements.txt index d85aacb..1cfffda 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -72,7 +72,7 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx tokenize-rt==5.1.0 # via add-trailing-comma, pyupgrade toml==0.10.2 # via autoflake tomli==2.0.1 # via black, build, coverage, mypy, pyproject-api, pyproject-hooks, pytest, tox -tox==4.3.5 # via -r dev-requirements.in +tox==4.6.3 # via -r dev-requirements.in typing-extensions==4.6.3 # via libcst, mypy, typing-inspect typing-inspect==0.9.0 # via libcst unify==0.5 # via gray