mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Explicitly cause dependency resolution failure in the test
This also moves to using projects that are more closely related to this one as the examples.
This commit is contained in:
@@ -450,8 +450,12 @@ tablib = "<0.12"
|
||||
with open(p.pipfile_path, 'w') as f:
|
||||
contents = """
|
||||
[packages]
|
||||
requests = {git = "https://github.com/requests/requests.git", editable = true}
|
||||
"oslo.utils" = "==1.4.0"
|
||||
pypa-docs-theme = {git = "https://github.com/pypa/pypa-docs-theme", editable = true}
|
||||
|
||||
# This version of requests depends on idna<2.6, forcing dependency resolution
|
||||
# failure
|
||||
requests = "==2.16.0"
|
||||
idna = "==2.6.0"
|
||||
""".strip()
|
||||
f.write(contents)
|
||||
c = p.pipenv('install')
|
||||
|
||||
Reference in New Issue
Block a user