1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

add yaml test

This commit is contained in:
Ilan Schnell 2020-05-05 21:44:07 -05:00 committed by Tzu-ping Chung
parent ab5cb8ebe1
commit 6c4b06295d

28
tests/yaml/conflict_2.yml Normal file
View file

@ -0,0 +1,28 @@
# Tzu-ping mentioned this example
base:
available:
- name: virtualenv
version: 20.0.2
depends: ['six>=1.12.0,<2']
- six 1.11
- six 1.12
- six 1.13
cases:
-
request:
- install: virtualenv
response:
- state:
- six 1.13
- virtualenv 20.0.2
-
request:
- install: ['six<1.12', 'virtualenv==20.0.2']
response:
- state: null
skip: true
# -- currently the error message is:
# Could not find a version that satisfies the requirement six<1.12
# Could not find a version that satisfies the requirement six<2,>=1.12.0 (from virtualenv)
# No matching distribution found for six, six