Bug 1657670 - libgda-tools: Python modules in /usr/share
Summary: libgda-tools: Python modules in /usr/share
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libgda
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-10 09:17 UTC by Petr Viktorin (pviktori)
Modified: 2019-09-16 00:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-12 13:58:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Viktorin (pviktori) 2018-12-10 09:17:36 UTC
Hello! Congratulations on reviving a package that failed to build since Fedora 24! :)


The libgda-tools package contains Python modules/scripts in /usr/share/libgda-5.0/, which look mispackaged. I'm not familiar with the package, though, so I don't know how to fix this.

Are these scripts useful? If not, remove them.

Are these bundled copies of an external library? Unbundle, or mark them with `bundled(...)` [0].

The scripts use Python 2, which is deprecated in Fedora 30+. Are there plans (possibly upstream) to port to Python 3? (We can help with that, the scripts look simple enough. But we'd need some tests or example usage.)

When building anything for Python 2, please BuildRequire "python2-devel".

The scripts seem to require python2-reportlab, but that requirement is not specified in the RPMs.

Hiding executable scripts and Python modules in /usr/share is quite questionable.


Again, we can help – but need some info about what these scripts are for and how they're used.

[0]: https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries

Comment 1 Ben Cotton 2019-08-13 17:04:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 19:39:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Fedora Update System 2019-09-12 13:54:28 UTC
FEDORA-2019-d35432b102 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d35432b102

Comment 4 Fabio Valentini 2019-09-12 13:58:28 UTC
The python2 modules have been removed for fedora 31+.
Feel free to reopen the bug if I missed something.

Comment 5 Fedora Update System 2019-09-12 14:45:32 UTC
libgda-5.2.9-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d35432b102

Comment 6 Fedora Update System 2019-09-16 00:02:08 UTC
libgda-5.2.9-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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