Public bug reported:

[Impact]
keystoneauth1 is no usable without installing python3-oslo.utils

[Test Case]
sudo apt install python3-keystoneauth1

python3 -c "import keystoneauth1._utils"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/keystoneauth1/_utils.py", line 18, in 
<module>
    from oslo_utils import timeutils
ModuleNotFoundError: No module named 'oslo_utils'

[ Where problems could occur ]
The revised patch directly uses the datetime API rather than using the 
oslo.utils provided helper.  Code is well covered as part of unit testing.

[Original Bug Report]
Fix for Python 3.12 datetime changes introduced runtime dependency on 
python3-oslo.utils which is not expressed as a dependency.

In addition, the upstream project explicitly does not depend on the
oslo.* packages as these are intended for service usage rather than for
CLI/SDK tools which is the intended audience for this package.

** Affects: python-keystoneauth1 (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: python-keystoneauth1 (Ubuntu Noble)
     Importance: Medium
         Status: Triaged

** Also affects: python-keystoneauth1 (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: python-keystoneauth1 (Ubuntu)
       Status: New => Invalid

** Changed in: python-keystoneauth1 (Ubuntu Noble)
       Status: New => Triaged

** Changed in: python-keystoneauth1 (Ubuntu Noble)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2088451

Title:
  [SRU] datetime fix introduces runtime dependency on oslo.utils

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keystoneauth1/+bug/2088451/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to