Commit Graph

2203 Commits

Author SHA1 Message Date
Jeffery To 99a0cfdd03
python-trove-classifiers: Update to 2023.5.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-08 13:14:09 +08:00
Jeffery To 54c1303dc4
python-hatchling: Update to 1.14.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-04 14:10:43 +08:00
Jeffery To fe0dc6f48a python-hatchling: Update to 1.14.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Jeffery To 7dc6b103c5 python-trove-classifiers: Add new host-only package
From the README:

Canonical source for classifiers on PyPI.

Classifiers categorize projects per PEP 301. Use this package to
validate classifiers in packages for PyPI upload or download.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Jeffery To f4a18fbd3d python-calver: Add new host-only package
From the README:

The calver package is a setuptools extension for automatically defining
your Python package version as a calendar version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-01 13:34:40 +03:00
Stepan Henek eb7275402e 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>
2023-04-29 13:43:16 +03:00
Jeffery To a35431f2bf python: Update find stdlib script
This updates the python3-find-stdlib-depends.sh script for these
changes:

* The gdbm (dbm.gnu) package was merged into the dbm package in
  78f6c2c5ad.

* The uuid module was split into a separate package in
  4e05541782.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:49:53 +03:00
Jeffery To 743204ff2d python-idna: Update to 3.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:48:47 +03:00
Jeffery To 36587eced2 python-zope-interface: Update to 6.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:48:14 +03:00
Jeffery To 977d8e5a6f python-pyasn1: Update to 0.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-25 07:47:33 +03:00
Jeffery To b1b008f42f
python-packages: Clean up build variables
* Rename PYTHON3_PKG_SETUP_VARS to PYTHON3_PKG_BUILD_VARS, and
  PYTHON3_PKG_SETUP_DIR to PYTHON3_PKG_BUILD_PATH

  The new variable names emphasize that these values apply to the new
  build process.

* Remove PYTHON3_PKG_SETUP_ARGS set to the empty string

  These were set to override the default arguments in the old build
  process and not applicable to the new build process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:22:03 +08:00
Jeffery To 63d13aa15f
python-libraries: Update build options
This updates the build options for these packages to work with the
pyproject.toml-based build process, and removes
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:35 +08:00
Jeffery To 30bd279461
python-typing-extensions: Update to 4.5.0, add myself as maintainer
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:35 +08:00
Jeffery To 84d9831dcb
python-packaging: Remove BROKEN
With proper support of pyproject.toml-based builds in place, this
package will now build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 107e037763
python-jsonschema: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 7734502693
python-exceptiongroup: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:34 +08:00
Jeffery To 628202d269
python-astral: Remove BROKEN
With proper support for pyproject.toml-based builds in place, this
package will now build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:33 +08:00
Jeffery To 5156c0c82b
python: Add proper support for pyproject.toml-based builds
This removes the changes made in
61f202c017 and adds actual support for
pyproject.toml-based (PEP 517) builds of Python packages.

Packages can force the use of the old build process by setting
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1; this should only be a temporary
workaround until the package can be updated/fixed to use the new build
process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:33 +08:00
Jeffery To e6ae9e29d5
python-libraries: Force old build process
These packages will need adjustments to work with pyproject.toml-based
builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old
build process (when pyproject.toml-based builds are in place) for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:19:49 +08:00
Jeffery To 4a7173d27d
python-ubus: Force old build process
This package will not build with the pyproject.toml-based build process
because it has a build dependency on pytest-runner[1].

pytest-runner has been deprecated[2], so instead of adding a package for
pytest-runner to fulfill the build dependency, force this package to use
the old build process.

[1]: https://gitlab.nic.cz/turris/python-ubus/-/blob/v0.1.1/setup.py#L35
[2]: https://github.com/pytest-dev/pytest-runner#deprecation-notice

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:19:45 +08:00
Jeffery To 56b10770fc
python-twisted: Update to 22.10.0
Includes fix for CVE-2022-39348 (NameVirtualHost Host header injection).

This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To 17d5bf224c
python-pytest-forked: Update to 1.6.0
The overly-strict build requirements in 1.3.0[1] would cause a build
failure with pyproject.toml-based builds.

[1]: https://github.com/pytest-dev/pytest-forked/blob/v1.3.0/pyproject.toml#L2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To c7820e4fb1
python-pytest: Update to 7.3.0
This also removes BROKEN from the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00
Jeffery To 550c29368e
python-pycrate: Update to 0.6.0
This also changes the download to PyPI and updates several package
makefile fields.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To b1a8e4769f
python-jsonschema: Add build dependencies
These will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To 8d81b67327
python-incremental: Update to 22.10.0, redo patch, add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To 59b7a81964
python-exceptiongroup: Update to 1.1.1
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also removes the run-time dependency on python3-attrs; there is no
indication this package is required.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To be90d8aecd
python-docker: Add missing build dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To 68c0c77df6
python-dns: Update to 2.3.0
This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To b78c8ff918
python-dbus-fast: Add build dependencies
These will be required for pyproject.toml-based builds.

This also includes a patch to unpin the version requirement for
setuptools, as the current in-repo version of setuptools does not
fulfill this requirement, and there does not appear to be any specific
reason why this version requirement is necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To 0b5091bbff
python-cryptography: Update patch to disable Rust
This extends the patch to also apply for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 159895b794
python-bleak: Add build dependency
This will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 1a1b444571
python-astral: Update to 3.2
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also marks the package as BROKEN (for now) as it requires proper
support for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To 6649314a03
borgbackup: Add missing build dependencies
setuptools-scm is a declared build dependency[1], and pkgconfig will
allow setup to find the required libraries, replacing the need to set
environment variables.

[1]: https://github.com/borgbackup/borg/blob/1.2.4/setup.py#L313

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To d7bc1deb0e
python-pkgconfig: Add new host-only package
From the README:

pkgconfig is a Python module to interface with the pkg-config command
line tool for Python 3.3+.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:13 +08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Jeffery To f59b088adb
python-cython: Update to 0.29.34
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-15 19:22:06 +08:00
Quintin Hill 408502ee0a python3-ble2mqtt: add init script
Note that init script won't do much without configuration provided.
The init script comes from the upstream README file.

Also add missing dependency.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Quintin Hill 3f977e711e python3-bleak: bump to 0.20.1
This has a small fix on top of 0.20.0.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Andre Heider 4400e97473 treewide: opt out of LTO usage
These fail to build or packages depending on them do when enabling
CONFIG_USE_LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Alexandru Ardelean c59cbd13f3 python-pytz: bump to version 2023.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:05:10 +03:00
Alexandru Ardelean 0b0232ed66 pillow: bump to version 9.5.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:04:04 +03:00
Jeffery To c3996aff3a
Merge pull request #20657 from jefferyto/python-pyproject-host
python: Add pyproject.toml-based builds for host Python packages, add host packages
2023-03-31 15:51:55 +08:00
Jeffery To 8c2abb7403
python: Better host pip options
pip by default will read system-wide and per-user configuration
files[1]. Setting PIP_CONFIG_FILE=/dev/null instructs pip to not read
any config files[2].

pip will spawn child processes of itself to do work, but not all options
are passed down to the child processes[3]. Setting global options as
environment variables[4] ensures they are passed down to any child
processes.

[1]: https://pip.pypa.io/en/stable/topics/configuration/#configuration-files
[2]: https://pip.pypa.io/en/stable/topics/configuration/#pip-config-file
[3]: https://github.com/pypa/pip/issues/9081#issue-733819665
[4]: https://pip.pypa.io/en/stable/topics/configuration/#environment-variables

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To 6294cf26c7
python-hatch-fancy-pypi-readme: Add new host-only package
From the README:

hatch-fancy-pypi-readme is a Hatch metadata plugin for everyone who
cares about the first impression of their project’s PyPI landing page.
It allows you to define your PyPI project description in terms of
concatenated fragments that are based on static strings, files, and most
importantly: parts of files defined using cut-off points or regular
expressions.

Once you’ve assembled your readme, you can additionally run regular
expression-based substitutions over it. For instance to make relative
links absolute or to linkify users and issue numbers in your changelog.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To fb48859907
python-hatch-vcs: Add new host-only package
From the README:

This provides a plugin for Hatch that uses your preferred version
control system (like Git) to determine project versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To 5e832f44fc
python-hatchling: Add new host-only package
From the README:

This is the extensible, standards compliant build backend used by Hatch.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To b453daa336
python-pluggy: Update to 1.0.0, add host build, add myself as maintainer
This also marks python3-pytest as BROKEN (for now) as the in-tree
version is not compatible with this version of pluggy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To a1cfdba19c
python-pathspec: Add new host-only package
From the README:

pathspec is a utility library for pattern matching of file paths. So far
this only includes Git's wildmatch pattern matching which itself is
derived from Rsync's wildmatch. Git uses wildmatch for its gitignore
files.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:34 +08:00
Jeffery To 4465e57e5d
python-editables: Add new host-only package
From the README:

A Python library for creating "editable wheels"

This library supports the building of wheels which, when installed, will
expose packages in a local directory on sys.path in "editable mode". In
other words, changes to the package source will be reflected in the
package visible to Python, without needing a reinstall.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:49 +08:00
Jeffery To bbc9b14470
python-flit-scm: Add new host-only package
From the README:

A PEP 518 build backend that uses setuptools_scm to generate a version
file from your version control system, then flit_core to build the
package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:48 +08:00
Jeffery To 82766de815
python-poetry-core: Add new host-only package
From the README:

A PEP 517 build backend implementation developed for Poetry. This
project is intended to be a light weight, fully compliant,
self-contained package allowing PEP 517 compatible build frontends to
build Poetry managed projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:28 +08:00
Jeffery To 3ee4e7297c
python-setuptools-scm: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of setuptools-scm to depend on the host
build.

This also removes the toml host pip requirements file as toml is not
used by any other package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:35 +08:00
Jeffery To abf3f3d77c
python-typing-extensions: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To aabe27a379
python-cffi: Update to 1.15.1, add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of cffi to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To 8f32fd202e
python-pycparser: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To 790beee430
python-ply: Add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of ply to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To dcf551fbcf
python-cython: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of Cython to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:33 +08:00
Jeffery To afd6f8e445
python-wheel: Add new host-only package
From the README:

This library is the reference implementation of the Python wheel
packaging standard, as defined in PEP 427.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:27 +08:00
Jeffery To 34fb0202f9
python-build: Add new host-only package
From the documentation:

A simple, correct PEP 517 build frontend.

build will invoke the PEP 517 hooks to build a distribution package. It
is a simple build tool and does not perform any dependency management.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To f6d68782d9
python-pyproject-hooks: Add new host-only package
From the README:

This is a low-level library for calling build-backends in
pyproject.toml-based project. It provides the basic functionality to
help write tooling that generates distribution files from Python
projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To 7d171049fd
python-tomli: Add new host-only package
From the README:

Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To e9dd1a1dfc
python-packaging: Update to 23.0, add host build
This also adds myself as maintainer, and marks the target package as
BROKEN (for now) as the update requires proper support for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To 37caea7c93
python-installer: Add host-only package
From the README:

This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for
handling wheels and installing packages from wheels.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:35 +08:00
Jeffery To 7bde374538
Merge pull request #20633 from QuintinHill/python-mqtt
Package dependencies for ble2mqtt python package
2023-03-30 12:28:10 +08:00
Jeffery To 2f37a616af
python-flit-core: Add host-only package
From the README:

This provides a PEP 517 build backend for packages using Flit. The only
public interface is the API specified by PEP 517, at flit_core.buildapi.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:05 +08:00
Jeffery To fe78c07a31
python: Add pyproject.toml-based builds for host Python packages
Using pip to install host packages with pyproject.toml-based (PEP 517)
builds is problematic:

* If build isolation is used, pip will create an isolated build
  environment, install any build dependencies for the requested package,
  then build the requested package.

  It does not appear currently possible to have pip install the build
  dependencies with hash-checking mode enabled[1].

* If build isolation is not used, any build dependencies must be
  installed in the build environment before invoking pip to build the
  requested package[2].

  This would require creating a package dependency resolution system to
  install build dependencies, and any dependencies of dependencies, in
  the correct order.

* It is very difficult to patch the packages installed by pip.

This adds a new include file (python3-host-build.mk) with recipes to
install host Python packages with pyproject.toml-based builds. This is
backwards-compatible with packages that require running setup.py.

Besides addressing the above issues (the OpenWrt build system already
resolves dependencies between packages, checks all source downloads
against known hashes, and supports patching packages), host packages
also:

* Capture package licensing and maintainer information
* Enable uscan checking for package updates/CVEs
* Are a known concept for OpenWrt packagers/developers

The existing functionality of using host pip to install packages will
remain for now, but should be considered deprecated and expected to be
removed in the future.

This also updates Py3Build/CheckHostPipVersionMatch for the case where
the host-pip-requirements directory does not exist or is empty.

[1]: https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
[2]: https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-build-isolation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:05 +08:00
Jeffery To 6ef46bb919
python: Unset Python environment variables
This will prevent the user's environment variables from affecting host
Python, removing the need to manually override these variables.

It is also not necessary to set PYTHONPATH (when not working on target
Python packages) because the given directories are already included in
Python's search path by default.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:04 +08:00
Julien Malik 45a3afbfb7 borgbackup: bump to 1.2.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-03-27 09:34:50 +02:00
Julien Malik 1f25be97b6 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>
2023-03-27 09:34:50 +02:00
Quintin Hill 2af786a48d python-ble2mqtt: add package
This package allows interfacing between BLE sensors and MQTT.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-22 09:00:30 +00:00
Quintin Hill 661f14c46e python-bleak: add package
This package is a dependency of ble2mqtt.

python-asyncio is a runtime dependency of this package.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-22 09:00:30 +00:00
Quintin Hill 3c6a6746b0 python-dbus-fast: add package
This package is a dependency of bleak.  Building and installing this package via
pip on a router is not difficult and the build crashes when memory is
exhausted.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-20 13:32:04 +00:00
Quintin Hill 76b0a3c1ec python-aio-mqtt-mod: add package
This package is a dependency of ble2mqtt.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-17 23:38:22 +00:00
Alexandru Ardelean 2ecde63118 django: bump to version 4.1.7
Fixes:
   https://nvd.nist.gov/vuln/detail/CVE-2023-23969

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-17 19:32:46 +02:00
Šimon Bořek 29e75d5ba8
Jinja2: pass maintainership to Michal Vasílek
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:18 +01:00
Šimon Bořek a6f227e0aa
Flask: pass maintainership to Michal Vasílek
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:16 +01:00
Šimon Bořek b4c6c4e7c1
Jinja2: get rid of deprecated AUTORELEASE
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:14 +01:00
Šimon Bořek 76ed9d5218
Flask: get rid of deprecated AUTORELEASE
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:11 +01:00
Javier Marcet b064f6b5db python-websocket-client: update to 1.5.1
- 1.5.1
  - Fix logic bug that can cause disconnects

- 1.5.0
  - Refactor and improve ping/pong logic to resolve several issues,
  including an infinite loop issue during reconnect
  - Fix issue where `skip_utf8_validation = True` is ignored
  - Fix issue where sslopt `is_ssl` is ignored
  - Downgrade "websocket connected" message from logging.warning to
  logging.info
  - Update github actions to newer versions (669fe1b)

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-02-12 12:01:30 +02:00
Alexandru Ardelean 23b09de42d python-evdev: bump to version 1.6.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-04 18:36:36 +02:00
Alexandru Ardelean e897824537 python-chardet: bump to version 5.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-02-04 18:36:31 +02:00
Alexandru Ardelean 0ab165f1ee
Merge pull request #20387 from commodo/python3-venv-support
python3: add 'ensurepip' to python3-pip sub-package
2023-01-30 13:45:43 +02:00
Alexandru Ardelean 1f317dfb75 python3: add 'ensurepip' to python3-pip sub-package
Fixes:
  https://github.com/openwrt/packages/issues/12707

Seems to work.
Looking into the 'venv' lib, it seems it's installing pip & setuptools
inside a virtual environment.

`python3-pip` is already ~6 MB.
This adds another ~3 MB.

But, this gives users the ability to run Python virtual environments, which
is a pretty common feature of Python in production cases (usually web
stuff).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-01-25 14:03:33 +02:00
Alexandru Ardelean 61f202c017 python-build: add support for pyproject.toml files
A new PEP 517 (https://www.python.org/dev/peps/pep-0517/) has defined that
Python packages can be shipped without any `setup.py` file, and that a
`pyproject.toml` file is sufficient.

A `setup.py` shim layer is suggested as a method for running the build.

For these cases, we will add a support in the OpenWrt build-system to
provide the default `setup.py` shim layer in case this file does not exist,
but there is a `pyproject.toml` file.

We also seem to need to tweak the shim layer with the PKG_VERSION,
otherwise the detected version is 0.0.0.
We will need to see if this will be fixed later in setuptools{-scm}.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 15:58:59 +01:00
Alexandru Ardelean 1f1bd5ade9 python-requests: bump to version 2.28.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Alexandru Ardelean 5257477a02 python-pytz: bump to version 2022.7.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Alexandru Ardelean acc96ee984 pillow: bump to version 9.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Julien Malik 5dffc0af0e borgbackup: bump to 1.2.3
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-01-17 13:22:14 +08:00
Julien Malik f04af1261c python-exceptiongroup: bump to 1.1.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-01-17 13:22:14 +08:00
Rosen Penev 947210e2d2 python3-libselinux: fix URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 23:52:53 -08:00
Rosen Penev c4d28c9ba4 python3-libsemanage: fix URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 23:52:34 -08:00
Karl Palsson 4969de2bdf 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>
2023-01-12 16:25:56 +01:00
Alexandru Ardelean d17862f68c django: bump to version 4.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Alexandru Ardelean 3052324b6f python-pytz: bump to version 2022.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Alexandru Ardelean e6e3049cd7 python-lxml: bump to version 4.9.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Javier Marcet 360383a997 python-docker: Update to 6.0.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:59 +08:00
Javier Marcet b80213e65e python-jsonschema: Update to 4.17.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:50 +08:00
Javier Marcet 2ee0f893e3 python3-paramiko: update to version 2.12.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:40 +08:00
Javier Marcet 9fc88c846b python3-texttable: update to version 1.6.7
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 11:12:57 +08:00
Javier Marcet 21a558522d python-websocket-client: update to 1.4.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 11:12:08 +08:00
W. Michael Petullo 2f3b939497 python3-networkx: update to 2.8.8
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-23 10:27:19 -08:00
Waldemar Konik da564ae8cc python-curl: update to version 7.45.2
PycURL changeLog:

-----------------------------------------------------------------
PycURL 7.45.2 - 2022-12-16
-----------------------------------------------------------------
This release fixes several minor issues and adds support for several libcurl options.

-----------------------------------------------------------------
PycURL 7.45.1 - 2022-03-13
-----------------------------------------------------------------
This release fixes build when libcurl < 7.64.1 is used.

-----------------------------------------------------------------
PycURL 7.45.0 - 2022-03-09
-----------------------------------------------------------------
This release adds support for SecureTransport SSL backend (MacOS), adds ability to unset a number of multi options, adds ability to duplicate easy handles and permits pycurl classes to be subclassed.

-----------------------------------------------------------------
PycURL 7.44.1 - 2021-08-15
-----------------------------------------------------------------
This release repairs incorrect Python thread initialization logic which caused operations to hang.
-----------------------------------------------------------------

Signed-off-by: Waldemar Konik <informatyk74@interia.pl>

Compile tested: x86_64
2022-12-22 16:32:31 -08:00
Daniel Golle 2262a023fe click: update to version 8.1.3
Version 8.1.3
Released 2022-04-28

  Use verbose form of typing.Callable for @command and @group.
  pallets/click#2255

  Show error when attempting to create an option with multiple=True,
  is_flag=True. Use count instead. pallets/click#2246

Version 8.1.2
Released 2022-03-31

  Fix error message for readable path check that was mixed up with the
  executable check. pallets/click#2236

  Restore parameter order for Path, placing the executable parameter at
  the end. It is recommended to use keyword arguments instead of
  positional arguments. pallets/click#2235

Version 8.1.1
Released 2022-03-30

  Fix an issue with decorator typing that caused type checking to
  report that a command was not callable. pallets/click#2227

Version 8.1.0
Released 2022-03-28

  Drop support for Python 3.6. pallets/click#2129

  Remove previously deprecated code. pallets/click#2130

    Group.resultcallback is renamed to result_callback.

    autocompletion parameter to Command is renamed to shell_complete.

    get_terminal_size is removed, use shutil.get_terminal_size instead.

    get_os_args is removed, use sys.argv[1:] instead.

  Rely on PEP 538 and PEP 540 to handle selecting UTF-8 encoding
  instead of ASCII. Click’s locale encoding detection is removed.
  pallets/click#2198

  Single options boolean flags with show_default=True only show the
  default if it is True. pallets/click#1971

  The command and group decorators can be applied with or without
  parentheses. pallets/click#1359

  The Path type can check whether the target is executable.
  pallets/click#1961

  Command.show_default overrides Context.show_default, instead of the
  other way around. pallets/click#1963

  Parameter decorators and @group handles cls=None the same as not
  passing cls. @option handles help=None the same as not passing help.
  pallets/click#1959

  A flag option with required=True requires that the flag is passed
  instead of choosing the implicit default value. pallets/click#1978

  Indentation in help text passed to Option and Command is cleaned the
  same as using the @option and @command decorators does. A command’s
  epilog and short_help are also processed. pallets/click#1985

  Store unprocessed Command.help, epilog and short_help strings.
  Processing is only done when formatting help text for output.
  pallets/click#2149

  Allow empty str input for prompt() when confirmation_prompt=True and
  default="". pallets/click#2157

  Windows glob pattern expansion doesn’t fail if a value is an invalid
  pattern. pallets/click#2195

  It’s possible to pass a list of params to @command. Any params
  defined with decorators are appended to the passed params.
  pallets/click#2131

  @command decorator is annotated as returning the correct type if a
  cls argument is used. pallets/click#2211

  A Group with invoke_without_command=True and chain=False will invoke
  its result callback with the group function’s return value.
  pallets/click#2124

  to_info_dict will not fail if a ParamType doesn’t define a name.
  pallets/click#2168

  Shell completion prioritizes option values with option prefixes over
  new options. pallets/click#2040

  Options that get an environment variable value using
  autoenvvar_prefix treat an empty value as None, consistent with a
  direct envvar. pallets/click#2146

Version 8.0.4
Released 2022-02-18

  open_file recognizes Path("-") as a standard stream, the same as the
  string "-". pallets/click#2106

  The option and argument decorators preserve the type annotation of
  the decorated function. pallets/click#2155

  A callable default value can customize its help text by overriding
  __str__ instead of always showing (dynamic). pallets/click#2099

  Fix a typo in the Bash completion script that affected file and
  directory completion. If this script was generated by a previous
  version, it should be regenerated. pallets/click#2163

  Fix typing for echo and secho file argument. pallets/click#2174,
  pallets/click#2185

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:31:21 -08:00
Daniel Golle b5880a91a7 itsdangerous: update to version 2.1.2
Version 2.1.2
Released 2022-03-24

  Handle date overflow in timed unsign on 32-bit systems.
  pallets/itsdangerous#299

Version 2.1.1
Released 2022-03-09

  Handle date overflow in timed unsign. pallets/itsdangerous#296

Version 2.1.0
Released 2022-02-17

  Drop support for Python 3.6. pallets/itsdangerous#272

  Remove previously deprecated code. pallets/itsdangerous#273

  JWS functionality: Use a dedicated library such as Authlib instead.

  import itsdangerous.json: Import json from the standard library instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:31:11 -08:00
Daniel Golle d99b5473e5 Werkzeug: update to version 2.2.2
Version 2.2.2
Released 2022-08-08

  Fix router to restore the 2.1 strict_slashes == False behaviour
  whereby leaf-requests match branch rules and vice versa.
  pallets/werkzeug#2489

  Fix router to identify invalid rules rather than hang parsing them,
  and to correctly parse / within converter arguments.
  pallets/werkzeug#2489

  Update subpackage imports in werkzeug.routing to use the import as
  syntax for explicitly re-exporting public attributes.
  pallets/werkzeug#2493

  Parsing of some invalid header characters is more robust.
  pallets/werkzeug#2494

  When starting the development server, a warning not to use it in a
  production deployment is always shown. pallets/werkzeug#2480

  LocalProxy.__wrapped__ is always set to the wrapped object when the
  proxy is unbound, fixing an issue in doctest that would cause it to
  fail. pallets/werkzeug#2485

  Address one ResourceWarning related to the socket used by run_simple.
  pallets/werkzeug#2421

Version 2.2.1
Released 2022-07-27

  Fix router so that /path/ will match a rule /path if strict slashes
  mode is disabled for the rule. pallets/werkzeug#2467

  Fix router so that partial part matches are not allowed i.e. /2df
  does not match /<int>. pallets/werkzeug#2470

  Fix router static part weighting, so that simpler routes are matched
  before more complex ones. pallets/werkzeug#2471

  Restore ValidationError to be importable from werkzeug.routing.
  pallets/werkzeug#2465

Version 2.2.0
Released 2022-07-23

  Deprecated get_script_name, get_query_string, peek_path_info,
  pop_path_info, and extract_path_info. pallets/werkzeug#2461

  Remove previously deprecated code. pallets/werkzeug#2461

  Add MarkupSafe as a dependency and use it to escape values when
  rendering HTML. pallets/werkzeug#2419

  Added the werkzeug.debug.preserve_context mechanism for restoring
  context-local data for a request when running code in the debug
  console. pallets/werkzeug#2439

  Fix compatibility with Python 3.11 by ensuring that end_lineno and
  end_col_offset are present on AST nodes. pallets/werkzeug#2425

  Add a new faster matching router based on a state machine.
  pallets/werkzeug#2433

  Fix branch leaf path masking branch paths when strict-slashes is
  disabled. pallets/werkzeug#1074

  Names within options headers are always converted to lowercase. This
  matches RFC 6266 that the case is not relevant. pallets/werkzeug#2442

  AnyConverter validates the value passed for it when building URLs.
  pallets/werkzeug#2388

  The debugger shows enhanced error locations in tracebacks in Python
  3.11. pallets/werkzeug#2407

  Added Sans-IO is_resource_modified and parse_cookie functions based
  on WSGI versions. pallets/werkzeug#2408

  Added Sans-IO get_content_length function. pallets/werkzeug#2415

  Don’t assume a mimetype for test responses. pallets/werkzeug#2450

  Type checking FileStorage accepts os.PathLike. pallets/werkzeug#2418

Version 2.1.2
Released 2022-04-28

  The development server does not set Transfer-Encoding: chunked for
  1xx, 204, 304, and HEAD responses. pallets/werkzeug#2375

  Response HTML for exceptions and redirects starts with <!doctype
  html> and <html lang=en>. pallets/werkzeug#2390

  Fix ability to set some cache_control attributes to False.
  pallets/werkzeug#2379

  Disable keep-alive connections in the development server, which are
  not supported sufficiently by Python’s http.server.
  pallets/werkzeug#2397

Version 2.1.1
Released 2022-04-01

  ResponseCacheControl.s_maxage converts its value to an int, like
  max_age. pallets/werkzeug#2364

Version 2.1.0
Released 2022-03-28

  Drop support for Python 3.6. pallets/werkzeug#2277

  Using gevent or eventlet requires greenlet>=1.0 or PyPy>=7.3.7.
  werkzeug.locals and contextvars will not work correctly with older
  versions. pallets/werkzeug#2278

  Remove previously deprecated code. pallets/werkzeug#2276

    Remove the non-standard shutdown function from the WSGI environ
    when running the development server. See the docs for alternatives.

    Request and response mixins have all been merged into the Request
    and Response classes.

    The user agent parser and the useragents module is removed. The
    user_agent module provides an interface that can be subclassed to
    add a parser, such as ua-parser. By default it only stores the
    whole string.

    The test client returns TestResponse instances and can no longer be
    treated as a tuple. All data is available as properties on the
    response.

    Remove locals.get_ident and related thread-local code from locals,
    it no longer makes sense when moving to a contextvars-based
    implementation.

    Remove the python -m werkzeug.serving CLI.

    The has_key method on some mapping datastructures; use key in data
    instead.

    Request.disable_data_descriptor is removed, pass shallow=True
    instead.

    Remove the no_etag parameter from Response.freeze().

    Remove the HTTPException.wrap class method.

    Remove the cookie_date function. Use http_date instead.

    Remove the pbkdf2_hex, pbkdf2_bin, and safe_str_cmp functions. Use
    equivalents in hashlib and hmac modules instead.

    Remove the Href class.

    Remove the HTMLBuilder class.

    Remove the invalidate_cached_property function. Use del obj.attr
    instead.

    Remove bind_arguments and validate_arguments. Use Signature.bind()
    and inspect.signature() instead.

    Remove detect_utf_encoding, it’s built-in to json.loads.

    Remove format_string, use string.Template instead.

    Remove escape and unescape. Use MarkupSafe instead.

  The multiple parameter of parse_options_header is deprecated.
  pallets/werkzeug#2357

  Rely on PEP 538 and PEP 540 to handle decoding file names with the
  correct filesystem encoding. The filesystem module is removed.
  pallets/werkzeug#1760

  Default values passed to Headers are validated the same way values
  added later are. pallets/werkzeug#1608

  Setting CacheControl int properties, such as max_age, will convert
  the value to an int. pallets/werkzeug#2230

  Always use socket.fromfd when restarting the dev server.
  pallets/werkzeug#2287

  When passing a dict of URL values to Map.build, list values do not
  filter out None or collapse to a single value. Passing a MultiDict
  does collapse single items. This undoes a previous change that made
  it difficult to pass a list, or None values in a list, to custom URL
  converters. pallets/werkzeug#2249

  run_simple shows instructions for dealing with “address already in
  use” errors, including extra instructions for macOS.
  pallets/werkzeug#2321

  Extend list of characters considered always safe in URLs based on RFC
  3986. pallets/werkzeug#2319

  Optimize the stat reloader to avoid watching unnecessary files in
  more cases. The watchdog reloader is still recommended for
  performance and accuracy. pallets/werkzeug#2141

  The development server uses Transfer-Encoding: chunked for streaming
  responses when it is configured for HTTP/1.1. pallets/werkzeug#2090,
  pallets/werkzeug#1327, pallets/werkzeug#2091

  The development server uses HTTP/1.1, which enables keep-alive
  connections and chunked streaming responses, when threaded or
  processes is enabled. pallets/werkzeug#2323

  cached_property works for classes with __slots__ if a corresponding
  _cache_{name} slot is added. pallets/werkzeug#2332

  Refactor the debugger traceback formatter to use Python’s built-in
  traceback module as much as possible. pallets/werkzeug#1753

  The TestResponse.text property is a shortcut for
  r.get_data(as_text=True), for convenient testing against text instead
  of bytes. pallets/werkzeug#2337

  safe_join ensures that the path remains relative if the trusted
  directory is the empty string. pallets/werkzeug#2349

  Percent-encoded newlines (%0a), which are decoded by WSGI servers,
  are considered when routing instead of terminating the match early.
  pallets/werkzeug#2350

  The test client doesn’t set duplicate headers for CONTENT_LENGTH and
  CONTENT_TYPE. pallets/werkzeug#2348

  append_slash_redirect handles PATH_INFO with internal slashes.
  pallets/werkzeug#1972, pallets/werkzeug#2338

  The default status code for append_slash_redirect is 308 instead of
  301. This preserves the request body, and matches a previous change
  to strict_slashes in routing. pallets/werkzeug#2351

  Fix ValueError: I/O operation on closed file. with the test client
  when following more than one redirect. pallets/werkzeug#2353

  Response.autocorrect_location_header is disabled by default. The
  Location header URL will remain relative, and exclude the scheme and
  domain, by default. pallets/werkzeug#2352

  Request.get_json() will raise a 400 BadRequest error if the
  Content-Type header is not application/json. This makes a very common
  source of confusion more visible. pallets/werkzeug#2339

Version 2.0.3
Released 2022-02-07

  ProxyFix supports IPv6 addresses. pallets/werkzeug#2262

  Type annotation for Response.make_conditional,
  HTTPException.get_response, and Map.bind_to_environ accepts Request
  in addition to WSGIEnvironment for the first parameter.
  pallets/werkzeug#2290

  Fix type annotation for Request.user_agent_class.
  pallets/werkzeug#2273

  Accessing LocalProxy.__class__ and __doc__ on an unbound proxy
  returns the fallback value instead of a method object.
  pallets/werkzeug#2188

  Redirects with the test client set RAW_URI and REQUEST_URI correctly.
  pallets/werkzeug#2151

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:30:59 -08:00
Daniel Golle 6957a4275a MarkupSafe: update to version 2.1.1
Version 2.1.1
Released 2022-03-14
  Avoid ambiguous regex matches in striptags. pallets/markupsafe#293

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:30:48 -08:00
Nick Hainke 4ecd9d67e9 python3: fix ssl support by removing libressl patches
Remove libressl specific patches. With commit
("tools/libressl: update to 3.7.0") they are no longer needed,
rather they cause python3 to be compiled without working ssl-support.

Fixes: #20107
Suggested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-12-21 14:27:06 +01:00
Toke Høiland-Jørgensen 6818f1e521 flent: Rename and update package
Update the Flent package and move it to net/, renaming it to just 'flent'
instead of python3-flent (it's not a library, having the python3- prefix
makes no sense). Also add python3-defusedxml as a dependency to protect
against XML bombs if using the one of the backends that use XML-RPC, and
trim the dependencies to those used directly by Flent.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-12-17 23:42:51 +01:00
Alexandru Ardelean 07a72eba59 python3-pytz: bump to version 2022.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-12-16 07:34:22 +01:00
Fabian Lipken 85a4c5978b python-pycares: PKG_RELEASE:=1
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-13 11:08:12 +01:00
Fabian Lipken b0afdf5991 python-pycares: bump to 4.3.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-12 15:21:29 +01:00
Peter Stadler d321db6409 django: bump version 4.1.3
fix CVE-2022-41323

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2022-12-08 08:35:31 +01:00
Julien Malik 2ad61a4529 borgbackup: add package for 1.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik 17f58b94a7 python-pyfuse3: add package for 3.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik 07e29c3782 python-trio: add package for 0.22.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik f35f4dace7 python-sniffio: add package for 1.3.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik 750facea90 python-outcome: add package for 1.2.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik 8fe1dab371 python-async-generator: add package for 1.10
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik a19f331b06 python-exceptiongroup: add package for 1.0.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik 69655222fc python-sortedcontainers: add package for 2.4.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:03 +01:00
Alexandru Ardelean 69f5e34a65 python3-pytz: bump to version 2022.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-30 21:32:06 +01:00
Alexandru Ardelean b8e20215a2 pillow: bump to version 9.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-30 21:32:06 +01:00
Eneas U de Queiroz ec93df9f52 python-certifi: bump to 2022.9.24
This version updates the CA bundle, and needs urllib as dependency.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-21 15:10:00 -07:00
Eneas U de Queiroz 4a16e5eb8c 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>
2022-10-21 15:03:31 -07:00
Alexandru Ardelean 7a6a6540b6 django-restframework: bump to version 3.14.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-11 19:16:18 +03:00
Michal Vasilek e9ddc479f9
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>
2022-10-10 16:59:12 +02:00
Alexandru Ardelean a88277b101
Merge pull request #19554 from commodo/numpy
numpy: bump to version 1.23.3
2022-10-09 08:08:19 +03:00
Alexandru Ardelean feaf88ddc5
Merge pull request #19552 from commodo/python-pytz
python3-pytz: bump to version 2022.4
2022-10-09 08:07:55 +03:00
Alexandru Ardelean 5b9a66cd7c 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>
2022-10-07 21:19:36 +03:00
Alexandru Ardelean ad03d09c7f python3-pytz: bump to version 2022.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-07 10:34:15 +03:00
David Bauer e956e733c3 python-pycrate: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-06 12:16:14 +02:00
David Bauer 341b07f92e python-crcmod: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-06 12:16:14 +02:00
Alexandru Ardelean 3468dda484 django: bump to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-06 11:36:47 +02:00
Javier Marcet e6cc43a7f0 python-stem: update to v1.8.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-10-03 15:04:06 -07:00
Rosen Penev d09844e395 python3: use tools/expat for host build
Oversight from when the expat host build was removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-28 00:58:17 -07:00
Javier Marcet 6c553c35b3 python-jsonschema: Update to 4.16.0
- Improve the base URI behavior when resolving a $ref to a resolution
 URI which is different from the resolved schema's declared $id.
 - Accessing jsonschema.draftN_format_checker is deprecated. Instead,
 if you want access to the format checker itself, it is exposed as
 jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any
 jsonschema.protocols.Validator.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Javier Marcet 617efbc02e python-jsonschema: Update to 4.15.0, broken since 4.6.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Michal Vasilek 7fd9d010a2
python-flask-socketio: update to 5.3.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-09-16 12:51:06 +02:00
Nick Hainke c8bed78fb3 python3-iperf3: add iperf3 python wrapper
This wrapper gives us an easy to use api for using iperf3 in python.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:37:44 -07:00
Nick Hainke b8bfdc5cd6 python3-flent: add flent package
As described on GitHub page [0]:
  Flent is a Python wrapper to run multiple simultaneous
  netperf/iperf/ping instances and aggregate the results.

[0] - https://github.com/tohojo/flent

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:36:07 -07:00
Šimon Bořek 992fcd1bd8 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>
2022-09-12 14:20:14 -07:00
Javier Marcet 1c49d1a309 python-websocket-client: update to 1.4.1
- Fix stack growth bug when `run_forever` reconnects
  - Add doctest CI for sphinx docs code examples (d150099)
  - General docs improvements
  - Fix automatic reconnect with `run_forever`
  - Allow a timeout to be set when using a proxy

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:12 -07:00
Javier Marcet bb44de8634 python-dotenv: update to v0.21.0
Added:

 - CLI: add support for invocations via 'python -m'.
 - load_dotenv function now returns False.
 - CLI: add --format= option to list command.

Fixed:

 - Drop Python 3.5 and 3.6 and upgrade GA
 - Use open instead of io.open.
 - Improve documentation for variables without a value
 - Add parse_it to Related Projects
 - Update README.md
 - Improve documentation with direct use of MkDocs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:01 -07:00
Javier Marcet 7b3ceb95d9 python-docker: Update to 6.0.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:17:54 -07:00
Alexandru Ardelean 552def0637
Merge pull request #19238 from dynasticorpheus/pycares
python-pycares: add new package
2022-08-28 20:59:42 +03:00
Josef Schlehofer 72cf350b08
Merge pull request #19253 from turris-cz/pyuci
python-uci: update to version 0.9.0
2022-08-26 16:55:12 +02:00
Josef Schlehofer e340fe8a12
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>
2022-08-25 16:46:29 +02:00
Fabian Lipken 90ef79afd8 python-pycares: add new package
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-08-25 11:53:02 +02:00
Alexandru Ardelean e706b0691b python-pytz: bump to version 2022.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 16:20:01 +03:00
Alexandru Ardelean cbe023d285 django: bump to 4.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 10:00:47 +03:00
Alexandru Ardelean f5f282f0bb python-evdev: bump to 1.6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 09:12:13 +03:00
Alexandru Ardelean 8bf399f78e
Merge pull request #19192 from turris-cz/cython-pip-requirements
host-pip-requirements: update Cython to version 0.29.28
2022-08-19 20:45:10 +03:00
Josef Schlehofer e78352c043
host-pip-requirements: update Cython to version 0.29.28
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-17 16:07:16 +02:00
Alexandru Ardelean 222a8683c0 python3-simplejson: drop package
Was only used by Bigclown.
The project (Bigclown) has accepted the switch from simplejson to it's
built-in json lib, and we can now drop this lib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-16 13:12:33 -07:00
Josef Schlehofer ce1679a07f
python-websockets: update to version 10.3
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-12 21:35:39 +02:00
Jan Hoffmann 52ae0a2018 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>
2022-08-03 17:04:42 +02:00
Javier Marcet 500cdd1243 python-jsonschema: Update to 4.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:56 -07:00
Andre Heider bd6e205421 python3: update patches for libressl v3.5
Based upon patches from OpenBSD[0] and Gentoo[1].

Switched to the LibreSSL provided LIBRESSL_VERSION_NUMBER macro, which
makes OPENWRT_HOST_BUILD redundant.

[0] https://github.com/openbsd/ports/tree/master/lang/python/3.10/patches
[1] https://github.com/gentoo/libressl/tree/master/dev-lang/python/files

Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-07-23 12:28:55 -07:00
Alexandru Ardelean b0ddec3161 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>
2022-07-18 17:46:36 +03:00
Alexandru Ardelean 884ac1e35b python-requests: bump to version 2.28.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean 44e880df4b python-lxml: bump to version 4.9.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean ed8420cd97 pillow: bump to version 9.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean efd57e201d python-chardet: bump to version 5.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Jeffery To 9e3b7d7883
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>
2022-07-07 17:35:41 +08:00
Javier Marcet 83de96fbb3 python-jsonschema: Update to 4.6.1
What's Changed:

 - Type annotate format checker methods by @sirosen
 - Fix fuzzer to include instrumentation by @DavidKorczynski
 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-07-01 14:42:19 +02:00
Javier Marcet 766cfa19cf python-websocket-client: update to 1.3.3
- Fix unclosed socket error
 - Update header dict access
 - Add utf8 workaround to docs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-25 10:42:22 -07:00
Alexandru Ardelean b9a47cc470 django: bump to version 4.0.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-19 09:03:03 +02:00
Alexandru Ardelean 7fddb0b6fb lxml: bump to version 4.9.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-19 09:03:03 +02:00
Jeffery To 57e2b656cb
python3: Update to 3.10.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-06-13 18:21:20 +08:00
Javier Marcet f7a00eb6ab python-jsonschema: Update to 4.6.0
What's Changed:

 - Add package_url for changelog by @fhightower
 - Only validate unevaluated properties/items on applicable types by
 @EpicWink
 - Mark library as typed (PEP-561) by @ssbarnea
 - Add v4.5.1 to changelog by @sirosen
 - Modernize the packaging setup via PEP 621 and Hatch. by @Julian

New Contributors:

 - @fhightower made their first contribution
 - @EpicWink made their first contribution

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-09 11:01:25 -07:00
Jeffery To faa546ac0a micropython-lib: Update to latest master
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-06-06 15:09:51 -07:00
Alexandru Ardelean 5e1546c4c9 openpyxl: bump to version 3.0.10
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-03 21:30:45 -07:00
Alexandru Ardelean e65d982541 pillow: bump to version 9.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-03 21:30:45 -07:00
Javier Marcet f1ed3f5bc2 python-jsonschema: Update to 4.5.1
What's Changed:

 - Extend dynamicRef keyword by @nezhar
 - Add FORMAT_CHECKER attribute for Validator by @TiborVoelcker
 - Remove stray double-quote by @lurch
 - Ensure proper sorting of list in error message by @ssbarnea

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-25 17:04:47 -07:00
Javier Marcet 117e3d6a18 python3-paramiko: update to version 2.11.0
2.11.0:

 - [Feature] Add SSH config token expansion (eg %h, %p) when parsing
 ProxyJump directives. Patch courtesy of Bruno Inec.

 - [Support] (via #2011) Apply unittest skipIf to tests currently
 using SHA1 in their critical path, to avoid failures on systems
 starting to disable SHA1 outright in their crypto backends (eg RHEL
 9). Report & patch via Paul Howarth.

 - [Support] Update camelCase method calls against the threading
 module to be snake_case; this and related tweaks should fix some
 deprecation warnings under Python 3.10. Thanks to Karthikeyan
 Singaravelan for the report, @Narendra-Neerukonda for the patch,
 and to Thomas Grainger and Jun Omae for patch workshopping.

 - [Support] Recent versions of Cryptography have deprecated Blowfish
 algorithm support; in lieu of an easy method for users to remove it
 from the list of algorithms Paramiko tries to import and use, we’ve
 decided to remove it from our “preferred algorithms” list. This will
 both discourage use of a weak algorithm, and avoid warnings. Credit
 for report/patch goes to Mike Roest.

2.10.5:

 - [Bug] Windows-native SSH agent support as merged in 2.10 could
 encounter Errno 22 OSError exceptions in some scenarios (eg server
 not cleanly closing a relevant named pipe). This has been worked
 around and should be less problematic. Reported by Danilo Campana
 Fuchs and patched by Jun Omae.

 - [Bug] OpenSSH 7.7 and older has a bug preventing it from
 understanding how to perform SHA2 signature verification for RSA
 certificates (specifically certs - not keys), so when we added SHA2
 support it broke all clients using RSA certificates with these
 servers. This has been fixed in a manner similar to what OpenSSH’s
 own client does: a version check is performed and the algorithm used
 is downgraded if needed. Reported by Adarsh Chauhan, with fix
 suggested by Jun Omae.

 - [Bug] Align signature verification algorithm with OpenSSH re:
 zero-padding signatures which don’t match their nominal size/length.
 This shouldn’t affect most users, but will help Paramiko-implemented
 SSH servers handle poorly behaved clients such as PuTTY. Thanks to
 Jun Omae for catch & patch.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-25 17:03:28 -07:00
Jeffery To 8550edbe85 micropython-lib: Update to latest master
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-05-14 21:27:21 -07:00
W. Michael Petullo 0320174ff2 python3-networkx: update to 2.8
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:50:42 -04:00
Javier Marcet b1159e8764 python3-paramiko: update to version 2.10.4
- [Bug] Servers offering certificate variants of hostkey algorithms
 (eg ssh-rsa-cert-v01@openssh.com) could not have their host keys
 verified by Paramiko clients, as it only ever considered non-cert key
 types for that part of connection handshaking. This has been fixed.

 - [Bug] PKey instances’ __eq__ did not have the usual safety guard in
 place to ensure they were being compared to another PKey object,
 causing occasional spurious BadHostKeyException (among other things).
 This has been fixed. Thanks to Shengdun Hua for the original report
 /patch and to Christopher Papke for the final version of the fix.

 - [Support] Update camelCase method calls against the threading
 module to be snake_case; this and related tweaks should fix some
 deprecation warnings under Python 3.10. Thanks to Karthikeyan
 Singaravelan for the report, @Narendra-Neerukonda for the patch, and
 to Thomas Grainger and Jun Omae for patch workshopping.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-02 12:48:21 -07:00
Josef Schlehofer e670506a16
Merge pull request #18403 from turris-cz/change-Flask-Jinja2-maintainer
Flask, Jinja2: change maintainer
2022-04-28 13:03:01 +02:00
Alexandru Ardelean 66bf8fb484 django: bump to version 4.0.4
Fixes
https://nvd.nist.gov/vuln/detail/CVE-2022-28347
https://nvd.nist.gov/vuln/detail/CVE-2022-28346

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-28 08:32:24 +02:00
Šimon Bořek b4fa391fe6
Jinja2: change maintainer to Šimon Bořek
As we are using this package in Turris OS
and Daniel Golle decided to no longer maintain this
and some other Python packages I'd like to take
this package maintainership as was originally
suggested in https://github.com/openwrt/packages/pull/17911
by Josef Schlehofer (@BKPepe).

Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-04-27 18:56:48 +02:00
Šimon Bořek 55bfe37ee8
Flask: change maintainer to Šimon Bořek
As we are using this package in Turris OS
and Daniel Golle decided to no longer maintain this
and some other Python packages I'd like to take
this package maintainership as was originally
suggested in https://github.com/openwrt/packages/pull/17911
by Josef Schlehofer (@BKPepe).

Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-04-27 18:42:21 +02:00
Alexandru Ardelean 2c2a8990bb pillow: bump to version 9.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-19 07:38:45 +02:00
Jeffery To 43a380f953
python-twisted: Update to 22.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-04-18 19:12:27 +08:00
Alexandru Ardelean 1f0244f0c5 django: bump to version 4.0.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-07 15:32:34 -07:00
Javier Marcet a39470c44d python-websocket-client: update to 1.3.2
- Add support for pre-initialized stream socket in new WebSocketApp
 - Remove rel.saferead() in examples (f0bf03d)
 - Increase scope of linting checks (dca4022)
 - Start adding type hints (a8a4099)

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-04-05 11:10:58 +02:00
Javier Marcet b82d68e599 python-dotenv: update to v0.20.0
Added:

 - Add encoding (Optional[str]) parameter to get_key, set_key and
 unset_key. (by @bbc2)

Fixed:

 - Use dict to specify the entry_points parameter of setuptools.setup
 (by @mgorny).
 - Don't build universal wheels (by @bbc2).

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-31 06:01:58 -07:00
Alexandru Ardelean 306af23e08 python-evdev: bump to version 1.5.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-30 19:43:38 -07:00
Alexandru Ardelean 685826db73 python-pytz: bump to version 2022.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-30 19:43:38 -07:00
Javier Marcet 539f9d07a1 python3-paramiko: update to version 2.10.3
2.10.2:

 - [Bug] Fix Python 2 compatibility breakage introduced in 2.10.1.
 Spotted by Christian Hammond.

2.10.3:

 - [Bug] Switch from module-global to thread-local storage when
 recording thread IDs for a logging helper; this should avoid one
 flavor of memory leak for long-running processes. Catch & patch via
 Richard Kojedzinszky.

 - [Bug] Certificate-based pubkey auth was inadvertently broken when
 adding SHA2 support; this has been fixed. Reported by Erik Forsberg
 and fixed by Jun Omae.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-30 09:05:07 +03:00
Jeffery To d0efe27a8c python3: Update to 3.10.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-28 00:57:45 -07:00
Daniel Golle 2366b26813
Jinja2: add Josef as the maintainer of this package
It seems that Turris guys is using this package in the Turris OS, where
it is used for reForis (simple, basic UI for users)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[replace Daniel as maintainer, add commit message]
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2022-03-24 22:41:57 +00:00
Josef Schlehofer 116c0d6c39
Flask: use AUTORELEASE
This helps in cases, when someone forgets to bump PKG_RELEASE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-24 22:41:51 +00:00
Daniel Golle 934a7e22cd
Flask: add Josef as the maintainer of this package
It seems that Turris guys is using this package in the Turris OS, where
it is used for reForis (simple, basic UI for users)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[replace Daniel as maintainer, add commit message]
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2022-03-24 22:41:36 +00:00
Jeffery To bed8dc2132
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>
2022-03-21 16:43:35 +08:00
Jeffery To 60ce07b9a1 Mako: Remove package
This package (more specifically, the host version) was added for mesa in
the video feed[1]; no packages in the packages feed require this
package.

As mesa will be updated to install Mako using host pip[2], there is no
need to continue maintaining the package here. It will be imported into
the abandoned packages repo[3].

[1]: 2e17cb9a1b (commitcomment-63047904)
[2]: https://github.com/openwrt/video/pull/25
[3]: https://github.com/openwrt/packages-abandoned/pull/26

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-18 13:17:22 +00:00
Jeffery To 2f81f907c2 python3: Add Py3Build/InstallBuildDepends recipe
This adds a recipe, Py3Build/InstallBuildDepends, that installs the
requirements listed in HOST_PYTHON3_PACKAGE_BUILD_DEPENDS. This allows
other (non-Python) packages to install host Python packages by calling
this recipe, without having to know the internals of python3-package.mk.

This also updates apparmor to call this recipe.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-17 11:38:19 -07:00
Javier Marcet d09e1b23b2 python3-paramiko: update to version 2.10.1
2.10.1:

 - [Bug]: (CVE-2022-24302) Creation of new private key files using
 PKey subclasses was subject to a race condition between file creation
 & mode modification, which could be exploited by an attacker with
 knowledge of where the Paramiko-using code would write out such
 files.

 - This has been patched by using os.open and os.fdopen to ensure new
 files are opened with the correct mode immediately. We’ve left the
 subsequent explicit chmod in place to minimize any possible
 disruption, though it may get removed in future backwards-
 incompatible updates.

 - Thanks to Jan Schejbal for the report & feedback on the solution,
 and to Jeremy Katz at Tidelift for coordinating the disclosure.

2.10.0:

 - [Feature] Add support for OpenSSH’s Windows agent as a fallback
 when Putty/WinPageant isn’t available or functional. Reported by
 @benj56 with patches/PRs from @lewgordon and Patrick Spendrin.

 - [Feature] Add support for the %C token when parsing SSH config
 files. Foundational PR submitted by @jbrand42.

 - [Bug] Significantly speed up low-level read/write actions on
 SFTPFile objects by using bytearray/memoryview. This is unlikely to
 change anything for users of the higher level methods like
 SFTPClient.get or SFTPClient.getfo, but users of SFTPClient.open will
 likely see orders of magnitude improvements for files larger than a
 few megabytes in size.

 - Thanks to @jkji for the original report and to Sevastian Tchernov
 for the patch.

 - [Support] Add six explicitly to install-requires; it snuck into
 active use at some point but has only been indicated by transitive
 dependency on bcrypt until they somewhat-recently dropped it. This
 will be short-lived until we drop Python 2 support. Thanks to
 Sondre Lillebø Gundersen for catch & patch.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-16 19:45:42 -07:00
Alexandru Ardelean a85bc94a76 python-asn1crypto: drop package
I can't seem to see any package that needs it.
This was added for cryptography, since it was needed up to version 2.7
asn1-crypto doesn't have a user since commit 9d892e3cf8
So, remove it.

Abandoned packaged PR: https://github.com/openwrt/packages-abandoned/pull/23

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-16 19:39:31 -07:00
Jeffery To 26f99270d2 python-packages: Remove unused library packages
With the removal of Seafile, these library packages no longer have any
in-repo users. They will be imported into the abandoned packages
repo[1].

[1]: https://github.com/openwrt/packages-abandoned/pull/24

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-16 19:38:32 -07:00
Jeffery To 4d0d6eedfa python-jsonschema: Update to 4.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-08 21:56:02 -08:00
Javier Marcet 0395f9d2a4 python-websocket-client: update to 1.3.1
- 1.3.1:
  - Fix 10 year old bug and improve dispatcher handling for
  run_forever
  - Fix run_forever to never return None, only return True or False,
  and add two tests
  - Remove Python 3.6 support, EOL in Dec 2021

- 1.3.0:
  - BREAKING: Set Origin header to use https:// scheme when wss://
  WebSocket URL is passed
  - Replace deprecated/broken WebSocket URLs with working ones
  (6ad5197)
  - Add documentation referencing rel for automatic reconnection with
  run_forever()
  - Add missing opcodes 1012, 1013
  - Add errno.ENETUNREACH to improve error handling (da1b050)
  - Minor documentation improvements and typo fixes

- 1.2.3:
  - Fix broken run_forever() functionality

- 1.2.2:
  - Migrate wsdump script in setup.py from scripts to newer
  entry_points
  - Add support for ssl.SSLContext for arbitrary SSL parameters
  - Remove keep_running variable
  - Remove HAVE_CONTEXT_CHECK_HOSTNAME variable (dac1692)
  - Replace deprecated ssl.PROTOCOL_TLS with ssl.PROTOCOL_TLS_CLIENT
  - Simplify code and improve Python 3 support
  - Fill default license template fields
  - Update CI tests
  - Improve documentation

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:19 -08:00
Javier Marcet 1232273626 python3-distro: update to version 1.7.0
- BACKWARD COMPATIBILITY:

  - Dropped support for EOL Pythons 2.7, 3.4 and 3.5
  - Dropped support for LSB and uname back-ends when --root-dir is
  specified
  - Moved distro.py to src/distro/distro.py

- ENHANCEMENTS:

  - Documented that distro.version() can return an empty string on
  - rolling releases
  - Documented support for Python 3.10
  - Added official support for Rocky Linux distribution
  - Added a shebang to distro.py to allow standalone execution
  - Added support for AIX platforms
  - Added compliance for PEP-561

- BUG FIXES:

  - Fixed include_uname parameter oversight
  - Fixed crash when uname -rs output is empty
  - Fixed Amazon Linux identifier in distro.id() documentation
  - Fixed OpenSuse >= 15 support
  - Fixed encoding issues when opening distro release files
  - Fixed linux_distribution regression

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:05 -08:00
Jeffery To 630d6800f2
python-twisted: Update to 22.2.0
Includes fix for CVE-2022-21716 (The Twisted SSH client and server
implementation naively accepted an infinite amount of data for the
peer's SSH version identifier.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-07 04:01:16 +08:00
Alexandru Ardelean 33e1e206d3 python-lxml: bump to version 4.8.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-05 08:00:52 +02:00
Sergey V. Lobanov 45b8ef2822 python-psutil: update to version 5.9.0, fix build on macos
1. updated to 5.9.0

2. psutil can not be built on macos due to build script detects Darwin
using sys.platform and changes build logic to build for Darwin, but
OpenWrt is Linux.
This commit add patch to allow redefining sys.platform and uses
env var TARGET_SYS_PLATFORM to specify linux as sys platfrom.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-24 14:33:56 -08:00
Josef Schlehofer 2d10b0836d
MarkupSafe: update to version 2.1.0
Changelog:
https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-24 15:46:36 +01:00
Jeffery To 9f3816d1c6 python-twisted: Update to 22.1.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-02-15 16:42:13 -08:00
Alexandru Ardelean 95f38fead8 python: django: bump to 4.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-02-10 21:09:36 -08:00
Alexandru Ardelean 2c89383068 python: pillow: bump to 9.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-02-10 21:09:36 -08:00
Josef Schlehofer d34e46e535
Merge pull request #17743 from turris-cz/dnspython-bump
python-dns: update to version 2.2.0
2022-02-06 16:11:52 +01:00
Šimon Bořek 32e2a2fa2a python-sentry-sdk: update to 1.5.4
changelog: f6d3adcb3d/CHANGELOG.md (154)

Signed-off-by: Šimon Bořek <borek@autobakterie.cz>
2022-02-04 18:45:12 +01:00
Josef Schlehofer c0198bad43
python-dns: update to version 2.2.0
- Removed PYPI_SOURCE_EXT as this release provides tarball with .tar.gz
extension, which is default.

- Changelog: https://dnspython.readthedocs.io/en/stable/whatsnew.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-31 06:37:23 +01:00
Jeffery To af341cd76e micropython: Update to 1.18, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-24 15:43:39 -08:00
Sergey V. Lobanov 0e6a33a3a4 python-curl: fix build on macos
setup.py detects macos (darwin) and adds -flat_namespace flag. This
flag is not compatible with GCC that is used to compile target.

This patch patch disables darwin detection

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:09:35 -08:00
Jeffery To 5b2c8bccf3
python3: Update to 3.10.2, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-17 04:32:42 +08:00
Jeffery To 6754a2c80a micropython-lib: Update to latest master
The last tagged release (v1.9.3) was in 2017. This updates the package
to the most recent commit of the master branch.

This also sets myself at the maintainer.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:24:13 -08:00
Jeffery To b9d10fc3e6 micropython: Update to 1.17, reorganize package
Previous versions used a bundled version of the axTLS library. The
MicroPython project maintains their own fork[1], as development of the
library appears to have stopped (the last release was version 2.1.5 in
2019[2]).

This replaces the use of axTLS with two variants, one using mbedTLS and
one with no TLS support (and no upip, as it uses the ussl module). The
external mbedTLS patch (040-extmod-use-external-mbedtls.patch) comes
from Debian[3].

This also sets myself as the maintainer.

[1]: https://github.com/micropython/axtls
[2]: https://sourceforge.net/projects/axtls/files/
[3]: https://salsa.debian.org/yangfl-guest/micropython/-/blob/master/debian/patches/0006-extmod-Use-system-mbedtls.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:24:13 -08:00
Javier Marcet 9121756e92 python3-paramiko: update to version 2.9.2
- [Bug]: Enhanced log output when connecting to servers that do not
 support server-sig-algs extensions, making the new-as-of-2.9
 defaulting to SHA2 pubkey algorithms more obvious when it kicks in.

 - [Bug]: Connecting to servers which support server-sig-algs but
 which have no overlap between that list and what a Paramiko client
 supports, now raise an exception instead of defaulting to
 rsa-sha2-512 (since the use of server-sig-algs allows us to know
 what the server supports).

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:42 -08:00
Javier Marcet c579abeb78 python-pynacl: update to v1.5.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:30 -08:00
Alexandru Ardelean 1eea3d4b2c django: bump to version 4.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-01-09 19:13:08 +02:00
Josef Schlehofer bcc7f0c55b
Merge pull request #17492 from jefferyto/python-attrs-21.4.0
python-attrs: Update to 21.4.0
2022-01-07 21:40:50 +01:00
Jeffery To 6ab9051695
Merge pull request #17429 from erdoukki/2to3
2to3: add package host tool
2022-01-07 10:42:40 +08:00
Josef Schlehofer ab7db4491a
Merge pull request #17481 from jefferyto/python-3.10.1
python3: Update to 3.10.1, refresh/remove patches
2022-01-06 23:24:27 +01:00
Kerma Gérald 2f91e1c9c5 2to3: add package host tool
2to3 is a Python program that reads Python 2.x source code and applies a
  series of fixers to transform it into valid Python 3.x code. The standard
  library contains a rich set of fixers that will handle almost all code. 2to3
  supporting library lib2to3 is, however, a flexible and generic library, so it
  is possible to write your own fixers for 2to3. lib2to3 could also be adapted
  to custom applications in which Python code needs to be edited automatically.

This tool is necessary for fail2ban package because of issue
  https://github.com/openwrt/packages/issues/17311
  https://github.com/openwrt/packages/pull/17341

Simple 2to3.py script from Debian, thanks to Matthias Klose <doko@ubuntu.com>
From: https://salsa.debian.org/cpython-team/python3-defaults

Co-authored-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-05 15:20:13 +01:00
Jeffery To d63664a5e7
python3: Update to 3.10.1, refresh/remove patches
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-05 16:10:01 +08:00
Jeffery To 8a10f69761
python-attrs: Update to 21.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-04 14:48:29 +08:00
Jeffery To 3aefcd25c9
Merge pull request #17460 from BKPepe/stem
python-stem: backport patch to fix Python 3.10
2022-01-04 01:56:20 +08:00
Jeffery To 8df2fb4fe5
Merge pull request #17442 from commodo/django-restframework
django-restframework: bump to version 3.13.1
2022-01-04 01:44:14 +08:00
Jeffery To c40c3edf58
Merge pull request #17466 from BKPepe/markdown
python-markdown: update to version 3.3.6
2022-01-03 22:57:05 +08:00
Jeffery To 490dd780fe
Merge pull request #17463 from BKPepe/voluptuous-serialize
python-voluptuous-serialize: update to version 2.5.0
2022-01-03 22:54:40 +08:00
Josef Schlehofer 47a279128a
python-stem: backport patch to fix Python 3.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-03 15:52:33 +01:00
Jeffery To 9e08a03056
Merge pull request #17462 from BKPepe/zeroconf-update
python-zeroconf: update to version 0.38.1
2022-01-03 22:52:30 +08:00
Jeffery To bce5ce9299
Merge pull request #17458 from BKPepe/dnspython-2.1.0
python-dns: update to version 2.1.0
2022-01-03 22:42:05 +08:00
Josef Schlehofer 79d3401c6f
python-markdown: update to version 3.3.6
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 12:38:05 +01:00
Josef Schlehofer aaa31d30a1
python-voluptuous-serialize: update to version 2.5.0
- Release notes:
https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/2.5.0

- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:10:40 +01:00
Josef Schlehofer f62565423b
python-zeroconf: update to version 0.38.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:06:28 +01:00
Josef Schlehofer 447c6fd57b
python-dns: update to version 2.1.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-30 20:02:57 +01:00
Alexandru Ardelean e8d92cd559 django-restframework: bump to version 3.13.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 16:15:31 +02:00
Alexandru Ardelean 9a231e4301 numpy: bump to version 1.21.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 12:17:58 +02:00
Javier Marcet 6bdc4038fa python3-paramiko: update to version 2.9.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-12-26 23:15:49 +01:00
Alexandru Ardelean b766794c05 python-lxml: update to version 4.7.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-20 20:58:58 +01:00
W. Michael Petullo 41f3106144 python3-networkx: update to 2.6.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:51 -06:00
W. Michael Petullo 59ee9a7119 python3-libselinux: update to 3.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:27 -06:00
Eneas U de Queiroz c7766f0b95
python-rcssmin: bump to version 1.1.0
Relevant changes:
 * quoted data urls which are not base64 encoded keep their spaces now
 * accept bytes and text as input. All other types now raise a TypeError
 * update python & gcc support
 * python version will only accept the C implementation if the versions
   match exactly. This should prevent using older installed C versions.

Along with the version bump:
 - update maintainer email address
 - use $(AUTORELEASE)

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-30 17:56:47 -03:00
Alexandru Ardelean add867a001
Merge pull request #17206 from cotequeiroz/seafile-broken
treewide: mark django1 and dependents BROKEN
2021-11-29 22:02:57 +02:00
Javier Marcet acb795c626 python-dotenv: update to v0.19.2
What's Changed:

Fixed:

 - Add missing trailing newline before adding new entry with set_key
 by @bbc2 in #361

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-29 01:42:56 -08:00
Eneas U de Queiroz 9d97f4ba14
treewide: mark django1 and dependents BROKEN
Django 1.x is not compatible with python 3.10.
Mark the package as BROKEN.  Since its dependent packages will also
select it, they will need to be marked BROKEN as well to avoid recursive
dependencies--packages not marked as BROKEN will be able to select the
broken package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-27 10:27:16 -03:00
Alexandru Ardelean 122ee76623
Merge pull request #17154 from jefferyto/python-pycparser-2.21
python-pycparser: Update to 2.21, update patch
2021-11-23 13:35:19 +02:00
Alexandru Ardelean 48ce6e48b6 python-packages: remove myself as maintainer
There's been a bit of overlapping opinions on some of these packages.
The best thing to do here is to reduce ownership and relinquish my
control.

This patch does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-23 13:14:43 +02:00
Alexandru Ardelean c8644bd19a
Merge pull request #17142 from commodo/python-yaml
python-yaml: bump to version 6.0
2021-11-22 10:29:24 +02:00
Alexandru Ardelean 1024d42ac6 python-yaml: bump to version 6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-21 10:00:28 +02:00
Jeffery To 320da906a2
python-pycparser: Update to 2.21, update patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-11-19 21:47:38 +08:00
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