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

78 lines
2 KiB
YAML
Raw Normal View History

2020-05-05 18:44:48 +02:00
base:
available:
- A 1.0.0; depends B == 1.0.0, B == 2.0.0
- B 1.0.0
- B 2.0.0
cases:
-
request:
- install: A
response:
2020-05-20 20:52:07 +02:00
- error:
code: 0
2020-07-27 16:36:55 +02:00
stderr: ['incompatible']
2020-10-30 02:27:15 +01:00
skip: legacy
2020-07-17 02:52:08 +02:00
# -- a good error message would be:
2020-05-05 18:59:16 +02:00
# A 1.0.0 has incompatible requirements B==1.0.0, B==2.0.0
2020-05-20 20:52:07 +02:00
2020-05-20 06:45:14 +02:00
-
request:
- install: ['B==1.0.0', 'B']
response:
- state:
- B 1.0.0
2020-10-30 02:27:15 +01:00
skip: legacy
2020-05-20 06:45:14 +02:00
# -- old error:
# Double requirement given: B (already in B==1.0.0, name='B')
2020-05-20 20:52:07 +02:00
2020-05-05 18:44:48 +02:00
-
request:
- install: ['B==1.0.0', 'B==2.0.0']
response:
- state: null
2020-05-20 20:52:07 +02:00
error:
code: 1
stderr: >-
Cannot install B==1.0.0 and B==2.0.0 because these
package versions have conflicting dependencies.
2020-10-30 02:27:15 +01:00
skip: legacy
2020-05-07 06:15:25 +02:00
# -- currently the (new resolver) error message is:
2020-05-05 18:59:16 +02:00
# Could not find a version that satisfies the requirement B==1.0.0
# Could not find a version that satisfies the requirement B==2.0.0
# No matching distribution found for b, b
# -- better would be:
# cannot install different version (1.0.0, 2.0.0) of package B at the
# same time.
2020-05-05 20:20:27 +02:00
# -- the old error message was actually better here:
# Double requirement given: B==2.0.0 (already in B==1.0.0, name='B')
2020-05-20 20:52:07 +02:00
2020-05-07 06:15:25 +02:00
-
request:
- install: B==1.5.0
response:
- state: null
2020-05-20 20:52:07 +02:00
error:
code: 1
stderr: 'no\s+matching\s+distribution'
2020-10-30 02:27:15 +01:00
skip: legacy
2020-05-07 06:15:25 +02:00
# -- currently (new resolver) error message is:
# Could not find a version that satisfies the requirement B==1.5.0
# No matching distribution found for b
# -- the old error message was actually better here:
# Could not find a version that satisfies the requirement B==1.5.0 (from versions: 1.0.0, 2.0.0)
# No matching distribution found for B==1.5.0
2020-05-20 20:52:07 +02:00
2020-05-06 05:00:38 +02:00
-
request:
- install: A==2.0
response:
- state: null
2020-05-20 20:52:07 +02:00
error:
code: 1
stderr: 'no\s+matching\s+distribution'
2020-10-30 02:27:15 +01:00
skip: legacy
2020-05-06 05:00:38 +02:00
# -- currently the error message is:
# Could not find a version that satisfies the requirement A==2.0
# No matching distribution found for a