Skip to content

Pin to importlib-metadata==4.13.0, because it's not supported in Python3.7 - Tests are failing #1058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
importlib-metadata<=4.13.0
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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/