Commit graph

1698 commits

Author SHA1 Message Date
Alexandru Ardelean
4e05541782 python3: bump to version 3.10.0
Manually re-applied:
  008-distutils-use-python-sysroot.patch
  016-adjust-config-paths.patch

Drop patch: 003-do-not-run-distutils-tests.patch
There is now a configure option '--disable-test-modules'
And seems we left the '_ctypes_test' around for quite some time.
Dropped now.
Refs:
  https://bugs.python.org/issue27640
  https://bugs.python.org/issue43282

Drop patch: 013-getbuildinfo-date-time-source-date-epoch.patch
Python build honors SOURCE_DATE_EPOCH pretty well now.

Drop setuptools patches. Setuptools should be reproducible with Python 3.6+
according to a mention here:
  https://github.com/pypa/setuptools/pull/1690#issuecomment-536517456
It's time to let upstream fix Setuptools reproduce-ability.

Drop patch: 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch
I can't seem to fully remember why it's there.
And it seem to build fine without it.

Drop patch: 015-abort-on-failed-modules.patch
Python build supports a similar PYTHONSTRICTEXTENSIONBUILD=1 env-var
option.

Add patch: 026-openssl-feature-flags.patch
We need to keep this in our tree for a while.
See:
  https://bugs.python.org/issue45627

Backport patch: 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
Link: https://github.com/python/cpython/pull/29353
Fixes the build for uuid C module.

Add patch: 028-host-python-support-ssl-with-libressl.patch
We need the _ssl module working on the host-side with LibreSSL for pip to
work to download from https://pypi.org
Refs: https://github.com/openwrt/openwrt/pull/4749

Add patch: 029-disable-deprecation-warning.patch
Fixes apparmor build. The warning causes a configure error.

Refreshed the rest of patches.

Some old build-flags were removed. They don't seem to be necessary anymore.

Split python3-uuid from python3-light. To better manage the libuuid library
(if needed). Also, fixing the uuid C module build. Seems this was failing,
and was falling back to using hashlib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-19 13:30:14 +02:00
Alexandru Ardelean
7cead5b8e6
Merge pull request #17143 from commodo/py-greenlet
python-greenlet: bump to version 1.1.2
2021-11-19 10:27:14 +02:00
Alexandru Ardelean
35910b2673
Merge pull request #17123 from commodo/python-updates1
python-lxml,django,numpy: bump versions
2021-11-17 15:35:22 +02:00
Alexandru Ardelean
571e6af347 ruamel-yaml: bump to version 0.17.17
The older one won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 14:15:10 +02:00
Alexandru Ardelean
b1009ff543 python-greenlet: bump to version 1.1.2
The older version won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 10:55:17 +02:00
Daniel Golle
e020b6347a
Flask: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:20 +00:00
Daniel Golle
e971718892
Werkzeug: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:14 +00:00
Daniel Golle
7c3d48497f
Jinja2: update to version 3.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:08 +00:00
Daniel Golle
6ea6c94a48
click: update to version 8.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:00 +00:00
Alexandru Ardelean
5ae76d9d60 django: bump to version 3.2.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:26:33 +02:00
Alexandru Ardelean
d8b38b1102 numpy: bump to version 1.21.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:24:39 +02:00
Alexandru Ardelean
7d1c3560d8 python-lxml: bump to 4.6.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:23:07 +02:00
Alexandru Ardelean
b84b71c149 python-six: remove host-build
There are no more users left in this tree.
So, remove it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-10 14:54:44 +02:00
Peter Stadler
55c3bc14f7 nginx, python3-{asgiref,django-cors-headers,drf-nested-routers,sqlparse}: bump versions
Update to the newest versions and switch to $(AUTORELEASE) for the python3 packages (where I am the maintainer).

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-10-30 01:12:02 -07:00
Alexandru Ardelean
784f2a519b python-paho-mqtt: bump to version 1.6.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Alexandru Ardelean
52aadf9579 numpy: bump to version 1.21.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Alexandru Ardelean
0f84091abe django: bump to version 3.2.8
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
ee2a4278d9 python-cffi: bump to version 1.15.0
And use AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
9fe8937d54 python-idna: bump to version 3.3
And use AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
6063add545 pillow: bump to version 8.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Rosen Penev
5bf74f2ad4 expat: don't build host libs
tools/expat is actually what's used by the various packages that
supposedly depend on expat/host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-19 13:16:18 -07:00
Eneas U de Queiroz
f263ed4449 python-qrcode: bump to 7.3.1
This is a major update, which drops support for python < 3.6, among
other changes, better seen at:
https://github.com/lincolnloop/python-qrcode/blob/v7.3.1/CHANGES.rst

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
3aa1ac74c7 django-formtools: bump to 2.2.0
This is the highest version supported by seafile-seahub, because of
the django1 requirement.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
8628559c39 django-webpack-loader: bump to 0.7.0
This is the highest version that works with seafile-seahub 7.1.5.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
3b1e48e546 python-oauthlib: bump to 3.1.1
This is a minor update, which officially supports Python 3.8, and
removes Python 2 code, among several bugfixes.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
b97851e76f pyjwt: update to 2.2.0
This is a major update to the latest version.

There are many changes, better seen at
https://github.com/jpadilla/pyjwt/blob/2.2.0/CHANGELOG.rst

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
711595a4fe defusedxml: bump to v. 0.7.0
This release adds support for Python 3.9.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Javier Marcet
f424ecff1f python-docker: Update to 5.0.3
Features:
 - Add cap_add and cap_drop parameters to service create and
 ContainerSpec
 - Add templating parameter to config create

Bugfixes:
 - Fix getting a read timeout for logs/attach with a tty and slow
 output

Miscellaneous:
 - Fix documentation examples

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:47 -07:00
Javier Marcet
7be2632755 python-dotenv: update to v0.19.1
What's Changed

 - CHANGELOG.md: Fix typos discovered by codespell by @cclauss in #350
 - Add Python 3.10 support by @theskumar in #359

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:37 -07:00
Javier Marcet
70138a4ff5 python3-paramiko: update to version 2.8.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:25 -07:00
Eneas U de Queiroz
aeddcb279c python-certifi: bump to 2021.11.8
Latest bundle form mozilla.org.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 17:07:02 -07:00
Alexandru Ardelean
9730942d83
Merge pull request #16856 from jefferyto/python-pyopenssl-21.0.0
python-pyopenssl: Update to 21.0.0
2021-10-12 10:33:50 +03:00
Daniel Golle
ccd3b6c0a5
pynacl: fix build with updated sodium-minimal patch
Commit 3da874371 ("libsodium: include ed25519_core in minimal build")
broke the build of PyNaCl. Add patch to always include all ed25519
functions which are now always covered even if libsodium is built with
the MINIMAL option.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-10 22:51:37 +01:00
Jeffery To
311539cb72
python-pyopenssl: Update to 21.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-10-11 05:28:33 +08:00
Daniel Golle
264f7b2f5f
pyodbc: update to version 4.0.32
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:43 +01:00
Alexandru Ardelean
589c6bb2de python-pytz: bump to version 2021.3
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-08 09:41:02 -07:00
Daniel Golle
2e17cb9a1b
Mako: add python markup library
Mako is needed for some packages to build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:20:37 +01:00
Alexandru Ardelean
66f9fca58f
Merge pull request #16752 from paper42/python-websocket
python-websockets: new package
2021-10-01 13:55:46 +03:00
Alexandru Ardelean
94cdf89269 pillow: add webp support
Requested via: https://github.com/openwrt/packages/pull/16732

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:29:13 -07:00
Alexandru Ardelean
c9c6287c97 openpyxl: bump to version 3.0.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:28:40 -07:00
Michal Vasilek
d5212d38bc
python3-package.mk: fix syntax error in FindStdlibDepends
When running FindStdlib and running DependsCheckHostPipVersionMatch at
the same time, both commands were joined together resulting in a syntax
error.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:53 +02:00
Michal Vasilek
bc10fbaebf
python-websockets: new package
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:45 +02:00
Alexandru Ardelean
a1d32499ca python3: enable bluetooth support by default
Bluetooth support requires bluez-libs present, but they are only required
for the build, and don't seem to be needed to be present on the target.

There isn't any linking required to libbluetooth. It's only the bluetooth.h
header that is required for building BT support into Python.

For testing, this snippet was used from `Lib/test/test_socket.py` (inside
cpython):
```
def _have_socket_bluetooth():
    """Check whether AF_BLUETOOTH sockets are supported on this host."""
    try:
        # RFCOMM is supported by all platforms with bluetooth support. Windows
        # does not support omitting the protocol.
        s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM)
    except (AttributeError, OSError):
        return False
    else:
        s.close()
    return True
```

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-27 11:01:07 -07:00
Javier Marcet
8bf9c058ad python3-texttable: update to version 1.6.4
- Fix alignment bug when deco is modified

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:10 -07:00
Javier Marcet
313109e6a6 python-dotenv: update to v0.19.0
Changed:

 - Require Python 3.5 or a later version. Python 2 and 3.4 are no
 longer supported

 - Raise ValueError if quote_mode isn't one of always, auto or never
 in set_key

 - When writing a value to a .env file with set_key or dotenv set
 <key> <value>

Added:

 - The dotenv_path argument of set_key and unset_key now has a type of
 Union[str, os.PathLike] instead of just os.PathLike

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:01 -07:00
Javier Marcet
e652a8c958 python-docker: Update to 5.0.2
Bugfixes:

 - Fix disable_buffering regression

 - Bring back support for ssh identity file

 - Cleanup remaining python-2 dependencies

 - Fix image save example in docs

Miscellaneous:

 - Bump urllib3 to 1.26.5

 - Bump requests to 2.26.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:11:51 -07:00
Matt Merhar
77ebd65f49 python3-speedtest-cli: update to 2.1.3
This includes a fix for a breaking change in the Speedtest API.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2021-09-18 20:40:54 -04:00
Josef Schlehofer
1deaf6dbbe
python-astral: update to version 2.2
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-17 16:03:47 +02:00
Alexandru Ardelean
c0742dfbe5
Merge pull request #16552 from turris-cz/awesomeversion
python-awesomeversion: add it to the repository
2021-09-16 15:54:58 +03:00
Josef Schlehofer
ef3a04b886
python-awesomeversion: add it to the repository
This package is dependency for Home Assistant

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-15 12:15:52 +02:00