[Bug 2088451] Re: [SRU] datetime fix introduces runtime dependency on oslo.utils

Timo Aaltonen 2088451 at bugs.launchpad.net
Tue Dec 17 14:20:13 UTC 2024


Hello James, or anyone else affected,

Accepted python-keystoneauth1 into noble-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/python-
keystoneauth1/5.6.0-0ubuntu1.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

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

** Tags added: verification-needed verification-needed-noble

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

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

Status in python-keystoneauth1 package in Ubuntu:
  Invalid
Status in python-keystoneauth1 source package in Noble:
  Fix Committed

Bug description:
  [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.  Issues might occur in reverse dependencies - this will be detected in autopkgtests.

  [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.

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




More information about the Ubuntu-openstack-bugs mailing list