Bug 1202554
Summary: | PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul W. Frields <pfrields> | ||||
Component: | python-slip | Assignee: | Nils Philippsen <nphilipp> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 22 | CC: | jpopelka, jrm16020, nphilipp, twoerner, zach | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.6.3-1.fc21 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-26 04:33:31 UTC | Type: | --- | ||||
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
Paul W. Frields
2015-03-16 21:19:57 UTC
Warnings received when entering 'firewall-cmd --<TAB>': /usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead setattr(_self, what, getattr(_mod, what)) /usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.source_remove is deprecated; use GLib.source_remove instead setattr(_self, what, getattr(_mod, what)) /usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead setattr(_self, what, getattr(_mod, what)) Yes, these can be seen also with firewall-cmd and firewall-config # rpm -qf /usr/lib/python2.7/site-packages/slip/_wrappers/_gobject.py python-slip-0.6.0-3.fc21.noarch https://git.fedorahosted.org/cgit/python-slip.git/commit/?id=7145f0e360b4854d58d95ddb8156184eaf0e885e I think this is the commit that takes care of the issue. I couldn't yet build a test F22 package because of the Python 3 issues in the spec file due, this may help: https://fedoraproject.org/w/index.php?title=PackagingDrafts%3APython&diff=403829&oldid=403815 *** Bug 1204887 has been marked as a duplicate of this bug. *** Created attachment 1006922 [details]
Prefer GLib instead of GObject for wrapper functions
This patch applies cleanly to upstream master as of today.
applied upstream with some slight changes: commit 72541ae95eb8961584876320edd8e22d5ffa309d Author: Paul W. Frields <pfrields> AuthorDate: Thu Mar 26 13:34:11 2015 -0400 Commit: Nils Philippsen <nils> CommitDate: Thu Aug 13 16:22:40 2015 +0200 use GLib instead of GObject for wrapper functions (#1202554) https://github.com/nphilipp/python-slip/commit/72541ae95eb8961584876320edd8e22d5ffa309d python-slip-0.6.2-1.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/python-slip-0.6.2-1.fc23 python-slip-0.6.2-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/python-slip-0.6.2-1.fc22 python-slip-0.6.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-slip-0.6.2-1.fc21 python-slip-0.6.3-1.fc23 has been submitted as an update for Fedora 23. https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc23 python-slip-0.6.3-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc22 python-slip-0.6.3-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-slip-0.6.3-1.fc21 Package python-slip-0.6.3-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-slip-0.6.3-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-13673/python-slip-0.6.3-1.fc21 then log in and leave karma (feedback). Hello - I just installed; Upgraded: python-slip.noarch 0.6.3-1.fc23 python-slip-dbus.noarch 0.6.3-1.fc23 and when I run firewall-cmd --reload, i get errors that seem to be related; sudo firewall-cmd --reload /usr/lib/python3.4/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead setattr(_self, what, getattr(_mod, what)) /usr/lib/python3.4/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.source_remove is deprecated; use GLib.source_remove instead setattr(_self, what, getattr(_mod, what)) /usr/lib/python3.4/site-packages/slip/_wrappers/_gobject.py:53: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead setattr(_self, what, getattr(_mod, what)) success python-slip-0.6.3-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. python-slip-0.6.3-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. python-slip-0.6.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |