mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix resolution of direct url subdependencies
- Fix resolution of direct url VCS subdependencies (e.g. top level dep depends on a VCS direct url subdependency) which rely on subdirectory resolution - Fixes #3976 Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fixed a bug which prevented resolution of direct URL dependencies which have PEP508 style direct url VCS sub-dependencies with subdirectories.
|
||||
@@ -997,6 +997,8 @@ class Resolver(object):
|
||||
for req, ireq in reqs:
|
||||
if (req.vcs and req.editable and not req.is_direct_url):
|
||||
continue
|
||||
elif req.normalized_name in self.skipped.keys():
|
||||
continue
|
||||
collected_hashes = self.collect_hashes(ireq)
|
||||
req = req.add_hashes(collected_hashes)
|
||||
if not collected_hashes and self._should_include_hash(ireq):
|
||||
|
||||
Reference in New Issue
Block a user