Bug 2369420

Summary: python-envisage: FTBFS in Fedora Rawhide: ModuleNotFoundError: No module named 'configobj'
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-envisageAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fti-bugs, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-envisage
Whiteboard:
Fixed In Version: python-envisage-7.0.4-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-21 18:14:29 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: 2322407, 2339432, 2339435    

Description Karolina Surma 2025-05-30 14:45:24 UTC
Description of problem:
Package python-envisage fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
7.0.3-9.fc43

Steps to Reproduce:
koji build --scratch f43 python-envisage-7.0.3-9.fc43.src.rpm

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

Reproducible: Always

Actual Results:
11 tests error with:

ERROR: test_service_trait_type (tests.test_service.ServiceTestCase.test_service_trait_type)
service trait type
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-envisage-7.0.3-build/envisage-7.0.3/envisage/tests/test_service.py", line 49, in test_service_trait_type
    application.stop()
    ~~~~~~~~~~~~~~~~^^
  File "/builddir/build/BUILD/python-envisage-7.0.3-build/envisage-7.0.3/envisage/application.py", line 329, in stop
    self.preferences.save()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/apptools/preferences/scoped_preferences.py", line 336, in save
    self._get_primary_scope().save(file_or_filename)
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/apptools/preferences/scoped_preferences.py", line 423, in _get_primary_scope
    scope = self.scopes[0]
            ^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/apptools/preferences/scoped_preferences.py", line 357, in _scopes_default
    Preferences(
    ~~~~~~~~~~~^
        name="application",
        ^^^^^^^^^^^^^^^^^^^
        filename=self.application_preferences_filename,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ),
    ^
  File "/usr/lib/python3.13/site-packages/apptools/preferences/preferences.py", line 91, in __init__
    self.load()
    ~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/apptools/preferences/preferences.py", line 358, in load
    from configobj import ConfigObj
ModuleNotFoundError: No module named 'configobj'

Comment 1 Karolina Surma 2025-06-11 15:58:48 UTC
*** Bug 2371879 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Fails To Install 2025-06-20 19:54:23 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

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.