cases:
-
  available:
    - A 1.0.0; depends B == 1.0.0, C == 1.0.0
    - B 1.0.0; depends D == 1.0.0
    - C 1.0.0; depends D == 2.0.0
    - D 1.0.0
    - D 2.0.0
  request:
    - install: A
  response:
    - error:
        code: 1
        stderr: >-
          Cannot install A and A because these package
          versions have conflicting dependencies.
        # TODO: Tweak this error message to make sense.
        # https://github.com/pypa/pip/issues/8495
  skip: legacy
