mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 14:50:16 +00:00
Vendor: more disltlib import fixes
This commit is contained in:
+2
-2
@@ -13,8 +13,8 @@ from typing import Sequence
|
||||
import pipenv.vendor.attr as attr
|
||||
import pipenv.patched.pip._vendor.requests as requests
|
||||
import pipenv.vendor.vistir as vistir
|
||||
from pipenv.vendor.distlib import wheel
|
||||
from pipenv.vendor.distlib.metadata import Metadata
|
||||
from pipenv.patched.pip._vendor.distlib import wheel
|
||||
from pipenv.patched.pip._vendor.distlib.metadata import import Metadata
|
||||
from pipenv.patched.pip._vendor.packaging.markers import Marker
|
||||
from pipenv.patched.pip._vendor.packaging.requirements import Requirement as PackagingRequirement
|
||||
from pipenv.patched.pip._vendor.packaging.specifiers import Specifier, SpecifierSet
|
||||
|
||||
@@ -87,15 +87,20 @@ GLOBAL_REPLACEMENT = [
|
||||
"from platformdirs import user_cache_dir",
|
||||
"from pipenv.patched.pip._vendor.platformdirs import user_cache_dir",
|
||||
),
|
||||
(
|
||||
(
|
||||
"from distlib import",
|
||||
"from pipenv.patched.pip._vendor.distlib import"
|
||||
),
|
||||
(
|
||||
(
|
||||
"from distlib.metadata",
|
||||
"from pipenv.patched.pip._vendor.distlib.metadata import"
|
||||
),
|
||||
( "import colorama",
|
||||
(
|
||||
"from distlib.wheel import",
|
||||
"from pipenv.patched.pip._vendor.distlib.wheel import"
|
||||
),
|
||||
(
|
||||
"import colorama",
|
||||
"from pipenv.patched.pip._vendor import colorama"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user