FS#62238 - pygtk, pygobject, python-gobject (namings and dependencies)
Attached to Project:
Community Packages
Opened by Doron Behar (doronbehar) - Friday, 05 April 2019, 09:06 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 April 2019, 13:05 GMT
Opened by Doron Behar (doronbehar) - Friday, 05 April 2019, 09:06 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 April 2019, 13:05 GMT
|
Details
Continuing from my post on the forum:
https://bbs.archlinux.org/viewtopic.php?pid=1838138
I wanted to raise the issue of the packages named in the summary of this bug report. The main issue is that pygtk depends on `python2-cairo` and `python2-gobject2` which both depend on `python2` but by looking at the upstream installation instructions and in comparison to the dependency chain of other distributions, it seems python2 shouldn't be a dependency. Many packages which depend on pygtk use python3 but become dependent in python2 consequently. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 05 April 2019, 13:05 GMT
Reason for closing: Not a bug
Additional comments about closing: pygtk uses python2. Nothing wrong here
Friday, 05 April 2019, 13:05 GMT
Reason for closing: Not a bug
Additional comments about closing: pygtk uses python2. Nothing wrong here
- pygtk
- gnome-python
- python-gobject
- pygobject-devel
- pygobject2-devel
1. Why are there so many packages that their upstream URL is https://pygtk.org ? Doesn't it mean that they are all produced out of the same source tree? If so, what made you name them like that - some start with `python-` prefix and some with only `py` prefix?
2. I can see now, that `pygtk` and `gnome-python`, both provide files which belong to python2. Note that they are both considered archived according to Gnome: https://gitlab.gnome.org/Archive/gnome-python, https://gitlab.gnome.org/Archive/pygtk . What made me so confused was the fact that the URL is https://pygtk.org but the actual source tree for these packages is different and unrelated because it is being redirected to http://pygobject.readthedocs.io/ . Additionally, their names don't have any prefix that suggests they are for python2 only.
3. On my machine, there is only 1 package that is supposed to depend on python3 but it depends on pygtk and it runs with python2: arandr, see this URL: http://christian.amsuess.com/tools/arandr/#dependencies
4. One more smaller issue: How come python-gobject depends on pygobject-devel which provides only `.pc` (pkg-config) file and 1 header file?
I think the main issue here is the packages' naming and URLs. Some of them provide files for python2 but their name doesn't suggest that at all and their upstream URL suggests they are derived from http://pygobject.readthedocs.io/ but they are actually considered archived by the Gnome developers.
As for the package `arandr`, I've asked upstream as for this confusion here: https://gitlab.com/arandr/arandr/issues/32 and it seems it's not actually python3 and it does depend on the pygtk *python2* library.