Skip to content

Commit

Permalink
Make tox actions work on Debian 10 (matrix-org#7703)
Browse files Browse the repository at this point in the history
- Remove the requirement for a specific version of Python
- Move dep comment to a separate line, Tox 3.7.0 like trailing ones

Signed-off-by: Dagfinn Ilmari Mannsåker <[email protected]>
  • Loading branch information
ilmari authored Jun 25, 2020
1 parent 0e0a281 commit b099ef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/7703.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make Tox actions work on Debian 10.
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
envlist = packaging, py35, py36, py37, py38, check_codestyle, check_isort

[base]
basepython = python3.7
deps =
mock
python-subunit
Expand Down Expand Up @@ -120,11 +119,11 @@ commands =

[testenv:check_codestyle]
skip_install = True
basepython = python3.6
deps =
flake8
flake8-comprehensions
black==19.10b0 # We pin so that our tests don't start failing on new releases of black.
# We pin so that our tests don't start failing on new releases of black.
black==19.10b0
commands =
python -m black --check --diff .
/bin/sh -c "flake8 synapse tests scripts scripts-dev synctl {env:PEP8SUFFIX:}"
Expand All @@ -140,7 +139,6 @@ skip_install = True
deps = towncrier>=18.6.0rc1
commands =
python -m towncrier.check --compare-with=origin/develop
basepython = python3.6

[testenv:check-sampleconfig]
commands = {toxinidir}/scripts-dev/generate_sample_config --check
Expand Down

0 comments on commit b099ef0

Please sign in to comment.