Bug 2485807
| Summary: | F45FailsToInstall: python3-colcon-cmake (FTBFS, test failure due to DeprecationWarning: Version._version in packaging) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-colcon-cmake | Assignee: | Scott K Logan <logans> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | logans, mhroncok, releng |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-colcon-cmake-0.2.30-1.fc46 python-colcon-cmake-0.2.30-1.fc45 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-08-17 20:02:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2412434, 2433833, 2433836, 2503726, 2503729, 2485808, 2485830 | ||
|
Description
Fedora Fails To Install
2026-06-06 17:49:36 UTC
Hello, Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Hello, Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 4+ weeks. This is the second reminder (step 4) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. This package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/python-colcon-cmake by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. =================================== FAILURES ===================================
___________________________ test_parse_cmake_version ___________________________
def test_parse_cmake_version():
# Build version prefix string closely matching what cmake version outputs.
base_prefix = 'cmake version '
# Expected results list. Each element is a tuple containing the following:
# - Version string to parse.
# - Numeric version tuple to compare against (major, minor, patch).
# The second item is None where the parse string should not parse.
test_items = [
(base_prefix + '3.0.0', (3, 0, 0)),
(base_prefix + '3.0.0-dirty', (3, 0, 0)),
(base_prefix + '3.0.0-rc1', (3, 0, 0)),
(base_prefix + 'cmake version 3.0.0-rc1-dirty', (3, 0, 0)),
(base_prefix + 'this.is.garbage', None),
(base_prefix + '3.15.1', (3, 15, 1)),
('3.15.1', (3, 15, 1)),
(base_prefix + '101.202.303-xxx', (101, 202, 303)),
('101.202.303-xxx', (101, 202, 303)),
('prefix 1 number 101.202.303-xxx', (101, 202, 303)),
('not the right format', None)
]
# Iterate the strings and parse.
for version_string, expected_version in test_items:
parsed_version = _parse_cmake_version_string(version_string)
if expected_version is None:
# Input string was garbage. Assert parsing failed.
assert parsed_version is None
else:
> assert parsed_version._version.release[0:3] == expected_version
^^^^^^^^^^^^^^^^^^^^^^^
test/test_parse_cmake_version.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<Version('3.0.0')>,), kwargs = {}
@functools.wraps(arg)
def wrapper(*args, **kwargs):
> _wm.warn(msg, category=category, stacklevel=stacklevel + 1)
E DeprecationWarning: Version._version is private and will be removed soon
/usr/lib64/python3.15/_py_warnings.py:858: DeprecationWarning
=========================== short test summary info ============================
FAILED test/test_parse_cmake_version.py::test_parse_cmake_version - Deprecati...
================== 1 failed, 5 passed, 5 deselected in 0.45s ===================
*** Bug 2504478 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45. FEDORA-2026-178f8b38b6 (python-colcon-cmake-0.2.30-1.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-178f8b38b6 FEDORA-2026-178f8b38b6 (python-colcon-cmake-0.2.30-1.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-059d2aea8a (python-colcon-cmake-0.2.30-1.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-059d2aea8a FEDORA-2026-059d2aea8a (python-colcon-cmake-0.2.30-1.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. |