Bug 2266304

Summary: Inkex version not aligned with inkscape package version
Product: [Fedora] Fedora Reporter: Olivier Samyn <code>
Component: python-inkexAssignee: Benson Muite <benson_muite>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: benson_muite, rhbz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-inkex-1.3.1-1.fc39 python-inkex-1.3.1-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-19 01:18:16 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:

Description Olivier Samyn 2024-02-27 14:10:06 UTC
Description of problem:
Inkex package is not inline with latest inkscape release which causes problems in updated extensions.

For example, the QR code generation extension complains with the following error: "ImportError: cannot import name 'circular_pairwise' from 'inkex.utils' (/usr/share/inkscape/extensions/inkex/utils.py)"

This function was added in inkext between 1.3.0 and 1.3.1 releases in this commit:
https://gitlab.com/inkscape/extensions/-/commit/a0d605041666bc4454a096202179d23943a6a538

The current package should be updated to the code found in the actual inkscape source code.

This package should either be build as part of the inkscape spec or the code should be updated for each inkscape source code update.

Comment 1 Benson Muite 2024-03-01 05:11:03 UTC
Thanks. Will update to what is compatible with Inkscape 1.3.2

Comment 2 Peter Simonyi 2024-04-10 16:24:24 UTC
Just a reminder, since it doesn't look like the update has happened.  The QR code extension is still broken.

It also does seem like the extensions themselves and inkex should be in the same package as they seem to be developed upstream together.

Comment 3 Benson Muite 2024-04-10 16:34:18 UTC
Thanks for the reminder. Inkex is used by other packages such as Ink/Stitch,
so it is helpful to have it packaged separately. It has been recently updated
on pypi:
https://pypi.org/project/inkex/#history
https://gitlab.com/inkscape/extensions/-/issues/568

So will update it here.

Comment 4 Fedora Update System 2024-04-10 20:27:30 UTC
FEDORA-2024-c08e2c4299 (python-inkex-1.3.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c08e2c4299

Comment 5 Fedora Update System 2024-04-10 20:39:51 UTC
FEDORA-2024-6bc2b69b0c (python-inkex-1.3.1-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6bc2b69b0c

Comment 6 Benson Muite 2024-04-10 20:40:34 UTC
Update has been submitted for testing.

Comment 7 Fedora Update System 2024-04-11 00:56:14 UTC
FEDORA-2024-c08e2c4299 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c08e2c4299`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c08e2c4299

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-04-11 01:40:23 UTC
FEDORA-2024-6bc2b69b0c has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6bc2b69b0c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6bc2b69b0c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-04-19 01:18:16 UTC
FEDORA-2024-6bc2b69b0c (python-inkex-1.3.1-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-04-19 21:34:26 UTC
FEDORA-2024-c08e2c4299 (python-inkex-1.3.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.