diff --git a/requirements-dev.txt b/requirements-dev.txt index d4ce9ebb7..711ff46d6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -13,4 +13,4 @@ python-magic # On October 4, 2022 importlib-metadata released importlib-metadata 5.0.0 and in version 5.0.0 # They have Deprecated EntryPoints and that's why you are facing this error. -importlib-metadata==4.13.0 \ No newline at end of file +importlib-metadata<=4.13.0 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 24004721c..f11bf45cc 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,8 @@ parallel_show_output = true [testenv:flake8] basepython = python3 skip_install = true -deps = +deps = + importlib-metadata<=4.13.0 flake8 flake8-no-fstring commands = flake8 {[base]linting_targets} @@ -47,13 +48,16 @@ commands = mypy atlassian/ [testenv:bandit] basepython = python3 skip_install = true -deps = bandit +deps = + importlib-metadata<=4.13.0 + bandit commands = bandit -r atlassian/ [testenv:doc8] basepython = python3 skip_install = true deps = + importlib-metadata<=4.13.0 sphinx doc8 commands = doc8 --ignore-path docs/_build/ docs/