Skip to content

Commit 604d17d

Browse files
Pin to importlib-metadata==4.13.0, because it's not supported in Python3.7 - Tests are failing
Although it's in the requirements-dev.txt it's not used in flake8, bandit or doc8 Signed-off-by: Martyn <martyn.bristow@thermofisher.com>
1 parent 617bfde commit 604d17d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tox.ini

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ linting_targets = atlassian/ examples/ tests/
33

44
[tox]
55
envlist = py3,flake8,black,mypy,bandit,doc8
6-
skip_missing_interpreters = True
76

87
[testenv]
98
deps =
@@ -21,7 +20,8 @@ parallel_show_output = true
2120
[testenv:flake8]
2221
basepython = python3
2322
skip_install = true
24-
deps =
23+
deps =
24+
importlib-metadata==4.13.0
2525
flake8
2626
flake8-no-fstring
2727
commands = flake8 {[base]linting_targets}
@@ -47,13 +47,16 @@ commands = mypy atlassian/
4747
[testenv:bandit]
4848
basepython = python3
4949
skip_install = true
50-
deps = bandit
50+
deps =
51+
importlib-metadata==4.13.0
52+
bandit
5153
commands = bandit -r atlassian/
5254

5355
[testenv:doc8]
5456
basepython = python3
5557
skip_install = true
5658
deps =
59+
importlib-metadata==4.13.0
5760
sphinx
5861
doc8
5962
commands = doc8 --ignore-path docs/_build/ docs/

0 commit comments

Comments
 (0)