summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <alex@shruggie.ro>2023-07-21 10:53:02 +0300
committerGitHub <noreply@github.com>2023-07-21 10:53:02 +0300
commit868f09900d860a3e2291c8e85e7fb936a4fcd549 (patch)
tree8a485581a5d09d92cb62708e55ee50debf94f7ac /lang/python
parentd5c939160aa20e9f8c01ae09b96a5bf93123c06b (diff)
parentd6252bcb763b0c9dfedf792d4a34eceb5abdfb04 (diff)
Merge pull request #21585 from commodo/python-updates2
django,numpy,lxml: bump versions
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/django/Makefile4
-rw-r--r--lang/python/numpy/Makefile6
-rw-r--r--lang/python/numpy/patches/001-unpin-build-dependencies.patch17
-rw-r--r--lang/python/numpy/patches/002-avoid-build-user-config-files.patch2
-rw-r--r--lang/python/python-lxml/Makefile4
5 files changed, 18 insertions, 15 deletions
diff --git a/lang/python/django/Makefile b/lang/python/django/Makefile
index c936a9a89..b518cf12d 100644
--- a/lang/python/django/Makefile
+++ b/lang/python/django/Makefile
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=django
-PKG_VERSION:=4.2.1
+PKG_VERSION:=4.2.3
PKG_RELEASE:=1
PYPI_NAME:=Django
-PKG_HASH:=7efa6b1f781a6119a10ac94b4794ded90db8accbe7802281cd26f8664ffed59c
+PKG_HASH:=45a747e1c5b3d6df1b141b1481e193b033fd1fdbda3ff52677dc81afdaacbaed
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>, Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_LICENSE:=BSD-3-Clause
diff --git a/lang/python/numpy/Makefile b/lang/python/numpy/Makefile
index bb5b898d1..54bbc4255 100644
--- a/lang/python/numpy/Makefile
+++ b/lang/python/numpy/Makefile
@@ -6,11 +6,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=numpy
-PKG_VERSION:=1.24.3
+PKG_VERSION:=1.25.1
PKG_RELEASE:=1
PYPI_NAME:=$(PKG_NAME)
-PKG_HASH:=ab344f1bf21f140adab8e47fdbc7c35a477dc01408791f8ba00d018dd0bc5155
+PKG_HASH:=9a3a9f3a61480cc086117b426a8bd86869c213fc4072e606f01c4e4b66eb92bf
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
@@ -37,7 +37,7 @@ define Package/python3-numpy
CATEGORY:=Languages
TITLE:=The fundamental package for scientific computing with Python
URL:=https://www.numpy.org/
- DEPENDS:=@!SOFT_FLOAT +INSTALL_GFORTRAN:libgfortran +python3 \
+ DEPENDS:=@!SOFT_FLOAT +INSTALL_GFORTRAN:libgfortran +python3 +libstdcpp \
+NUMPY_OPENBLAS_SUPPORT:openblas
endef
diff --git a/lang/python/numpy/patches/001-unpin-build-dependencies.patch b/lang/python/numpy/patches/001-unpin-build-dependencies.patch
index 1606762b0..dbfaea505 100644
--- a/lang/python/numpy/patches/001-unpin-build-dependencies.patch
+++ b/lang/python/numpy/patches/001-unpin-build-dependencies.patch
@@ -1,13 +1,16 @@
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -1,8 +1,8 @@
- [build-system]
- # Minimum requirements for the build system to execute.
+@@ -4,11 +4,11 @@
+ #build-backend = "mesonpy"
requires = [
+ # setuptools, wheel and Cython are needed for the setup.py based build
- "setuptools==59.2.0",
-- "wheel==0.37.0",
+ "setuptools>=59.2.0",
-+ "wheel>=0.37.0",
- "Cython>=0.29.30,<3.0",
+ # `wheel` is needed for non-isolated builds, given that `meson-python`
+ # doesn't list it as a runtime requirement (at least in 0.11.0) - it's
+ # likely to be removed as a dependency in meson-python 0.12.0.
+- "wheel==0.38.1",
++ "wheel>=0.38.1",
+ "Cython>=0.29.34,<3.0",
+ # "meson-python>=0.10.0",
]
-
diff --git a/lang/python/numpy/patches/002-avoid-build-user-config-files.patch b/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
index 15c76e3dc..cf7faf4ed 100644
--- a/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
+++ b/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
@@ -1,6 +1,6 @@
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
-@@ -400,7 +400,7 @@ def get_standard_file(fname):
+@@ -403,7 +403,7 @@ def get_standard_file(fname):
pass
else:
user_file = os.path.join(f, fname)
diff --git a/lang/python/python-lxml/Makefile b/lang/python/python-lxml/Makefile
index 628150e27..ae067b422 100644
--- a/lang/python/python-lxml/Makefile
+++ b/lang/python/python-lxml/Makefile
@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-lxml
-PKG_VERSION:=4.9.2
+PKG_VERSION:=4.9.3
PKG_RELEASE:=1
PYPI_NAME:=lxml
-PKG_HASH:=2455cfaeb7ac70338b3257f41e21f0724f4b5b0c0e7702da67ee6c3640835b67
+PKG_HASH:=48628bd53a426c9eb9bc066a923acaa0878d1e86129fd5359aee99285f4eed9c
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSES.txt