mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Ran across this edge case of the new release with PyJWT
This commit is contained in:
@@ -470,7 +470,9 @@ class Resolver:
|
||||
if install_req.name is None:
|
||||
return None # Or handle this edge case differently
|
||||
|
||||
comes_from = dependency_tree[install_req.name]
|
||||
comes_from = dependency_tree.get(install_req.name)
|
||||
if comes_from is None:
|
||||
return None # Or handle this edge case differently
|
||||
|
||||
# Check for recursion loop
|
||||
if install_req.name in checked_dependencies:
|
||||
|
||||
Reference in New Issue
Block a user