aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* python-ble2mqtt: update to 0.1.7Quintin Hill2023-06-14
| | | | Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* python-bleak: upgrade to 0.20.2Quintin Hill2023-06-14
| | | | Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* python-dbus-fast: update to 1.86.0Quintin Hill2023-06-14
| | | | Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* python3: Update to 3.11.4, refresh patchesJeffery To2023-06-12
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-asgiref: Update to 3.7.2, rename source packageJeffery To2023-06-07
| | | | | | | | | This renames the source package to python-asgiref to match other Python packages. This also updates the package title and URL. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-django-etesync-journal: Remove packageJeffery To2023-06-07
| | | | | | | | | | | | | | | | | | | | This package was originally added[1] as it was a dependency of etesync-server 0.3.0. When etesync-server was renamed to etebase and upgraded to 0.6.1[2], this dependency was removed. No other package in the packages feed depends on this package. Upstream has also archived the git repo[3] and stated that the repo/package is deprecated. It does not appear that any newer version of etebase uses this package. This removes the python3-django-etesync-journal package; it will be submitted to the abandoned packages repo. [1]: https://github.com/openwrt/packages/pull/10469 [2]: https://github.com/openwrt/packages/pull/14063 [3]: https://github.com/etesync/journal-manager Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* passlib: Update to 1.7.4, rename source packageJeffery To2023-06-06
| | | | | | | | | This renames the source package from passlib to python-passlib to match other Python packages. This also updates the package URL and list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #21275 from jefferyto/python-typing-extensions-4.6.3Tianling Shen2023-06-06
|\ | | | | python-typing-extensions: Update to 4.6.3
| * python-typing-extensions: Update to 4.6.3Jeffery To2023-06-05
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #21274 from jefferyto/python-poetry-core-1.6.1Tianling Shen2023-06-06
|\ \ | | | | | | python-poetry-core: Update to 1.6.1
| * | python-poetry-core: Update to 1.6.1Jeffery To2023-06-05
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #21273 from jefferyto/python-hatchling-1.17.1Tianling Shen2023-06-06
|\ \ | | | | | | python-hatchling: Update to 1.17.1
| * | python-hatchling: Update to 1.17.1Jeffery To2023-06-05
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python3-bottle: Update to 0.12.25Tianling Shen2023-06-05
| | | | | | | | | | | | Fix build with Python 3.11 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | python-yarl: Update to 1.9.2Tianling Shen2023-06-05
|/ | | | | | Fix build with Python 3.11. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* micropython-mpremote: Add new packageJeffery To2023-06-02
| | | | | | | | | | From the README: This CLI tool provides an integrated set of utilities to remotely interact with and automate a MicroPython device over a serial connection. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-hatch-requirements-txt: Add new host-only packageJeffery To2023-06-02
| | | | | | | | From the README: Hatchling plugin to read project dependencies from requirements.txt Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* micropython-lib: Update to master, split target packageJeffery To2023-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package has been reworked to install the same files that are available to be downloaded/installed by mip, the package manager new to MicroPython 1.20.0. This also splits the original target package into four: * micropython-lib * Includes packages common to all MicroPython ports (python-stdlib, python-ecosys, micropython) * Contains mpy bytecode files * micropython-lib-src * Includes packages common to all MicroPython ports (python-stdlib, python-ecosys, micropython) * Contains py source files * micropython-lib-unix * Includes packages specific to the MicroPython Unix port (unix-ffi) * Contains mpy bytecode files * Installs a specific launcher (micropython-unix) that adds the Unix package directory into MicroPython's library path * micropython-lib-unix-src * Includes packages specific to the MicroPython Unix port (unix-ffi) * Contains py source files This also updates the package license, title, and description. Patches: * 001-build-unix-ffi.patch This enables the repo build script to also build the Unix-specific packages. Not sure if upstream is open to accepting this since the Unix-specific packages don't fit well into the existing package distribution mechanism. * 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch These fix instances where the unix-ffi version of the os package is overridden by the python-stdlib version. These have been submitted to upstream: https://github.com/micropython/micropython-lib/pull/672 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* micropython: Update to 1.20.0, refresh/rework patchesJeffery To2023-06-02
| | | | | | | | | | Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch are no longer necessary. This also adds a Build/InstallDev recipe to install files necessary for micropython-lib. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Werkzeug: Update to 2.3.4, rename source packageJeffery To2023-05-30
| | | | | | | | | | This renames the source package from Werkzeug to python-werkzeug to match other Python packages. This also updates the package title, description, and list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* MarkupSafe: Update to 2.1.2, rename source packageJeffery To2023-05-30
| | | | | | | | | This renames the source package from MarkupSafe to python-markupsafe to match other Python packages. This also updates the package title and description. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Jinja2: Update to 3.1.2, rename source packageJeffery To2023-05-30
| | | | | | | | | | This renames the source package from Jinja2 to python-jinja2 to match other Python packages. This also updates the package license files, title, and list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* click-log: Update to 0.4.0, rename source packageJeffery To2023-05-29
| | | | | | | | | | This renames the source package from click-log to python-click-log to match other Python packages. This also updates the package to download from PyPI, and updates the package title, URL, and dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-typing-extensions: Update to 4.6.2Jeffery To2023-05-29
| | | | | | | This also updates the SPDX license identifier, title, description and URL for the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-trove-classifiers: Update to 2023.5.24Jeffery To2023-05-29
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-gmpy2: Update to 2.1.5Jeffery To2023-05-29
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-cython: Update to 0.29.35Jeffery To2023-05-29
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-hatch-fancy-pypi-readme: Update to 23.1.0Jeffery To2023-05-29
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* bcrypt: Update to 3.2.2, rename source packageJeffery To2023-05-29
| | | | | | | | | | | This is the last released version before bcrypt's Rust rewrite; this package can be further updated after the OpenWrt Rust toolchain has stablized. This also renames the source package from bcrypt to python-bcrypt to match other Python packages, and updates the list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* pyodbc: Update to 4.0.39Tianling Shen2023-05-28
| | | | | | | * Fixed build with Python 3.11 * Removed unnecessary build depends Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* python-packages: Replace --global-option with --build-optionJeffery To2023-05-28
| | | | | | | | | | setuptools 64.0.0 deprecated the use of --global-option to pass build parameters[1]. This replaces the use of --global-option with --build-option. [1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #21194 from 1715173329/pgrAlexandru Ardelean2023-05-27
|\ | | | | python-greenlet: Update to 2.0.2
| * python-greenlet: Update to 2.0.2Tianling Shen2023-05-27
| | | | | | | | | | | | Fix build with Python 3.11. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | Merge pull request #21190 from jefferyto/python-split-packagesAlexandru Ardelean2023-05-27
|\ \ | | | | | | python3: Split venv into separate package, pip and setuptools into separate source packages
| * | python3: Split setuptools into separate source packageJeffery To2023-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Packaging setuptools from a separate source package allows it to stay updated with upstream. Host setuptools will remain installed as part of python3. Host setuptools is used in a much more controlled way and so is less critical for it to track upstream. setuptools was in a separate source package that was removed in a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that earlier package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | python3: Split pip into separate source packageJeffery To2023-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Packaging pip from a separate source package allows it to stay updated with upstream. Host pip will remain installed as part of python3. Host pip is used in a much more controlled way and so is less critical for it to track upstream. This also removes the python-pip-conf package and installs the pip.conf file as part of python3-pip. The patch 003-disable-pip-version-check.patch is originally from Debian: https://salsa.debian.org/python-team/packages/python-pip/-/blob/bb079efb8c6dd2c284eee94cf90e61bce19a6f73/debian/patches/disable-pip-version-check.patch pip was in a separate source package that was removed in a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that earlier package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | python3: Split venv module from python3-light into separate packageJeffery To2023-05-26
| |/ | | | | | | | | | | | | | | This adds a new subpackage for the venv module. This also moves the ensurepip module from python3-pip into python3-venv, as ensurepip is not necessary for pip but often used for venv. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #21188 from jefferyto/python-tomli-remove-packageTianling Shen2023-05-27
|\ \ | | | | | | python-tomli: Remove package
| * | python-tomli: Remove packageJeffery To2023-05-26
| |/ | | | | | | | | | | | | | | | | | | | | Python added tomli to its standard library in 3.11. Now that Python in the packages feed has been updated to 3.11, the separate tomli package is no longer necessary. This removes python-tomli and updates all dependant packages, removing python-tomli from their lists of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / numpy: bump version to 1.24.3Alexandru Ardelean2023-05-26
|/ | | | | | Need to also fix build for GCC 13 + musl. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #21167 from ↵Alexandru Ardelean2023-05-26
|\ | | | | | | | | jefferyto/python-packages-do-not-set-pyvenv-launcher python-packages: Remove __PYVENV_LAUNCHER__ environment variable
| * python-packages: Remove __PYVENV_LAUNCHER__ environment variableJeffery To2023-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting __PYVENV_LAUNCHER__ for Python package builds was added in a91a992abb1fe9b7c4e4e5d11532dbf18c5b213d, but neither the commit message nor the pull request[1] explain its purpose in detail. My guess is this was done to set the shebang for installed Python scripts. We now have a Makefile recipe to set the shebang, so it would be unnecessary to set this variable for this purpose. It appears that Python 3.11 has changed the handling of this (internal) environment variable, and setting it appears to be causing build errors for all Python packages. This removes setting __PYVENV_LAUNCHER__ for Python package builds. [1]: https://github.com/openwrt/packages/pull/525 Fixes: https://github.com/openwrt/packages/issues/21162 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #21168 from jefferyto/python-poetry-core-1.6.0Tianling Shen2023-05-26
|\ \ | | | | | | python-poetry-core: Update to 1.6.0
| * | python-poetry-core: Update to 1.6.0Jeffery To2023-05-25
| |/ | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / python3: Fix unnecessary linking with libbsdJeffery To2023-05-25
|/ | | | | | | | | configure will try to link with libbsd for the flock function, even when flock is available without it. Fixes: https://github.com/openwrt/packages/issues/21161 Fixes: 2445fe9fb25e ("python3: Update to 3.11.3, refresh/redo patches") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-flit-core: Update to 3.9.0Jeffery To2023-05-24
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* borgbackup: Move from lang/python into utilsJeffery To2023-05-24
| | | | | | | | lang/python is meant for Python libraries and other packages closely related to the Python language. It makes more sense for borgbackup to be in utils instead. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3: Update to 3.11.3, refresh/redo patchesJeffery To2023-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed patches: * 001-enable-zlib.patch: zlib module should be enabled automatically * 007-distutils-do-not-adjust-path.patch: Not necessary since we process shebang lines for all scripts (in python3-package.mk) * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch: Already merged * Move configure vars from config.site back into Makefile Centralizing all build information into one file makes it easier to maintain * No longer set ac_cv_header_uuid_h=yes as configure should detect libuuid * Order configure args by enable-/disable-/with-/without-, then alphabetically * Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the OpenSSL API tests with LibreSSL * Use the default Host/Compile recipe instead of picking out specific targets to make Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3: Fix hashlib module not compiled for host PythonJeffery To2023-05-24
| | | | | | | | | | | | | | | | | | | | | | 026-openssl-feature-flags.patch and 028-host-python-support-ssl-with-libressl.patch were removed in 4ecd9d67e90651a8e93760bf0b5771f7057c74a8 to fix the ssl module after libressl was upgraded to 3.7.0[1]. However, the cause of the ssl module build failure was only 028-host-python-support-ssl-with-libressl.patch. Removing 026-openssl-feature-flags.patch caused a build failure for the hashlib module. This restores 026-openssl-feature-flags.patch with an updated version of the patch from OpenBSD[2]. [1]: https://github.com/openwrt/packages/issues/20107 [2]: https://github.com/openbsd/ports/blob/26a04435bf2a09dcbe22b718bfee08997617a906/lang/python/3.10/patches/patch-Modules__hashopenssl_c Fixes: 4ecd9d67e906 ("python3: fix ssl support by removing libressl patches") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3: Fix uuid module not compiled for host PythonJeffery To2023-05-24
| | | | | | | This adds $(STAGING_DIR_HOST)/include/e2fsprogs to HOST_CFLAGS and HOST_CPPFLAGS so that configure can find uuid/uuid.h. Signed-off-by: Jeffery To <jeffery.to@gmail.com>