Skip to content

Commit

Permalink
Fix windows CI for 3.8 and the outdated command that was refactored t…
Browse files Browse the repository at this point in the history
…o remove pkg_resources. (#6146)

* try 7.1.0 of importlib-metadata

* Update news fragment
  • Loading branch information
matteius authored May 24, 2024
1 parent b40fd2d commit dff6e9c
Show file tree
Hide file tree
Showing 10 changed files with 290 additions and 153 deletions.
2 changes: 1 addition & 1 deletion news/6139.bugfix.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
``pipenv`` converts off ``pkg_resources`` API usages. This necessitated also vendoring in:
* latest ``pipdeptree==2.18.1`` which also converted off ``pkg_resources``
* ``importlib-metadata==6.5.1`` to continue supporting python 3.8 and 3.9
* ``importlib-metadata==7.1.0`` to continue supporting python 3.8 and 3.9
* ``packaging==24.0`` since the packaging we were utilizing in pip's _vendor was insufficient for this conversion.
2 changes: 1 addition & 1 deletion pipenv/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pipenv.utils.indexes import prepare_pip_source_args
from pipenv.utils.processes import subprocess_run
from pipenv.utils.shell import temp_environ
from pipenv.vendor.importlib_metadata._py39compat import normalized_name
from pipenv.vendor.importlib_metadata.compat.py39 import normalized_name
from pipenv.vendor.pythonfinder.utils import is_in_path

if sys.version_info < (3, 10):
Expand Down
Loading

0 comments on commit dff6e9c

Please sign in to comment.