Bug 1188335

Summary: Unused dependency on Python 2
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i18n-bugs, lnie, shawn.p.huang, tfujiwar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ibus-1.5.9-10.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-15 03:18:31 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:
Attachments:
Description Flags
Proposed patch none

Description Petr Viktorin (pviktori) 2015-02-02 15:57:48 UTC
Created attachment 987141 [details]
Proposed patch

As far as I can see, the main ibus package has been ported to Python 3. It should no longer need to pull in Python 2.

The "Requires: python" can be moved to ibus-pygtk2 and ibus-py2override.
Also the "dbus-python" dependency can be moved to ibus-pygtk2.

Comment 1 fujiwara 2015-02-03 03:03:35 UTC
Your patch does not resolve bug #1161871.
I have the plan to separate python2 modules from ibus package in f22.

Comment 2 Petr Viktorin (pviktori) 2015-02-03 12:08:14 UTC
Is it right that the problem in bug #1161871 is that ibus requires "python(abi) = 2.7", but not "python", and fedup chokes on that?

Current ibus does not have the "python(abi) = 2.7" dependency:

# rpm -q ibus
ibus-1.5.9-8.fc22.x86_64
# rpm -q --requires ibus | grep python
dbus-python >= 0.83.0
python
python(abi) = 3.4
python3
python3-gobject


Anyway, let me know if there's any way I can help drive this forward.

Comment 3 fujiwara 2015-02-04 04:38:49 UTC
(In reply to Petr Viktorin from comment #2)
> Current ibus does not have the "python(abi) = 2.7" dependency:

Right but fedup reports the dependency.

I forgot ibus-py2override has already been separated from ibus by myself.

Comment 4 Fedora Update System 2015-02-09 06:46:43 UTC
ibus-1.5.9-10.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ibus-1.5.9-10.fc21

Comment 5 Fedora Update System 2015-02-09 06:48:28 UTC
ibus-1.5.9-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ibus-1.5.9-10.fc20

Comment 6 lnie 2015-02-10 04:54:59 UTC
ibus-1.5.9-10.fc21 works

Comment 7 Fedora Update System 2015-02-13 02:22:16 UTC
Package ibus-1.5.9-10.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-1.5.9-10.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1901/ibus-1.5.9-10.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-02-15 03:18:31 UTC
ibus-1.5.9-10.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-02-26 05:55:06 UTC
ibus-1.5.9-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.