Bug 2297674 - python-oslo-config fails to build in Rwahide with Python 3.13
Summary: python-oslo-config fails to build in Rwahide with Python 3.13
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-oslo-config
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Joel Capitao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13 F41FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-07-13 08:00 UTC by Miro Hrončok
Modified: 2024-11-06 03:51 UTC (History)
5 users (show)

Fixed In Version: python-oslo-config-9.6.0-1.fc41
Clone Of:
Environment:
Last Closed: 2024-11-06 03:51:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2024-07-13 08:00:56 UTC
Building python-oslo-config-9.4.0-4.fc41 with tests enabled fails:


==============================
Failed 1 tests - output below:
==============================
oslo_config.tests.test_cfg.HelpTestCase.test_print_help_with_deprecated
-----------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/builddir/build/BUILD/python-oslo-config-9.4.0-build/oslo.config-9.4.0/oslo_config/tests/test_cfg.py", line 267, in test_print_help_with_deprecated
    self.assertIn('--a-bc A_BC, --d-ef A_BC, --d_ef A_BC', f.getvalue())
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/testtools/testcase.py", line 401, in assertIn
    self.assertThat(haystack, Contains(needle), message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/testtools/testcase.py", line 482, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: '--a-bc A_BC, --d-ef A_BC, --d_ef A_BC' not in "usage: test [-h] [--a-bc A_BC] [--config-dir DIR] [--config-file PATH]\n            [--u-vw U_VW] [--version]\n\nsomedesc\n\noptions:\n  -h, --help            show this help message and exit\n  --a-bc, --d-ef, --d_ef A_BC\n  --config-dir DIR      Path to a config directory to pull `*.conf` files\n                        from. This file set is sorted, so as to provide a\n                        predictable parse order if individual options are\n                        over-ridden. The set is parsed after the file(s)\n                        specified via previous --config-file, arguments hence\n                        over-ridden options in the directory take precedence.\n                        This option must be set from the command-line.\n  --config-file PATH    Path to a config file to use. Multiple config files\n                        can be specified, with values in later files taking\n                        precedence. Defaults to None. This option must be set\n                        from the command-line.\n  --u-vw, --x-yz, --x_yz U_VW\n  --version             show program's version number and exit\n\ntepilog\n"
======
Totals
======
Ran: 970 tests in 0.4166 sec.
 - Passed: 969
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 1
Sum of execute time for each test: 1.7361 sec.
==============
Worker Balance
==============
 - Worker 0 (162 tests) => 0:00:00.388106
 - Worker 1 (162 tests) => 0:00:00.354187
 - Worker 2 (162 tests) => 0:00:00.371493
 - Worker 3 (162 tests) => 0:00:00.400677
 - Worker 4 (161 tests) => 0:00:00.391893
 - Worker 5 (161 tests) => 0:00:00.301707
py313: exit 1 (2.56 seconds) /builddir/build/BUILD/python-oslo-config-9.4.0-build/oslo.config-9.4.0> stestr run --suppress-attachments pid=822
  py313: FAIL code 1 (2.58 seconds)
  evaluation failed :( (2.65 seconds)
error: Bad exit status from /var/tmp/rpm-tmp.E2pu2K (%check)
    Bad exit status from /var/tmp/rpm-tmp.E2pu2K (%check)


Reproducible: Always

Steps to Reproduce:
0. on branch rawhide
1. fedpkg build
Actual Results:  
failure

Expected Results:  
success

Comment 1 Fedora Release Engineering 2024-09-29 04:22:22 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 41.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2024-09-07).

A week before the mass branching of Fedora 42 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 40 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html

Comment 2 Fedora Release Engineering 2024-10-20 04:22:14 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 41.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2024-09-07).

A week before the mass branching of Fedora 42 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 40 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html

Comment 4 Fedora Update System 2024-10-28 12:15:58 UTC
FEDORA-2024-29d94a172e (python-oslo-config-9.6.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-29d94a172e

Comment 6 Fedora Update System 2024-10-29 01:31:40 UTC
FEDORA-2024-29d94a172e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-29d94a172e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-29d94a172e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-11-06 03:51:52 UTC
FEDORA-2024-29d94a172e (python-oslo-config-9.6.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.