Cannot install -r /home/zuul/src/opendev.org/openstack/nova/requirements.txt because these package versions have conflicting dependencies.

Bug #1931864 reported by Lee Yarwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

https://zuul.opendev.org/t/openstack/build/7590138a20b04fed99e931e1cc698a75

ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/nova/requirements.txt (line 33) because these package versions have conflicting dependencies.

The conflict is caused by:
    websockify 0.9.0 depends on numpy
    The user requested (constraint) numpy===1.19.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Tags: gate-failure
Revision history for this message
Lee Yarwood (lyarwood) wrote (last edit ):

Another weird example of this where we clearly meet the requirement but pip fails anyway:

https://zuul.opendev.org/t/openstack/build/cbf9affc449848f9910eaab857c5df74/log/job-output.txt#29072

2021-06-14 17:43:15.964014 | controller | ERROR: Cannot install cinder-tempest-plugin==1.4.1.dev16 because these package versions have conflicting dependencies.
2021-06-14 17:43:15.964301 | controller |
2021-06-14 17:43:15.964340 | controller | The conflict is caused by:
2021-06-14 17:43:15.964414 | controller | cinder-tempest-plugin 1.4.1.dev16 depends on tempest>=17.1.0
2021-06-14 17:43:15.964457 | controller | The user requested (constraint) tempest===27.0.0
2021-06-14 17:43:15.964493 | controller |

summary: - openstack-tox-py36 - Cannot install websockify>=0.9.0 because these
+ Cannot install -r
+ /home/zuul/src/opendev.org/openstack/nova/requirements.txt because these
package versions have conflicting dependencies.
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Another variant:

2021-06-15 16:15:57.066895 | controller | ERROR: Cannot install paramiko>=2.7.0 because these package versions have conflicting dependencies.
2021-06-15 16:15:57.066917 | controller |
2021-06-15 16:15:57.066932 | controller | The conflict is caused by:
2021-06-15 16:15:57.066943 | controller | The user requested paramiko>=2.7.0
2021-06-15 16:15:57.066954 | controller | The user requested (constraint) paramiko===2.7.2

https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_9c5/796269/3/check/tempest-ipv6-only/9c52a7c/job-output.txt

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Elod noticed that all the hits are from the limestone node provider.

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Another hit with another package:

2021-06-16 04:58:20.922598 | ubuntu-focal | ERROR: Cannot install Routes>=2.3.1 because these package versions have conflicting dependencies.
2021-06-16 04:58:20.922610 | ubuntu-focal |
2021-06-16 04:58:20.922622 | ubuntu-focal | The conflict is caused by:
2021-06-16 04:58:20.922646 | ubuntu-focal | The user requested Routes>=2.3.1
2021-06-16 04:58:20.922662 | ubuntu-focal | The user requested (constraint) routes===2.5.1

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_5a7/796269/3/check/nova-tox-functional-py38/5a7ba9c/job-output.txt

again from limestone

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Another hit. Still limestone.

2021-06-16 05:49:45.388723 | ubuntu-bionic | ERROR: Cannot install GitPython because these package versions have conflicting dependencies.
2021-06-16 05:49:45.388737 | ubuntu-bionic |
2021-06-16 05:49:45.388749 | ubuntu-bionic | The conflict is caused by:
2021-06-16 05:49:45.388762 | ubuntu-bionic | gitdb 4.0.7 depends on smmap<5 and >=3.0.1
2021-06-16 05:49:45.388775 | ubuntu-bionic | The user requested (constraint) smmap===4.0.0

https://1b38eb07519f5fe2ed36-da9f1bb46fd216e97fa5e10d4af58222.ssl.cf5.rackcdn.com/796255/2/check/openstack-tox-py36/3c59c9d/job-output.txt

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

limestone is now disable due to mirror issues https://review.opendev.org/c/openstack/project-config/+/796590

Revision history for this message
Lee Yarwood (lyarwood) wrote :

Marking as invalid as it was fixed elsewhere within our CI infra and not within Nova.

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.