|
|
6fc8ad3 |
Description: Suppress warning about RELEASE_VERSION mismatch
|
|
|
6fc8ad3 |
This will often be the case in Debian, since wxwidgets3.0 and wxpython3.0 are
|
|
|
6fc8ad3 |
separate source packages, and upstream releases of each happen on different
|
|
|
6fc8ad3 |
schedules.
|
|
|
6fc8ad3 |
Author: Olly Betts <olly@survex.com>
|
|
|
6fc8ad3 |
Forwarded: not-needed
|
|
|
6fc8ad3 |
Last-Update: 2014-08-07
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
--- a/wxPython/src/_core_ex.py
|
|
|
6fc8ad3 |
+++ b/wxPython/src/_core_ex.py
|
|
|
6fc8ad3 |
@@ -26,9 +26,12 @@
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWidgets version mismatch"
|
|
|
6fc8ad3 |
assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWidgets version mismatch"
|
|
|
6fc8ad3 |
-if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|
|
6fc8ad3 |
- import warnings
|
|
|
6fc8ad3 |
- warnings.warn("wxPython/wxWidgets release number mismatch")
|
|
|
6fc8ad3 |
+# This will often be the case in Debian, since wxwidgets3.0 and wxpython3.0 are
|
|
|
6fc8ad3 |
+# separate source packages, and upstream releases of each happen on different
|
|
|
6fc8ad3 |
+# schedules.
|
|
|
6fc8ad3 |
+#if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|
|
6fc8ad3 |
+# import warnings
|
|
|
6fc8ad3 |
+# warnings.warn("wxPython/wxWidgets release number mismatch")
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
def version():
|
|
|
6fc8ad3 |
--- a/wxPython/src/gtk/_core.py
|
|
|
6fc8ad3 |
+++ b/wxPython/src/gtk/_core.py
|
|
|
6fc8ad3 |
@@ -16624,9 +16624,12 @@
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWidgets version mismatch"
|
|
|
6fc8ad3 |
assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWidgets version mismatch"
|
|
|
6fc8ad3 |
-if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|
|
6fc8ad3 |
- import warnings
|
|
|
6fc8ad3 |
- warnings.warn("wxPython/wxWidgets release number mismatch")
|
|
|
6fc8ad3 |
+# This will often be the case in Debian, since wxwidgets3.0 and wxpython3.0 are
|
|
|
6fc8ad3 |
+# separate source packages, and upstream releases of each happen on different
|
|
|
6fc8ad3 |
+# schedules.
|
|
|
6fc8ad3 |
+#if RELEASE_VERSION != _core_.RELEASE_VERSION:
|
|
|
6fc8ad3 |
+# import warnings
|
|
|
6fc8ad3 |
+# warnings.warn("wxPython/wxWidgets release number mismatch")
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
|
|
|
6fc8ad3 |
def version():
|