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 bbc06ca commit a75ccf3
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 @@ -18,7 +18,9 @@ tox>=2.5.0
# 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'

# PEP517 package builder, used in Makefile
build>=0.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 @@ -162,7 +162,8 @@ requests==2.31.0; python_version >= '3.7'
tox==2.5.0

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

# PEP517 package builder, used in Makefile
build==0.5.0
Expand Down

0 comments on commit a75ccf3

Please sign in to comment.