Commit Graph

1604 Commits

Author SHA1 Message Date
Alexandru Ardelean d27d23167b python3: do a simple ls on pip & setuptools if not selected for build
I seem to forget to check/select setuptools and pip (that come bundled with
Python).
This change will do a simple 'ls' on the 2 wheel files, so that the build
fails even if just building Python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Alexandru Ardelean 8b3297e507 python3: update to version 3.9.6
Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Rosen Penev 6dee6ce5a6
Merge pull request #16043 from commodo/pillow
pillow: bump to version 8.3.0
2021-07-05 02:55:21 -07:00
Alexandru Ardelean 4361d88892 pillow: bump to version 8.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-05 11:35:01 +03:00
Alexandru Ardelean d3a64a36e9 django: bump to version 3.2.5
Several bug-fixes.
Fix CVE-2021-35042

Release notes:
  https://docs.djangoproject.com/en/3.2/releases/3.2.5/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-05 10:58:30 +03:00
Alexandru Ardelean e2026346cc python-dateutil: add setuptools-scm build dep
Following:
  https://github.com/openwrt/packages/pull/16004
  https://github.com/openwrt/packages/pull/15995
  https://github.com/openwrt/packages/issues/15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-02 16:21:33 +03:00
Alexandru Ardelean 01d1b4581e python-cryptography: bump to version 3.4.7
Dropped patches:
  0004-Replace-EVP_CIPHER_CTX_cleanup-with-EVP_CIPHER_CTX_r.patch
  0005-Switch-get_-Update-APIs-to-get0.patch

Reworked patches:
  0001-Add-new-ASN1_STRING_get0_data-API.patch
  0006-Add-X509_STORE_CTX_trusted_stack-compatibility-macro.patch
These 2 require that we keep only the CUSTOMIZATIONS stuff for now. Maybe
later we can drop this.

Ran 'make package/python-cryptography/refresh'.

Added patch:
  0004-disable-rust.patch
upstream did a sloppy job with the CRYPTOGRAPHY_DONT_BUILD_RUST logic; we
need to patch it, to make sure the setuptools-rust isn't installed.
We may need to carry this patch in our tree for a bit longer than upstream,
because in newer versions, CRYPTOGRAPHY_DONT_BUILD_RUST logic gets removed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-17 19:27:29 +03:00
Alexandru Ardelean 07dbb82e95 django: bump to version 3.2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-15 14:58:04 +03:00
Jeffery To aefabac126 python3: Add readline to dependency finder script
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-15 08:56:35 +03:00
Jeffery To 8349546208
python-twisted: Add tls/conch dependencies
By adding these dependencies, it is much easier for users (both
applications that use Twisted and end users) to have secure
communications by default.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-12 18:40:09 +08:00
Jeffery To 4b6e05d1fd
python-twisted: Update to 21.2.0, redo patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-12 06:18:50 +08:00
Josef Schlehofer 57cdc76316
Merge pull request #15833 from jefferyto/python-incremental-21.3.0
python-incremental: Update to 21.3.0, refresh patch
2021-06-11 22:16:46 +02:00
Josef Schlehofer ce15e2ffa8
Merge pull request #15830 from jefferyto/python-zope-interface-5.4.0
python-zope-interface: Update to 5.4.0
2021-06-11 22:16:24 +02:00
Jeffery To b2738e9da6
python-incremental: Update to 21.3.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-12 02:15:58 +08:00
Jeffery To ffbde739c6
python-zope-interface: Update to 5.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-11 23:44:51 +08:00
Jeffery To 0dbb3769f3
python-attrs: Update to 21.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-11 22:53:18 +08:00
Rosen Penev 65a346bc51
Merge pull request #15659 from commodo/python3-readline
python3: add python3-readline subpackage
2021-06-02 13:04:45 -07:00
Alexandru Ardelean fe698b5fca python-idna: bump to version 3.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-02 19:25:55 +03:00
Josef Schlehofer b99c1df4ce
Merge pull request #15625 from ja-pa/python-cryptodomex-update
python-cryptodomex: update to version 3.10.1
2021-05-25 21:00:09 +02:00
Alexandru Ardelean 49faf5d7ca python3: add python3-readline subpackage
Python3 comes with a built-in readline module. It wasn't included up until
now; mostly because it wasn't considered.

This change introduces it as a sub-package of the main Python3 package.
readline support is included in Python.

libreadline pulls libncursesw as a package, so python3-ncurses was
updated to pull libncursesw as well.
It should be the same package; mostly done for consistency.

Resolves the issue reported here:
  https://forum.openwrt.org/t/python3-repl-missing-readline/90039

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-19 14:17:00 +03:00
Alexandru Ardelean 5a70c9e826 django: bump to version 3.2.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-18 12:29:01 +03:00
Alexandru Ardelean 6185156e69 et_xmlfile: bump to version 1.1.0
Updating Eneas' email as requested on Github:
  https://github.com/openwrt/packages/pull/15622

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-18 12:29:01 +03:00
Alexandru Ardelean cf368395d0 python-six: bump to version 1.16.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-18 12:29:01 +03:00
Jan Pavlinec d6cb4edb4a
python-cryptodomex: update to version 3.10.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-05-14 13:08:13 +02:00
Alexandru Ardelean e312275dd9 python3: bump version to 3.9.5
Refreshed Python patches.
Updated pip & setuptools version.

For pip, patch '001-pep517-pyc-fix.patch' was reworked.

Also, the current version of the bundled pip (21.1.1) no longer supports
Python2, so the 'py2.py3' suffix gets replaced with just py3.

For setuptools, there is no longer a script/module:
  https://github.com/pypa/setuptools/pull/2544

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-05-11 11:50:35 +03:00
Javier Marcet aa959033ca python-dotenv: update to v0.17.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-05-04 20:16:19 -07:00
Jan Pavlinec 66dedebcec python-typing-extensions: update to version 3.10.0.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-05-03 18:19:24 +03:00
Eneas U de Queiroz 2151d948a5
Merge pull request #15532 from dangowrt/bunch-of-updates
a bunch of package updates
2021-05-03 11:30:53 -03:00
Daniel Golle 7b32ab78c0 python-gnupg: update to version 0.4.7
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-29 00:59:15 +01:00
Daniel Golle e70965b1aa Jinja2: update to version 2.11.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-29 00:59:15 +01:00
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