Bug 2389353

Summary: hgsvn: FTBFS in Fedora Rawhide: %pyproject_check_import imports tests importing removed nose
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: hgsvnAssignee: Terje Rosten <terjeros>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: terjeros
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/hgsvn
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-26 16:33:43 UTC Type: Bug
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: 2339432, 2373702, 2384424    

Description Karolina Surma 2025-08-19 08:34:08 UTC
Description of problem:
Package hgsvn fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.6.0-22.fc43

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/hgsvn

Results:
Check import: hgsvn.unittests.test_svnclient
Traceback (most recent call last):
  File "/usr/lib/rpm/redhat/import_all_modules.py", line 106, in import_modules
    importlib.import_module(module)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib64/python3.14/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 762, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/builddir/build/BUILD/hgsvn-0.6.0-build/BUILDROOT/usr/lib/python3.14/site-packages/hgsvn/unittests/test_svnclient.py", line 7, in <module>
    from nose import SkipTest
ModuleNotFoundError: No module named 'nose'
Failed to import: hgsvn.unittests.test_client_utf, hgsvn.unittests.test_common, hgsvn.unittests.test_hgclient, hgsvn.unittests.test_hgclient_base, hgsvn.unittests.test_svnclient

Mitigation:

You may want to add an excluding part to the %pyproject_check_import invocation, e.g.: %pyproject_check_import -e "hgsvn.unittests*"

This just works around the core issue: the tests still import nose which is removed from Fedora.

Comment 1 Miro HronĨok 2025-08-26 11:08:43 UTC
Hello. This is a bulk comment.

This package still needs to be rebuilt and/or shipped with Python 3.14.0rc2+ bytecode in Fedora 43.

The Beta Freeze of Fedora 43 is scheduled to start today. Please prioritize this bugzilla accordingly.

Thanks.

Comment 2 Terje Rosten 2025-08-26 16:33:43 UTC
Fixed