mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Update requirementslib
- Fix ref parsing - Fixes #3214 Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
# -*- coding=utf-8 -*-
|
||||
__version__ = '1.2.6'
|
||||
__version__ = '1.2.7'
|
||||
|
||||
import logging
|
||||
import warnings
|
||||
|
||||
+2
-2
@@ -891,8 +891,8 @@ class VCSRequirement(FileRequirement):
|
||||
name = link.egg_fragment
|
||||
subdirectory = link.subdirectory_fragment
|
||||
ref = None
|
||||
if "@" in link.show_url and "@" in uri:
|
||||
uri, ref = uri.rsplit("@", 1)
|
||||
if "@" in link.path and "@" in uri:
|
||||
uri, _, ref = uri.rpartition("@")
|
||||
if relpath and "@" in relpath:
|
||||
relpath, ref = relpath.rsplit("@", 1)
|
||||
return cls(
|
||||
|
||||
Reference in New Issue
Block a user