Bug 2220546 - F39FailsToInstall: python3-uranium: Uses the imp module
Summary: F39FailsToInstall: python3-uranium: Uses the imp module
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-uranium
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12 F39FailsToInstall 2219967
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:22 UTC by Fedora Fails To Install
Modified: 2023-07-09 14:20 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-09 14:20:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Ultimaker Uranium issues 765 0 None open UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated... 2023-07-09 07:51:13 UTC
Github Ultimaker Uranium pull 885 0 None Draft Fix asserts for called once in Python 3.12 2023-07-09 12:02:11 UTC

Description Fedora Fails To Install 2023-07-05 19:22:47 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/

Your package (python-uranium) Fails To Install in Fedora 39:

can't install python3-uranium:
  - nothing provides python(abi) = 3.11 needed by python3-uranium-5.3.0-5.fc39.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-uranium


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2023-07-06 08:07:46 UTC
https://koji.fedoraproject.org/koji/buildinfo?buildID=2223117
https://koji.fedoraproject.org/koji/taskinfo?taskID=102855698

+ /usr/bin/python3 -m pytest -v -k 'not (TestSettingFunction and test_init_bad) and not TestHttpRequestManager'
ImportError while loading conftest '/builddir/build/BUILD/Uranium-5.3.0/tests/conftest.py'.
tests/conftest.py:8: in <module>
    from UM.Qt.QtApplication import QtApplication #QTApplication import is required, even though it isn't used.
UM/Qt/QtApplication.py:21: in <module>
    from UM.Backend.Backend import Backend #For typing.
UM/Backend/Backend.py:15: in <module>
    import UM.Application
UM/Application.py:10: in <module>
    from UM.Controller import Controller
UM/Controller.py:4: in <module>
    from UM.Scene.Scene import Scene
UM/Scene/Scene.py:12: in <module>
    from UM.Mesh.ReadMeshJob import ReadMeshJob  # To reload a mesh when its file was changed.
UM/Mesh/ReadMeshJob.py:8: in <module>
    from UM.FileHandler.ReadFileJob import ReadFileJob
UM/FileHandler/ReadFileJob.py:5: in <module>
    from UM.FileHandler.FileHandler import FileHandler
UM/FileHandler/FileHandler.py:12: in <module>
    from UM.PluginRegistry import PluginRegistry
UM/PluginRegistry.py:4: in <module>
    import imp
E   ModuleNotFoundError: No module named 'imp'

Comment 2 Miro Hrončok 2023-07-09 08:17:31 UTC
Next failure:

E               AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?

FAILED tests/TestBackend.py::test__onSocketStateChanged_listening - Attribute...
FAILED tests/TestBackend.py::test_onSocketStateChanged_connected - AttributeE...
FAILED tests/Jobs/TestJob.py::test_start - AttributeError: 'called_once_with'...
FAILED tests/Jobs/TestJob.py::test_cancel - AttributeError: 'called_once_with...


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