mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Issue 5179 requirementslib==1.6.8 (#5183)
* Vendor in requirementslib==1.6.8
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Vendor in latest ``requirementslib`` for fix to lock when using editable VCS module with specific ``@`` git reference.
|
||||
+1
-1
@@ -10,7 +10,7 @@ from .models.lockfile import Lockfile
|
||||
from .models.pipfile import Pipfile
|
||||
from .models.requirements import Requirement
|
||||
|
||||
__version__ = "1.6.7"
|
||||
__version__ = "1.6.8"
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
+4
-1
@@ -567,7 +567,10 @@ def split_ref_from_uri(uri):
|
||||
path = parsed.path if parsed.path else ""
|
||||
scheme = parsed.scheme if parsed.scheme else ""
|
||||
ref = None
|
||||
if scheme != "file" and (re.match("^.*@[^/@]*$", path) or path.count("@") >= 2):
|
||||
schema_is_filelike = scheme in ("", "file")
|
||||
if (not schema_is_filelike and "@" in path) or (
|
||||
schema_is_filelike and (re.match("^.*@[^/@]*$", path) or path.count("@") >= 2)
|
||||
):
|
||||
path, _, ref = path.rpartition("@")
|
||||
parsed = parsed._replace(path=path)
|
||||
return (parsed.url, ref)
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ pyparsing==3.0.9
|
||||
python-dateutil==2.8.2
|
||||
python-dotenv==0.19.0
|
||||
pythonfinder==1.2.10
|
||||
requirementslib==1.6.7
|
||||
requirementslib==1.6.8
|
||||
shellingham==1.4.0
|
||||
six==1.16.0
|
||||
termcolor==1.1.0
|
||||
|
||||
Reference in New Issue
Block a user