aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * 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>
* | borgbackup: add missing dependenciesJulien Malik2023-03-27
|/ | | | | | | | | | | | | | | 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: https://github.com/openwrt/packages/blob/392a68e24774294590abf9c08ea1832f2cee190d/lang/python/README.md Fixes #20441 Signed-off-by: Julien Malik <julien.malik@paraiso.me>
* django: bump to version 4.1.7Alexandru Ardelean2023-02-17
| | | | | | | Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-23969 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* Jinja2: pass maintainership to Michal VasílekŠimon Bořek2023-02-14
| | | | Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
* Flask: pass maintainership to Michal VasílekŠimon Bořek2023-02-14
| | | | Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
* Jinja2: get rid of deprecated AUTORELEASEŠimon Bořek2023-02-14
| | | | Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
* Flask: get rid of deprecated AUTORELEASEŠimon Bořek2023-02-14
| | | | Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
* python-websocket-client: update to 1.5.1Javier Marcet2023-02-12
| | | | | | | | | | | | | | | | - 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>
* python-evdev: bump to version 1.6.1Alexandru Ardelean2023-02-04
| | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* python-chardet: bump to version 5.1.0Alexandru Ardelean2023-02-04
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #20387 from commodo/python3-venv-supportAlexandru Ardelean2023-01-30
|\ | | | | python3: add 'ensurepip' to python3-pip sub-package
| * python3: add 'ensurepip' to python3-pip sub-packageAlexandru Ardelean2023-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | python-build: add support for pyproject.toml filesAlexandru Ardelean2023-01-22
|/ | | | | | | | | | | | | | | | | | 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>
* python-requests: bump to version 2.28.2Alexandru Ardelean2023-01-22
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-pytz: bump to version 2022.7.1Alexandru Ardelean2023-01-22
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* pillow: bump to version 9.4.0Alexandru Ardelean2023-01-22
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* borgbackup: bump to 1.2.3Julien Malik2023-01-17
| | | | Signed-off-by: Julien Malik <julien.malik@paraiso.me>
* python-exceptiongroup: bump to 1.1.0Julien Malik2023-01-17
| | | | Signed-off-by: Julien Malik <julien.malik@paraiso.me>
* python3-libselinux: fix URLRosen Penev2023-01-14
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* python3-libsemanage: fix URLRosen Penev2023-01-14
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* python-requests: update URLKarl Palsson2023-01-12
| | | | | | | | 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>
* django: bump to version 4.1.5Alexandru Ardelean2023-01-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-pytz: bump to version 2022.7Alexandru Ardelean2023-01-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-lxml: bump to version 4.9.2Alexandru Ardelean2023-01-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-docker: Update to 6.0.1Javier Marcet2023-01-01
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python-jsonschema: Update to 4.17.3Javier Marcet2023-01-01
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python3-paramiko: update to version 2.12.0Javier Marcet2023-01-01
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python3-texttable: update to version 1.6.7Javier Marcet2023-01-01
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python-websocket-client: update to 1.4.2Javier Marcet2023-01-01
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python3-networkx: update to 2.8.8W. Michael Petullo2022-12-23
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* python-curl: update to version 7.45.2Waldemar Konik2022-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* click: update to version 8.1.3Daniel Golle2022-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>