Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
env: downgrade importlib-metadata to fix pipeline on python3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Dec 28, 2020
1 parent 5225e97 commit 18b865b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Pipfile
Expand Up @@ -16,9 +16,12 @@ pytest-cov = "*"
pytest-timeout = "*"

# python3.5 compatibility
# https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
# fix pluggy/manager.py (v0.13.1) on python<3.8: import importlib_metadata => ModuleNotFoundError
importlib-metadata = {version = "<3", markers="python_version < '3.8'"}
# <2 for:
# > pkg_resources.VersionConflict: (importlib-metadata 2.1.1 (/home/travis/virtualenv/python3.5.10/lib/python3.5/site-packages),
# > Requirement.parse('importlib-metadata<2,>=0.12; python_version < "3.8"'))
# <3 for "python_requires" https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
importlib-metadata = {version = "<2,<3", markers="python_version < '3.8'"}
isort = "<5"
# workaround https://github.com/pytest-dev/pytest/issues/3953
pathlib2 = {version = "*", markers="python_version < '3.6'"}
Expand Down
8 changes: 4 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18b865b

Please sign in to comment.