Commit Graph

2428 Commits

Author SHA1 Message Date
Josef Schlehofer 7f64f6c0cf python-calver: update to version 2025.10.20
Fixes:
 SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()

Release notes:
https://github.com/di/calver/releases/tag/2025.10.20

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer 69539619b6 python-markupsafe: update to version 3.0.3
Release notes:
https://github.com/pallets/markupsafe/releases/tag/3.0.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer 182156cfad python-wheel: update to 0.45.1
Release notes:
https://github.com/pypa/wheel/releases/tag/0.45.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer 7f233be4ce python-cython: update to version 3.1.5
Fixes:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/turris/build/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module>
_main(sys.argv[1:], "python -m installer")
  File "/turris/build/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main
with WheelFile.open(args.wheel) as source:
  File "/turris/build/staging_dir/hostpkg/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
   ^^^^^^^^^^^^^^
  File "/turris/build/staging_dir/hostpkg/lib/python3.11/site-packages/installer/sources.py", line 162, in open
with zipfile.ZipFile(path) as f:
 ^^^^^^^^^^^^^^^^^^^^^
  File "/turris/build/staging_dir/hostpkg/lib/python3.11/zipfile.py", line 1311, in __init__
self.fp = io.open(file, filemode)
  ^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/turris/build/build_dir/hostpkg/pypi/Cython-3.0.10//openwrt-build/Cython-3.0.10-*.whl'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer 9bf59d5f67 python-setuptools: update to version 80.9.0
Release notes:
https://setuptools.pypa.io/en/stable/history.html#v80-9-0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer f4395c5d31 python-uci: drop patches due to newer setuptools
These patches were required with older setuptools version,
but in Python 3.11.4 is bundled setuptools updated, thus
we can remove these patches.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer ef509da52b python3: update to version 3.11.4
In this release, there is updated setuptools, so update
it as well.

Fixes CVEs:
- CVE-2025-47273
- CVE-2024-6345

Release notes:
https://pythoninsider.blogspot.com/2025/10/python-31212-31114-31019-and-3924-are.html

Patch:
- 0001-Adjust-library-header-paths-for-cross-compilation.patch
comes from buildroot [1], but they removed it as they switched to Python 3.12,
however Python 3.11 still supports distutils, but it is marked as deprecated [2]
and it will be gone in 3.12. So, don't rebase it this time as this patch does not apply
anymore due to this commit [3] and sooner switch to more up-to-date Python3 version.

[1] https://redirect.github.com/buildroot/buildroot/commit/b37e4a5f56182c5b8e4ffce433eb652174a19da6
[2] https://peps.python.org/pep-0632/
[3] https://redirect.github.com/pypa/setuptools/commit/88eb8cc66f8762e37ec78913c07ccf3e3dba05e1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-31 09:52:11 +02:00
Josef Schlehofer 4ba2c1487c python-build: update to version 1.3.0
Release notes:
https://github.com/pypa/build/releases/tag/1.3.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-28 10:13:52 +01:00
Josef Schlehofer caed169831 python-flit-core: update to version 3.12.0
Release notes:
https://github.com/pypa/flit/blob/5714d1f78fb9b344c997cb866c44bb9506b8ca41/doc/history.rst#version-312

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-28 10:13:52 +01:00
Josef Schlehofer f182a567aa python-hatch-requirements-txt: bump to 0.4.1
Release notes:
https://github.com/repo-helper/hatch-requirements-txt/releases/tag/v0.4.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-22 12:54:31 +02:00
George Sapkin d856cb45e3 python-trove-classifiers: bump to 2025.9.11.17
Adds classifier for Python 3.15.
More details can be found in their tags:
https://github.com/pypa/trove-classifiers/releases

Signed-off-by: George Sapkin <george@sapk.in>
2025-10-03 12:11:54 +02:00
Wei-Ting Yang c6ba0ce292 python-urllib3: update to 2.5.0
Changelogs can be found in https://github.com/urllib3/urllib3/releases.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-10-02 08:17:48 +02:00
Wei-Ting Yang 7289cb0119 python-packaging: update to 25.0
Changelogs can be found in https://github.com/pypa/packaging/releases.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-10-02 08:17:48 +02:00
Josef Schlehofer 4d521dfbeb python-hatchling: update to version 1.27.0
Release notes:
https://github.com/pypa/hatch/releases/tag/hatchling-v1.27.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-01 08:35:00 +02:00
George Sapkin 6408f9ef6e python-atomicwrites: drop package
- archived upstream
- drop confirmed by Python maintainer
- last local commit:
  commit: d5ac6e103e
  Author: Jeffery To <jeffery.to@gmail.com>
  Date:   Mon, 24 Jul 2023 22:46:41 -0700

  python-atomicwrites: Update to 1.4.1

Link: https://github.com/openwrt/packages/pull/26400#issuecomment-2848164601
Signed-off-by: George Sapkin <george@sapk.in>
2025-09-23 13:11:55 +02:00
Alexandru Ardelean 5e1d07b162 numpy: bump to version 2.3.3
Bump the version number to 2.3.3

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-09-23 12:03:36 +03:00
Fabrice Fontaine 76ff404bc3 python-cryptography: fix PKG_CPE_ID
cryptography_project:cryptography has been deprecated in favour of
cryptography.io:cryptography:
https://nvd.nist.gov/products/cpe/detail/2EBA50FC-F3F9-40D5-82BD-EFB67F761153

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2025-09-20 23:13:41 +08:00
Wei-Ting Yang e236bede74 django-restframework: assign PKG_CPE_ID
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:django-rest-framework:django_rest_framework

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-08-29 11:56:26 +03:00
Rosen Penev d9fee08632 python3: fix host uuid and ncurses
pkgconfig doesn't work correct for these two packages. Just readd the
proper paths.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-08-24 20:28:15 +03:00
Austin Lane f2d141912f python-pyelftools: Update to v0.32
- Update pyelftools to version 0.32 (minor)

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-08-19 07:48:45 +02:00
Wei-Ting Yang 6d9d0d2bf8 python-certifi: update to 2025.8.3
Fix CVE-2024-39689.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-08-15 23:24:03 -03:00
Wei-Ting Yang dc6724fca5 python-certifi: assign PKG_CPE_ID
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:certifi:certifi

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-08-15 23:24:03 -03:00
Wei-Ting Yang 23646be59e python-urllib3: update to 2.0.7
Fix CVE-2023-45803 and CVE-2023-43804.

Full changelogs:
- https://github.com/urllib3/urllib3/releases/tag/v2.0.5
- https://github.com/urllib3/urllib3/releases/tag/2.0.6
- https://github.com/urllib3/urllib3/releases/tag/2.0.7

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2025-08-14 15:48:28 +02:00
Josef Schlehofer 3686cbe417 python3: update to version 3.11.13
Release notes:
https://docs.python.org/release/3.11.13/whatsnew/changelog.html#python-3-11-13

Fixes CVEs:
CVE 2024-12718
CVE 2025-4138
CVE 2025-4330
CVE 2025-4517

Patch refreshed

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-08-14 15:48:04 +02:00
Alexandru Ardelean 12738a8eec django: allow test.sh only for python3-django package
No idea how this worked before.
But the '/usr/bin/django-admin' is available only for python3-django

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-08-14 15:10:10 +03:00
Alexandru Ardelean 52620adeed python-requests: bump to version 2.32.4
This change updates the Python requests package to version 2.32.4

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-08-14 15:10:10 +03:00
Alexandru Ardelean 2c2c7a9de4 numpy: bump to version 2.3.2
This change bumps numpy to 2.3.2

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-08-14 15:10:10 +03:00
Alexandru Ardelean eecc9a97db django-restframework: bump to version 3.16.1
This change updates django-restframework to 3.16.1

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-08-14 15:10:10 +03:00
Fabian Lipken 79c293e91c python-pycares: bump to 4.10.0
python-pycares: bump from version 4.8.0 to 4.10.0

Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2025-08-14 11:58:43 +08:00
Richard Muzik e09ffebce1 python-twisted: Update to 25.5.0
This update fixes CVE-2024-41810 and CVE-2024-41671 [1]. For the full
changelog see NEWS [2].

Additionally changed the way the test files are omitted from patch file
to filespec in the Makefile.

[1] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst#twisted-2470-2024-08-08
[2] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst

Signed-off-by: Richard Muzik <richard.muzik@turris.com>
2025-08-08 13:50:28 +02:00
Vladimir Ermakov 7c289ead14 python: adjust with glibc and libcrypt-compat
Fix #27012

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-07-30 14:43:39 +02:00
Richard Muzik 63b3e10116 python-incremental: Update to 24.7.2
To see changes check NEWS [1].

[1] https://github.com/twisted/incremental/blob/incremental-24.7.2/NEWS.rst

Signed-off-by: Richard Muzik <richard.muzik@turris.com>
2025-07-30 11:51:29 +02:00
Josef Schlehofer d457c26c0d python-uci: update to version 0.10.3 + two patches
Release notes:
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.0
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.1
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.2
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.10.3

Upstream (pyuci developers) removed setup.py,
I bring it back to be able to compile it despite
that we do support building packages, which are
using pyproject.toml, but the thing here is
that their pyproject.toml requires setuptools 74.1.0
[1] [2], but Python 3.11 is using bundled setuptools
and pip [3] [4]. In current version 3.11.13,
there is still outdated version of setuptools, but
it looks like that in the newer version, there will be
new one [5].

Once, there is released Python 3.11.14 and updated
in OpenWrt, these patches can be dropped.

[1] https://gitlab.nic.cz/turris/pyuci/-/blob/240180b2946fdd1fd46c7f023f224acce5a55511/pyproject.toml#L29
[2] https://setuptools.pypa.io/en/stable/history.html#v74-1-0
[3] https://github.com/openwrt/packages/blob/c94ab433caf345ebc6bef9a7174d1f65f676fc87/lang/python/python3-version.mk#L18
[4] https://github.com/python/cpython/commits/3.11/Lib/ensurepip/_bundled
[5] https://github.com/python/cpython/commit/c96ab19ae460911e40ffa502f1bf945ab6c53a2e

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-18 11:34:54 +02:00
Fabian Lipken 8dc916e888 python-pycares: bump to 4.8.0
This commit updates python-pycares to version 4.8.0

For more details, please refer to release changelog:
https://github.com/saghul/pycares/releases/tag/v4.8.0

Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2025-06-11 11:38:30 +02:00
Austin Lane 9d0770ee27 python-platformio: Update to v6.1.18
Update version to v6.1.18

Signed-off-by: Austin Lane <vidplace7@gmail.com>
2025-06-09 20:02:11 +02:00
W. Michael Petullo ac839af473 python-networkx: update to 3.5
Upstream list of changes is available at
https://github.com/networkx/networkx/releases/tag/networkx-3.5.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-06-02 10:48:38 +03:00
Tomasz Maciej Nowak 40c6ef6941 python-bcrypt: bump version to 4.1.3
Bumps pyo3 version to 21, which in result fixes copmilation on
platforms without 64-bit atomics.

Upstream-issue: https://github.com/pyca/bcrypt/issues/731
Link: https://github.com/pyca/bcrypt/compare/4.1.2...4.1.3#commits_bucket

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
2025-05-31 23:54:37 +02:00
George Sapkin 8bb5a41cdf python-netifaces: drop package
Upstream project archived [1].

[1] https://github.com/al45tair/netifaces

Signed-off-by: George Sapkin <george@sapk.in>
2025-05-22 14:00:02 +02:00
Robert Marko f8bb47257e python-semanage: update to 3.8.1
Update to latest 3.8.1 version and backport a patch to fix compilation[1].

[1] https://github.com/SELinuxProject/selinux/commit/a339594da6f027aed5d66ec6798a3d732df235e4

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-19 11:44:34 +02:00
Robert Marko b6d9fcd1c8 python-selinux: update to 3.8.1
Bump to latest 3.8.1 version.
Import the required backported patches from libselinux.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-19 11:44:34 +02:00
Alexandru Ardelean 48a24c73f7 numpy: bump to version 2.2.5
Also needing to treat 'incompatible-pointer-types' as warnings.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-05-14 15:14:18 +03:00
Alexandru Ardelean 224a35ee4a django-restframework: bump to version 3.16.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-05-14 15:14:18 +03:00
Alexandru Ardelean 362d15d047 python-evdev: bump to version 1.9.2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-05-14 15:14:18 +03:00
Alexandru Ardelean eeacf8474b python-lxml: bump to version 5.4.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-05-14 15:14:18 +03:00
Alexandru Ardelean f3c0c9722c pytz: bump to version 2025.2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-05-14 15:14:18 +03:00
Alexandru Ardelean 7c496ceedc numpy: bump to version 2.2.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-03-15 07:51:39 +02:00
Alexandru Ardelean 4224cf151a pytz: bump to version 2025.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-03-15 07:51:39 +02:00
Alexandru Ardelean 0204250618 python-evdev: bump to version 1.9.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-03-15 07:51:39 +02:00
Alexandru Ardelean 5b6fc86fe6 django: bump to version 5.1.7
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-03-15 07:51:39 +02:00
Felix Fietkau d798ccce9a python3-host.mk: disable pip --no-binary on macOS
For some reason, pip builds a broken Cython, which segfaults on attempting
to install wheel. Work around this by allowing to use precompiled wheels.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-03-03 12:18:16 +01:00