Commit Graph

1809 Commits

Author SHA1 Message Date
Jeffery To
f5dc45c3ab python3: Fix __pycache__ files included in python3-light
003-do-not-run-distutils-tests.patch was removed in
4e05541782. This patch stopped "make
install" from, among other things, running compileall.

When this patch was removed, "make install" ran compileall as normal and
created bytecode files in __pycache__ directories. These files were then
packaged in python3-light.

This adds a patch to stop compileall from being run during "make
install".

Fixes: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8a4da01790,
adjusted PKG_RELEASE, refreshed patches)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 13:59:36 +08:00
Jeffery To
1e800488ae python3: Remove --without-pymalloc
--without-pymalloc was added in 7bf1ae65a8
because leaving it enabled added an "m" flag/suffix to file names.

This flag/suffix was removed in Python 3.8[1], so disabling pymalloc is
no longer necessary.

[1]: https://docs.python.org/3.8/whatsnew/3.8.html#build-and-c-api-changes

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3032e7063f,
adjusted PKG_RELEASE)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 13:59:19 +08:00
Rosen Penev
c325b04560 python3: use tools/expat for host build
Oversight from when the expat host build was removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d09844e395)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 13:01:48 +08:00
Stepan Henek
eda90a56ed python-eventlet: bump to version 0.33.3
old eventlet is not working well with python3.10

```
root@turris:~# python3
Python 3.10.9 (main, Feb  9 2023, 10:37:45) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import eventlet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 4, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/green/_socket_nodns.py", line 11, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/greenio/__init__.py", line 3, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/greenio/base.py", line 32, in <module>
  File "/usr/lib/python3.10/site-packages/eventlet/timeout.py", line 166, in wrap_is_timeout
TypeError: cannot set 'is_timeout' attribute of immutable type 'TimeoutError'
```

see 0.33.3 release notes for details - https://eventlet.net/doc/changelog.html#id1

Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
(cherry picked from commit eb7275402e)
2023-05-14 10:58:49 +02:00
Julien Malik
235acacf0a borgbackup: bump to 1.2.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 45a3afbfb7)
2023-04-13 03:13:45 +08:00
Julien Malik
31f36e5b2d borgbackup: add missing dependencies
The initial package submission was missing
some required and optional dependencies
due to lack of testing on a system without any python
related packages pre-installed.

Some optional but highly recommended dependencies
were discovered with the stdlib module as described in:
392a68e247/lang/python/README.md

Fixes #20441

Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 1f25be97b6)
2023-04-13 03:13:38 +08:00
Alexandru Ardelean
c13c734e3a django: bump to version 4.0.10
Fixes:
   https://nvd.nist.gov/vuln/detail/CVE-2023-23969

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-17 19:30:57 +02:00
Alexandru Ardelean
7a756db002 python3: bump to version 3.10.9
Refresh patches.
Bump setuptools to 65.5.0
Bump pip to 22.3.1
  Removed patch: patches-pip/001-pep517-pyc-fix.patch
  No longer needed as per:
    fa4b2efbab

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-01-27 10:57:15 +02:00
Eneas U de Queiroz
73cbdbc82e python-docutils: bump to version 0.19
Package does not currently build because of distutil dependency.  Fix
this by updating to the latest version.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 4a16e5eb8c)
[do not use AUTORELEASE]
2023-01-21 20:46:42 +02:00
Karl Palsson
b31bcb0539 python-requests: update URL
The old 2.python-requests.org URL is not reachable on modern browsers,
and is not the current canonical URL for the project.  Update to the
current best URL for the project.

Signed-off-by: Karl Palsson <karlp@etactica.com>
(cherry picked from commit 4969de2bdf)
2023-01-17 23:55:43 +01:00
Julien Malik
8e02db2d7b python-exceptiongroup: bump to 1.1.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit f04af1261c)
2023-01-17 23:54:27 +01:00
Julien Malik
d8632f16db borgbackup: bump to 1.2.3
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 5dffc0af0e)
2023-01-17 23:54:22 +01:00
Alexandru Ardelean
709172c95a python-pytz: bump to version 2022.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:43:15 +02:00
Alexandru Ardelean
9481f437ac python3-pytz: bump to version 2022.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-12-17 08:32:42 +08:00
Peter Stadler
798fe3f59f django: bump version 4.0.8
fix CVE-2022-41323

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2022-12-08 08:36:15 +01:00
Julien Malik
6b21bd34f3 borgbackup: add package for 1.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 2ad61a4529)
2022-12-02 11:26:09 +01:00
Julien Malik
5a7ecd11e0 python-pyfuse3: add package for 3.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 17f58b94a7)
2022-12-02 11:26:04 +01:00
Julien Malik
bdf7a73cb5 python-trio: add package for 0.22.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 07e29c3782)
2022-12-02 11:26:00 +01:00
Julien Malik
e2b1c2cd4f python-sniffio: add package for 1.3.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit f35f4dace7)
2022-12-02 11:25:55 +01:00
Julien Malik
e029bdb32c python-outcome: add package for 1.2.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 750facea90)
2022-12-02 11:25:50 +01:00
Julien Malik
dd9ff1b6c5 python-async-generator: add package for 1.10
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 8fe1dab371)
2022-12-02 11:25:46 +01:00
Julien Malik
f0a0937011 python-exceptiongroup: add package for 1.0.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit a19f331b06)
2022-12-02 11:25:37 +01:00
Julien Malik
0310a6edf4 python-sortedcontainers: add package for 2.4.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
(cherry picked from commit 69655222fc)
2022-12-02 11:25:31 +01:00
David Bauer
3e63425d75 python-pycrate: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit e956e733c3)
2022-11-10 02:04:35 +01:00
David Bauer
2466b3c0d0 python-crcmod: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 341b07f92e)
2022-11-10 02:04:28 +01:00
Alexandru Ardelean
6f4e732871 python3-pytz: bump to version 2022.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-11-03 09:45:51 +01:00
Alexandru Ardelean
b201f469c7 numpy: bump to version 1.23.3
Also bump Cython version to 0.29.32

And yeeeey: zip -> tar.gz

And they fixed the Intel AVX extension stuff/detection.
Which is why I deferred updating it until now.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 5b9a66cd7c)
2022-10-15 17:22:11 +02:00
Michal Vasilek
33d0a7adca python3: update to 3.10.7
* fixes CVE-2021-28861
* adjust pip and setuptools versions
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit e9ddc479f9)
2022-10-11 17:57:17 +02:00
Alexandru Ardelean
a1d8cd1727 python3-pytz: bump to version 2022.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-07 20:38:44 +03:00
Michal Vasilek
219b0a1e58 python-flask-socketio: update to 5.3.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 7fd9d010a2)
2022-09-16 14:45:33 +02:00
Šimon Bořek
b3373efe5a python3: backport and fix target musl libc detection
Patch 030:
Backported from Python main branch[^1] for Python to distinguish between glibc and musl libc SOABI.

Patch 131:
Changes PLATFORM_TRIPLET -gnu/-musl suffix detection (performed by the backported patch)
to be based on the target OS instead of the building OS.

See included patches for more detailed descriptions.

Specifically this fixes cross-compilation for mpc8548 CPUs with SPE instructions[^2] enabled.

[^1]: merged to python:main as https://github.com/python/cpython/pull/24502 'bpo-43112: detect musl as a separate SOABI'
[^2]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Co-authored-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
(cherry picked from commit 992fcd1bd8)
2022-09-15 08:22:23 +02:00
Alexandru Ardelean
c3a153bdb7 pillow: bump to version 9.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit ed8420cd97)
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-09-03 14:07:08 -07:00
Alexandru Ardelean
7977389b21 pillow: bump to version 9.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e65d982541)
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-09-03 14:07:08 -07:00
Alexandru Ardelean
b15b99eede pillow: bump to version 9.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 2c2a8990bb)
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-09-03 14:07:08 -07:00
Fabian Lipken
32e4d8fa5a python-pycares: add new package
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
(cherry picked from commit 90ef79afd8)
2022-08-30 16:17:09 +02:00
Josef Schlehofer
87254d1086 python-uci: update to version 0.9.0
- Release notes:
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.9.0
- Update copyright while at it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e340fe8a12)
2022-08-26 16:55:45 +02:00
Alexandru Ardelean
b92eb75be8 django: bump to version 4.0.7
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2022-36359

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 09:30:51 +03:00
Josef Schlehofer
3e1c7b9ff4 host-pip-requirements: update Cython to version 0.29.28
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e78352c043)
2022-08-19 20:34:56 +02:00
Josef Schlehofer
63d46221bb python-websockets: update to version 10.3
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ce1679a07f)
2022-08-13 07:56:58 +02:00
Jan Hoffmann
0fd2eb51af python-paho-mqtt: add missing dependency
The uuid module has been split out into a separate package with the
update to Python 3.10.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit 52ae0a2018)
2022-08-07 00:23:03 +02:00
Alexandru Ardelean
3c5270c9d9 django: bump to version 4.0.6
Fixes https://nvd.nist.gov/vuln/detail/CVE-2022-34265

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit b0ddec3161)
2022-08-03 20:33:42 +02:00
Jeffery To
953e29f067 python-cryptography: Fix failing build
Fixes https://github.com/openwrt/packages/issues/18876.
Fixes https://github.com/openwrt/packages/issues/18879.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9e3b7d7883)
2022-07-07 09:53:48 -07:00
Alexandru Ardelean
2869c80fc5 django: bump to version 4.0.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit b9a47cc470)
2022-06-20 12:03:51 +02:00
Jeffery To
8706ce73a6 python3: Update to 3.10.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 57e2b656cb)
2022-06-15 10:04:15 +02:00
Jeffery To
867ad434ff micropython-lib: Update to latest master
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8550edbe85)
2022-05-16 06:26:52 -07:00
Alexandru Ardelean
1cd7daaa3f django: bump to version 4.0.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-28 08:32:34 +02:00
Jeffery To
3d33fa3b09 python-twisted: Update to 22.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 43a380f953)
2022-04-19 22:06:59 -07:00
Alexandru Ardelean
0286908c88 python-pytz: bump to version 2022.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 685826db73)
2022-04-05 11:11:55 +02:00
Jeffery To
4fdf1438e2 python3: Update to 3.10.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit d0efe27a8c)
2022-03-28 16:04:09 +08:00
Jeffery To
03858092b0 python3: Update to 3.10.3, refresh patches
Includes fixes for:
* Windows builds updated to bzip2 1.0.8 to mitigate CVE-2016-3189 and
  CVE-2019-12900
* CVE-2022-26488: Escalation of privilege via Windows Installer

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bed8dc2132)
2022-03-28 14:13:17 +08:00