Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864109 - media-gfx/cura-5.1.0 version bump
Summary: media-gfx/cura-5.1.0 version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on: 838970
Blocks:
  Show dependency tree
 
Reported: 2022-08-06 21:19 UTC by Elton Carvalho
Modified: 2023-02-05 09:46 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elton Carvalho 2022-08-06 21:19:12 UTC
Cura 5.1.0 has been released and version 5.x is a major update
https://github.com/Ultimaker/Cura/releases/tag/5.1.0

Reproducible: Always
Comment 1 theodor 2022-09-24 16:11:50 UTC
Cura 5.1.1 was released, please update the ebuild.
Comment 2 Elton Carvalho 2022-10-11 01:07:08 UTC
Cura 5.1.1 seems to depend on PyQt6:

$ ./cura_app.py 
Traceback (most recent call last):
  File "/tmp/cura/Cura-5.1.1/./cura_app.py", line 23, in <module>
    from PyQt6.QtNetwork import QSslConfiguration, QSslSocket
ModuleNotFoundError: No module named 'PyQt6'

Just pip install-ing PyQt6 was not enough, though:

$ ./cura_app.py 
/usr/lib/python3.10/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
  import imp
Error in sys.excepthook:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/cura/Cura-5.1.1/cura/CuraApplication.py", line 46, in <module>
    from UM.Settings.SettingDefinition import SettingDefinition, DefinitionPropertyType, toIntConversion
ImportError: cannot import name 'toIntConversion' from 'UM.Settings.SettingDefinition' (/usr/lib/python3.10/site-packages/UM/Settings/SettingDefinition.py)

Original exception was:
Traceback (most recent call last):
  File "/tmp/cura/Cura-5.1.1/./cura_app.py", line 193, in <module>
    from cura.CuraApplication import CuraApplication
  File "/tmp/cura/Cura-5.1.1/cura/CuraApplication.py", line 46, in <module>
    from UM.Settings.SettingDefinition import SettingDefinition, DefinitionPropertyType, toIntConversion
ImportError: cannot import name 'toIntConversion' from 'UM.Settings.SettingDefinition' (/usr/lib/python3.10/site-packages/UM/Settings/SettingDefinition.py)
Comment 3 Ionen Wolkens gentoo-dev 2022-10-11 01:32:53 UTC
>pip
Note I've added dev-python/PyQt6 and PyQt6-sip to the tree back on Aug 2 (which works fine afaik, albeit mostly only used by qutebrowser-3.0.0_pre9999 currently), but it's masked alongside the rest of Qt6 -- so, if bump depends on it, will need to either wait or mask it together for testing, or at least if there's no way to disable through a USE=qt6 (which is masked globally already).

Unsure for potential other issues, that doesn't look PyQt6 related.