Comment 1 for bug 1788808

Revision history for this message
Eric K (ekcs) wrote :

Hi Thomas thanks for the report!

Looks like both failures are caused by a Babel version (2.4.0) that conflicts with Requirements [1]. 2.4.0 is blocked in global-requirements [2].

This line is particularly picky about meeting all the requirements: https://github.com/openstack/congress/blob/8.0.0.0rc1/congress/dse2/dse_node.py#L534

Would you suggest that we modify the code to tolerate this requirement mismatch? Thanks again!

[1]
Failed to load driver endpoint test=congress.tests.test_custom_driver:TestCustomDriver
Traceback (most recent call last):
  File "/<<BUILDDIR>>/congress-8.0.0~rc1+dfsg1/congress/dse2/dse_node.py", line 534, in load_custom_drivers
    ep_plugin = ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2317, in load
    self.require(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2340, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 779, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (Babel 2.4.0 (/usr/lib/python3/dist-packages), Requirement.parse('Babel!=2.4.0,>=2.3.4'))

[2] https://github.com/openstack/requirements/blob/stable/rocky/global-requirements.txt#L11