17
0

Accepting request 1137308 from home:bnavigator:branches:devel:languages:python

- Update buildset:
  * Tumbleweed: Prepare python312, drop python38
  * 15.X: Prepare for "SLE15 Python module pythons" (The repository
    does not have all the requirements yet to build)
- Add 0001-wxWidgets-Phoenix-integer-division.patch
  * Required for Python 3.12
  * gh#wxWidgets/Phoenix#2508
- Update requirements:
  * This version requires Pillow again.
  * Require numpy for all flavors: Add require-numpy.patch
  * Upstream goes back and forth, see
    https://github.com/wxWidgets/Phoenix/commits/master/requirements/install.txt
- Repack the source: Remove stray wxWidgets-4.1.0 tree

OBS-URL: https://build.opensuse.org/request/show/1137308
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=47
This commit is contained in:
2024-01-18 10:10:05 +00:00
committed by Git OBS Bridge
parent 1ec08ac40f
commit c5aed123df
6 changed files with 73 additions and 12 deletions

11
require-numpy.patch Normal file
View File

@@ -0,0 +1,11 @@
Revert https://github.com/wxWidgets/Phoenix/commit/b1c55639dfb73db3a11307c9de888540cec512df
--- a/requirements/install.txt 2023-06-07 01:31:16.000000000 +0000
+++ b/requirements/install.txt 2024-01-06 22:08:26.485981672 +0000
@@ -1,5 +1,4 @@
# Runtime dependencies needed when using wxPython Phoenix
-numpy < 1.17 ; python_version <= '2.7'
-numpy ; python_version >= '3.0' and python_version < '3.12'
+numpy
pillow
six