aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * borgbackup: Add missing build dependenciesJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | 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>
| * python-pkgconfig: Add new host-only packageJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | 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>
* | python-hatchling: Update to 1.14.1Jeffery To2023-05-04
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-hatchling: Update to 1.14.0Jeffery To2023-05-01
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-trove-classifiers: Add new host-only packageJeffery To2023-05-01
| | | | | | | | | | | | | | | | | | | | | | 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>
* | python-calver: Add new host-only packageJeffery To2023-05-01
| | | | | | | | | | | | | | | | | | 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>
* | python-eventlet: bump to version 0.33.3Stepan Henek2023-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | python: Update find stdlib scriptJeffery To2023-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | This updates the python3-find-stdlib-depends.sh script for these changes: * The gdbm (dbm.gnu) package was merged into the dbm package in 78f6c2c5ad2fd3de8a33a1cddb02204177cf60ad. * The uuid module was split into a separate package in 4e05541782edeb06b51d691dadf52648df24c940. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-idna: Update to 3.4Jeffery To2023-04-25
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-zope-interface: Update to 6.0, refresh patchJeffery To2023-04-25
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-pyasn1: Update to 0.5.0Jeffery To2023-04-25
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python-cython: Update to 0.29.34Jeffery To2023-04-15
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-ble2mqtt: add init scriptQuintin Hill2023-04-11
| | | | | | | | | 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>
* python3-bleak: bump to 0.20.1Quintin Hill2023-04-11
| | | | | | This has a small fix on top of 0.20.0. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* treewide: opt out of LTO usageAndre Heider2023-04-08
| | | | | | | These fail to build or packages depending on them do when enabling CONFIG_USE_LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-04-08
| | | | | | | 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>
* python-pytz: bump to version 2023.3Alexandru Ardelean2023-04-03
| | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* pillow: bump to version 9.5.0Alexandru Ardelean2023-04-03
| | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* Merge pull request #20657 from jefferyto/python-pyproject-hostJeffery To2023-03-31
|\ | | | | python: Add pyproject.toml-based builds for host Python packages, add host packages
| * python: Better host pip optionsJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python-hatch-fancy-pypi-readme: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python-hatch-vcs: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | 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>
| * python-hatchling: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | From the README: This is the extensible, standards compliant build backend used by Hatch. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pluggy: Update to 1.0.0, add host build, add myself as maintainerJeffery To2023-03-31
| | | | | | | | | | | | | | 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>
| * python-pathspec: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | 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>
| * python-editables: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python-flit-scm: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | 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>
| * python-poetry-core: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | 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>
| * python-setuptools-scm: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | 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>
| * python-typing-extensions: Add host buildJeffery To2023-03-31
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-cffi: Update to 1.15.1, add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | 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>
| * python-pycparser: Add host buildJeffery To2023-03-31
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-ply: Add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | 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>
| * python-cython: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | 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>
| * python-wheel: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | 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>
| * python-build: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | 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>
| * python-pyproject-hooks: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | | | 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>
| * python-tomli: Add new host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | 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>
| * python-packaging: Update to 23.0, add host buildJeffery To2023-03-31
| | | | | | | | | | | | | | | | 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>
| * python-installer: Add host-only packageJeffery To2023-03-31
| | | | | | | | | | | | | | | | | | | | 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>
| * python-flit-core: Add host-only packageJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | 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>
| * python: Add pyproject.toml-based builds for host Python packagesJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * python: Unset Python environment variablesJeffery To2023-03-30
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #20633 from QuintinHill/python-mqttJeffery To2023-03-30
|\ \ | |/ |/| Package dependencies for ble2mqtt python package
| * python-ble2mqtt: add packageQuintin Hill2023-03-22
| | | | | | | | | | | | This package allows interfacing between BLE sensors and MQTT. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
| * python-bleak: add packageQuintin Hill2023-03-22
| | | | | | | | | | | | | | | | 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>
| * python-dbus-fast: add packageQuintin Hill2023-03-20
| | | | | | | | | | | | | | | | 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>
| * python-aio-mqtt-mod: add packageQuintin Hill2023-03-17
| | | | | | | | | | | | This package is a dependency of ble2mqtt. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* | borgbackup: bump to 1.2.4Julien Malik2023-03-27
| | | | | | | | Signed-off-by: Julien Malik <julien.malik@paraiso.me>