Hi - I'm not sure if this is a wxPython or Fedora issue, but here's the problem: I am running an up-to-date Fedora 7 system with the wxPython-2.8.3.0-1.fc7 package. Everything works as normal, but when I run a Python app., I get the following warning on my terminal:
DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
There is no Fedora "wx package" as such, so I'm wondering if this is a Fedora packaging issue or if I actually need to be migrating to some other arrangement.
Maybe the code you are running contains:
from wxPython import *
which is deprecated, it should be:
import wx
(this of course requires refactoring of the code). Of course, this is
not an issue related to Fedora.
Stani
···
--
Martin schreef:
Hi - I'm not sure if this is a wxPython or Fedora issue, but here's the
problem: I am running an up-to-date Fedora 7 system with the
wxPython-2.8.3.0-1.fc7 package. Everything works as normal, but when I
run a Python app., I get the following warning on my terminal:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained. Please switch to the wx
package as soon as possible.
There is no Fedora "wx package" as such, so I'm wondering if this is a
Fedora packaging issue or if I actually need to be migrating to some
other arrangement.
TIA,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Hi - I'm not sure if this is a wxPython or Fedora issue, but here's the problem: I am running an up-to-date Fedora 7 system with the wxPython-2.8.3.0-1.fc7 package. Everything works as normal, but when I run a Python app., I get the following warning on my terminal:
DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
There is no Fedora "wx package" as such, so I'm wondering if this is a Fedora packaging issue or if I actually need to be migrating to some other arrangement.
"Package" in this case doesn't refer to an RPM, but to Python packages. The app you are running is using "import wxPython.wx" or something similar, but the newer package introduced in 2.4 is named wx, so the app needs to be rewritten to use "import wx" instead. As part of the change the name of items in the package have also changed, so instead of using things like wx.wxFrame you now use wx.Frame.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Yes, that's it! There are too many things called "packages". I had just loaded the wxPython Fedora packages. Perhaps the wxPython warning could be made a little more precise.
Thanks,
Martin
Stani's Python Editor wrote:
···
Maybe the code you are running contains:
from wxPython import *
which is deprecated, it should be:
import wx
(this of course requires refactoring of the code). Of course, this is
not an issue related to Fedora.
Hi - I'm not sure if this is a wxPython or Fedora issue, but here's the
problem: I am running an up-to-date Fedora 7 system with the
wxPython-2.8.3.0-1.fc7 package. Everything works as normal, but when I
run a Python app., I get the following warning on my terminal:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained. Please switch to the wx
package as soon as possible.
There is no Fedora "wx package" as such, so I'm wondering if this is a
Fedora packaging issue or if I actually need to be migrating to some
other arrangement.
TIA,
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org