Skip to content

Commit

Permalink
Resolved dependency conflict with importlib-metadata on Python 3.7
Browse files Browse the repository at this point in the history
Details:

* Increased the minimum version of virtualenv to 20.15.0 for Python
  <= 3.11 in order to resolve the following dependency conflict:

    The user requested importlib-metadata<5 and >=4.8.3
    build 0.5.0 depends on importlib-metadata>=0.22; python_version < "3.8"
    virtualenv 20.1.0 depends on importlib-metadata<3 and >=0.12;
      python_version < "3.8"
    The user requested (constraint) importlib-metadata==4.8.3

Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Oct 31, 2023
1 parent b9b69db commit 202de80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ packaging>=21.0; python_version >= '3.6'
# Virtualenv
# build requires virtualenv.cli_run which was added in 20.1
# virtualenv 20.0 requires six<2,>=1.12.0
virtualenv>=20.1.0
# virtualenv 20.16.0 removed support for Python<3.6
virtualenv>=20.15.0; python_version <= '3.11'
virtualenv>=20.23.0; python_version >= '3.12'

# Coverage reporting (no imports, invoked via coveralls script):
coverage>=5.0
Expand Down
3 changes: 2 additions & 1 deletion minimum-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ packaging==20.5; python_version <= '3.5'
packaging==21.0; python_version >= '3.6'

# Virtualenv
virtualenv==20.1.0
virtualenv==20.15.0; python_version <= '3.11'
virtualenv==20.23.0; python_version >= '3.12'

# Coverage reporting (no imports, invoked via coveralls script):
coverage==5.0
Expand Down

0 comments on commit 202de80

Please sign in to comment.