Commit graph

1624 commits

Author SHA1 Message Date
Alexandru Ardelean
27aee1fbf0 python3: introduce libpython3 with ABI_VERSION flag
Related to discussion:
  https://github.com/openwrt/packages/pull/14060

Every once in a while a version bump will occur that requires an ABI
change. Example: Python 3.8 to 3.9. When this happens some Python packages
would need to be rebuilt. In setups where everything gets rebuilt, this
isn't a problem.

It's usually a bigger problem when needing to upgrade something via
opkg.
To accommodate for this, we add a libpython with it's own ABI_VERSION
flag. If this ABI_VERSION changes, then this should propagate forward.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-04-28 14:25:01 +03:00
Jan Pavlinec
7a89793838
python-socketio: update to version 5.2.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-04-26 12:38:30 +02:00
Jan Pavlinec
024e5a2c38
python-engineio: update to version 4.1.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-04-26 12:37:51 +02:00
Alexandru Ardelean
bde027188a python-greenlet: support MIPS architecture
Fixes: https://github.com/openwrt/packages/issues/15370

This is inspired from:
   330bc94dcc/lang/python-greenlet/Makefile

The `PKG_USE_MIPS16:=0` is not taken into consideration when building
Python modules. That's because the sysconfig is used.

This is only an issue with greenlet (on MIPS) so far.

One option is to do `PKG_USE_MIPS16:=0` in the core Python package.
But, since we know that the `wlanslovenija` group has successfully used
greenlet on MIPS with this construct, we might as well adopt it until GCC10
becomes the main compiler.

As noted here:
  https://github.com/openwrt/packages/issues/15370#issuecomment-817015484
GCC10 doesn't have this problem.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-04-14 00:17:09 -07:00
Alexandru Ardelean
c01d0f16cf django: bump to version 3.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-04-12 17:51:54 -07:00
Josef Schlehofer
f4a231cdf5
Merge pull request #15396 from BKPepe/update-bottle
python3-bottle: update to version 0.12.19
2021-04-12 11:14:49 +02:00
Josef Schlehofer
8770f64816
Merge pull request #15398 from BKPepe/babel-update
python-babel: update to version 2.9.0
2021-04-12 11:14:38 +02:00
Javier Marcet
75fbd91d66 python-docker: Update to 5.0.0
Breaking changes:

- Remove support for Python 2.7

- Make Python 3.6 the minimum version supported

Features:

- Add limit parameter to image search endpoint

Bugfixes:

- Fix KeyError exception on secret create

- Verify TLS keys loaded from docker contexts

- Update PORT_SPEC regex to allow square brackets for IPv6 addresses

- Fix containers and images documentation examples

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-04-11 20:30:25 -07:00
Josef Schlehofer
a31dc44d2d
python-babel: update to version 2.9.0
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-04-12 01:05:36 +02:00
Josef Schlehofer
1a4b2b41fb
python3-bottle: update to version 0.12.19
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-04-12 00:47:57 +02:00
Jan Pavlinec
4e979ceb6b python-pytest: update to version 6.2.3
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-04-07 10:16:56 +03:00
Josef Schlehofer
757b0ea647
zeroconf: update to version 0.29.0
Update copyright in Makefile

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-04-06 22:48:19 +02:00
Alexandru Ardelean
afdcfb525c pillow: bump to version 8.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-04-05 15:11:48 -07:00
Alexandru Ardelean
156e2e354e python3: bump to version 3.9.4
For some reason Python3 jumped from 3.9.2 to 3.9.4 in about a week.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-04-05 19:32:00 +03:00
Javier Marcet
0a754f2ec1 python-dotenv: update to v0.17.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-04-05 00:42:01 +02:00
Rosen Penev
79f62459b3
Merge pull request #15074 from ja-pa/python-greenlet
python-eventlet & python-greenlet: add new packages
2021-04-03 18:46:39 -07:00
Rosen Penev
bb181a18c1
Merge pull request #15025 from ja-pa/python-flask-socketio
python-flask-socketio: add new package
2021-04-03 18:45:21 -07:00
Rosen Penev
752d357231
Merge pull request #15080 from ja-pa/python-pysocks
python-pysocks: add new package
2021-04-03 18:43:17 -07:00
Jan Pavlinec
6c9627b45d python-flask-httpauth: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-04-03 18:40:04 -07:00
Martin Matějek
df4b1ae24e
python3-pyroute2: update to version 0.5.16
Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
2021-03-30 20:00:53 +02:00
Alexandru Ardelean
731bb0265d numpy: bump to version 1.20.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-29 09:51:56 +03:00
Alexandru Ardelean
89a6254b0a python-lxml: bump to version 4.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-29 09:49:47 +03:00
Alexandru Ardelean
5d00d670b2 gunicorn: bump to version 20.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-29 09:47:07 +03:00
Alexandru Ardelean
0f9b0223cc django-restframework: bump to version 3.12.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-29 09:46:09 +03:00
Jan Pavlinec
d303bd6aac
python-eventlet: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 13:57:46 +01:00
Jan Pavlinec
837f1b5924
python-greenlet: add new package
Notes:
Build is disabled for arc and mips because
greenlet isn't ported for these platforms

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 13:57:45 +01:00
Jan Pavlinec
8133922a02
python-flask-socketio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 10:55:10 +01:00
Jan Pavlinec
ae0556e6a5
python-bidict: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 10:55:09 +01:00
Jan Pavlinec
decbd7b43a
python-socketio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 10:55:08 +01:00
Jan Pavlinec
9e011b2fc8
python-engineio: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-23 10:55:08 +01:00
Alexandru Ardelean
b0e3dedda8 openpyxl: bump to version 3.0.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-15 20:49:20 +02:00
Rosen Penev
6de752e5f2
Merge pull request #15083 from jmarcet/python_websocket_client_update
python3-websocket-client: update to 0.58.0
2021-03-10 12:09:58 -08:00
Rosen Penev
0917ea3ef4
Merge pull request #15082 from jmarcet/python_docker_update
python-docker: Update to 4.4.4
2021-03-10 12:09:31 -08:00
Jan Pavlinec
780fc502d2
python-pysocks: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-10 12:07:47 +01:00
Rosen Penev
acb72e7452 python3-libsemanage: update to 3.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-09 16:39:56 -08:00
Rosen Penev
0d05ca4a09 python3-libselinux: update to 3.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-09 16:39:56 -08:00
Javier Marcet
d58c921c9a python3-websocket-client: update to 0.58.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-03-09 23:52:14 +00:00
Javier Marcet
22b1ca6326 python-docker: Update to 4.4.4
Bugfixes:

- Remove LD_LIBRARY_PATH and SSL_CERT_FILE environment variables when
shelling out to the ssh client.

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-03-09 17:41:18 +00:00
Josef Schlehofer
8c01d5010c
Merge pull request #15047 from commodo/pillow
pillow: bump to version 8.1.2
2021-03-08 20:54:19 +01:00
Jan Pavlinec
7f85073979
python-zipp: update to version 3.4.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-08 15:23:57 +01:00
Alexandru Ardelean
c6f8536efa pillow: bump to version 8.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-03-08 09:38:06 +02:00
Rosen Penev
45dcec32ce
Merge pull request #14873 from neheb/cxx
treewide: remove uClibc++ support
2021-03-06 14:00:32 -08:00
Rosen Penev
39bc254663 treewide: remove uClibc++ support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 15:07:46 -08:00
Rosen Penev
22eec6ee26 python3-libselinux: fix musl 1.2.x compilation.
Backported upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-04 23:42:37 -08:00
Jan Pavlinec
034cba33c6
python-typing-extensions: add new package
Note:
Dependency for python3-aiohttp

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-02 17:07:25 +01:00
Jan Pavlinec
c99a19f614
python-aiohttp: update to version 3.7.4
Note:
Fixes CVE-2021-21330
Add new required dependecy python3-typing-extensions

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-02 13:42:52 +01:00
Alexandru Ardelean
dd58d24699 django: bump to version 3.1.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmai.com>
2021-02-24 20:09:57 +02:00
Rosen Penev
6420152225
Merge pull request #14782 from dddaniel/master
python-psycopg2: Add new package
2021-02-23 12:00:38 -08:00
Daniel Danzberger
7cfb9a04af python-psycopg2: Add new package
Psycopg is the most popular PostgreSQL adapter for the Python programming language
It's used by the python-sqlalchemy for postgresql

This package was removed by this commit for lacking python3 support:
c37b15e1c4

Version 2.8.6 used in this package now supports pyhton3

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2021-02-23 16:03:51 +01:00
Rosen Penev
c7b0f0b720
Merge pull request #14838 from ja-pa/python-packaging-20.9
python-packaging: update to version 20.9
2021-02-23 05:13:20 -08:00
Rosen Penev
4facaab318
Merge pull request #14841 from ja-pa/python-py-1.10.0-up
python-py: update to version 1.10.0
2021-02-23 05:10:06 -08:00
Rosen Penev
8fd9239c67
Merge pull request #14846 from ja-pa/pytho-pytest-xdist-2.2.1
python-pytest-xdist: update to version 2.2.1
2021-02-23 05:09:45 -08:00
Jan Pavlinec
ca15ab33cf
python-py: update to version 1.10.0
Fixes CVE-2020-29651

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-23 10:17:09 +01:00
Josef Schlehofer
1dd4b3be6f
Merge pull request #14844 from ja-pa/python-more-itertools-8.7.0
python-more-itertools: update to version 8.7.0
2021-02-22 19:11:33 +01:00
Jeffery To
6d9005d5ac
python3: Update to 3.9.2, refresh patches
Includes fixes for:
* CVE-2021-3177 - ctypes: Buffer overflow in PyCArg_repr
* CVE-2021-23336 - urllib parse_qsl(): Web cache poisoning - semicolon
  as a query args separator

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-22 21:58:56 +08:00
Jan Pavlinec
9192928373
python-pytest-xdist: update to version 2.2.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-22 14:33:33 +01:00
Jan Pavlinec
fb7e81861f
python-more-itertools: update to version 8.7.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-22 13:25:42 +01:00
Jan Pavlinec
6a43812fef
python-packaging: update to version 20.9
Changes:
- add python-urllib dependency

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-22 11:59:00 +01:00
Ilya Lipnitskiy
5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Javier Marcet
cce8b3ab31 python-docker: Update to 4.4.3
Bugfixes:

- Fix SSH port parsing when shelling out to the ssh client

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-02-19 11:00:21 +00:00
Rosen Penev
83f88cb59d
Merge pull request #14750 from neheb/pyreq
python-requests: split up patches into two files
2021-02-18 17:10:19 -08:00
Jeffery To
18330902a0
python3: Fix target python-config when building on macOS
The Python version of python-config is installed when building on macOS,
rather than the shell script version when building on Linux. When run on
macOS, the Python version of python-config will return values with
Mac-specific customizations.

This patches the python-config install recipe so that which version is
installed can be controlled by the package makefile. When building on
macOS, this installs the Python version for host Python and the shell
script version for target Python.

This also updates Host/Compile and Host/Install to use the default host
build recipes, so that the various HOST_* variables are taken into
account automatically.

Fixes https://github.com/openwrt/packages/issues/14652

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-17 00:01:41 +08:00
Rosen Penev
b360f25d6c python-requests: split up patches into two files
quilt cannot handle two patches in one file. It ends up merging them
and removing the description from the second. To avoid this, split into
two.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-15 20:38:11 -08:00
Javier Marcet
6d07d26a42 python-docker: Update to 4.4.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-02-15 21:33:47 +00:00
Rosen Penev
ac4cbab7d8
Merge pull request #14743 from jefferyto/python-cffi-1.14.5
python-cffi: Update to 1.14.5
2021-02-15 03:08:19 -08:00
Rosen Penev
ceb32dc42c
Merge pull request #14753 from commodo/python-updates1
python-pytz,numpy: bump versions
2021-02-15 02:30:03 -08:00
Rosen Penev
3fc29f4716
Merge pull request #14744 from jefferyto/python-cryptography-3.3.2
python-cryptography: Update to 3.3.2
2021-02-15 00:49:06 -08:00
Alexandru Ardelean
09214dec38 numpy: bump to version 1.20.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 10:42:16 +02:00
Alexandru Ardelean
ca45446f16 python-pytz: bump to version 2021.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 09:14:59 +02:00
Rosen Penev
2726eb5bf1
Merge pull request #14722 from BKPepe/sqlalchemy
python-sqlalchemy: update to version 1.3.23
2021-02-14 16:06:22 -08:00
Jeffery To
b86890b899
python-cryptography: Update to 3.3.2
This fixes CVE-2020-36242 (buffer overflows caused by integer overflow
in OpenSSL).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 06:26:38 +08:00
Jeffery To
4aba039a2d
python-cffi: Update to 1.14.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 05:35:23 +08:00
Josef Schlehofer
eef638f587
python-sqlalchemy: update to version 1.3.23
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-12 05:29:49 +01:00
Rosen Penev
4e00dc2048
Merge pull request #14689 from peter-stadler/django
django: update to 3.1.6 (fixing CVE-2021-3281)
2021-02-09 13:28:49 -08:00
Peter Stadler
18e696fedc django: update to 3.1.6
fix for CVE-2021-3281

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-02-09 08:45:29 +01:00
Erik Larsson
f8e15596fc python-ubus: add package
Python bindings for ubus.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-02-09 03:20:17 +01:00
Jeffery To
0101070676
python-hyperlink: Update to 21.0.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-08 04:49:55 +08:00
Alexandru Ardelean
005e77c7cb numpy: bump to version 1.20.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-02 16:25:10 +02:00
Jan Pavlinec
42b50c1da0 python-execnet: update to version 1.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-01 23:33:48 +02:00
Erik Larsson
b6a85b9272 python-uci: add package
Python bindings for libuci, useful for writing ansible modules to manage OpenWRT systems.
Reused Makefile from upstream: https://gitlab.nic.cz/turris/turris-os-packages/-/blob/develop/lang/python-uci/Makefile

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-01-31 18:58:00 +01:00
Jan Pavlinec
7adb6d2599 python-pytest: update to version 6.2.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:52:14 +02:00
Jan Pavlinec
b38bf0bd97 python-pytest-xdist: update to version 2.2.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:41 +02:00
Jan Pavlinec
edf63727c3 python-psutil: update to version 5.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:12 +02:00
Josef Schlehofer
f9ecc43442
python-flask-seasurf: update to version 0.3.0
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-24 10:08:04 +01:00
Alexandru Ardelean
0f21ed774c python-evdev: bump to version 1.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-20 18:56:06 +02:00
Alexandru Ardelean
deea2815a0 openpyxl: bump to version 3.0.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-20 18:56:06 +02:00
Javier Marcet
bd49d48123 python-docker: Update to 4.4.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-01-11 23:02:51 +02:00
Alexandru Ardelean
cfd1af10ff django-restframework: bump to version 3.12.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-11 22:56:45 +02:00
Alexandru Ardelean
8362abc270 pymysql: bump to version 1.0.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-11 22:56:45 +02:00
Alexandru Ardelean
c72c3b60f0 django: bump to version 3.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-11 22:56:45 +02:00
Alexandru Ardelean
56390073fa numpy: bump to version 1.19.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-11 22:56:45 +02:00
Jan Pavlinec
42a0f8bdf2
python-msgpack: update to version 1.0.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-11 13:35:06 +01:00
Josef Schlehofer
8aa4461788
python-requests: add patch to solve idna conflict
Fixes:
pkg_resources.ContextualVersionConflict: (idna 3.0 (/usr/lib/python3.9/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-10 12:06:08 +01:00
Josef Schlehofer
2f6694cbd0
python-aiohttp: update to version 3.7.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-09 19:31:06 +01:00
Josef Schlehofer
5fbd256b86
python-slugify: update to version 4.0.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-09 18:49:29 +01:00
Josef Schlehofer
0b7e74c90b
python-voluptuous-serialize: update to version 2.4.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-09 18:32:52 +01:00
Josef Schlehofer
37c307b933
python-voluptuous: update to version 0.12.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-09 18:32:08 +01:00
Alexandru Ardelean
7b4c118752 pillow: bump to version 8.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-05 14:18:27 +02:00
Alexandru Ardelean
633e372688 python-idna: bump to version 3.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-01-05 14:18:21 +02:00
Alexandru Ardelean
6482a32926 python-pyopenssl: bump to version 20.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-12-21 09:45:00 +02:00