aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* python3: use tools/expat for host buildRosen Penev2022-09-28
| | | | | | Oversight from when the expat host build was removed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* python-jsonschema: Update to 4.16.0Javier Marcet2022-09-17
| | | | | | | | | | | - 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>
* python-jsonschema: Update to 4.15.0, broken since 4.6.0Javier Marcet2022-09-17
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python-flask-socketio: update to 5.3.1Michal Vasilek2022-09-16
| | | | Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* python3-iperf3: add iperf3 python wrapperNick Hainke2022-09-14
| | | | | | This wrapper gives us an easy to use api for using iperf3 in python. Signed-off-by: Nick Hainke <vincent@systemli.org>
* python3-flent: add flent packageNick Hainke2022-09-14
| | | | | | | | | | 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>
* python3: backport and fix target musl libc detectionŠimon Bořek2022-09-12
| | | | | | | | | | | | | | | | | | | 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>
* python-websocket-client: update to 1.4.1Javier Marcet2022-09-09
| | | | | | | | | | - 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>
* python-dotenv: update to v0.21.0Javier Marcet2022-09-09
| | | | | | | | | | | | | | | | | | | 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>
* python-docker: Update to 6.0.0Javier Marcet2022-09-09
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* Merge pull request #19238 from dynasticorpheus/pycaresAlexandru Ardelean2022-08-28
|\ | | | | python-pycares: add new package
| * python-pycares: add new packageFabian Lipken2022-08-25
| | | | | | | | Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
* | Merge pull request #19253 from turris-cz/pyuciJosef Schlehofer2022-08-26
|\ \ | | | | | | python-uci: update to version 0.9.0
| * | python-uci: update to version 0.9.0Josef Schlehofer2022-08-25
| |/ | | | | | | | | | | | | | | - 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>
* | python-pytz: bump to version 2022.2.1Alexandru Ardelean2022-08-22
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | django: bump to 4.1Alexandru Ardelean2022-08-22
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-evdev: bump to 1.6.0Alexandru Ardelean2022-08-22
|/ | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #19192 from turris-cz/cython-pip-requirementsAlexandru Ardelean2022-08-19
|\ | | | | host-pip-requirements: update Cython to version 0.29.28
| * host-pip-requirements: update Cython to version 0.29.28Josef Schlehofer2022-08-17
| | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | python3-simplejson: drop packageAlexandru Ardelean2022-08-16
| | | | | | | | | | | | | | | | 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>
* | python-websockets: update to version 10.3Josef Schlehofer2022-08-12
|/ | | | | | - Update copyright Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* python-paho-mqtt: add missing dependencyJan Hoffmann2022-08-03
| | | | | | | 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>
* python-jsonschema: Update to 4.9.0Javier Marcet2022-08-02
| | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* python3: update patches for libressl v3.5Andre Heider2022-07-23
| | | | | | | | | | | | 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>
* django: bump to version 4.0.6Alexandru Ardelean2022-07-18
| | | | | | Fixes https://nvd.nist.gov/vuln/detail/CVE-2022-34265 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-requests: bump to version 2.28.1Alexandru Ardelean2022-07-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-lxml: bump to version 4.9.1Alexandru Ardelean2022-07-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* pillow: bump to version 9.2.0Alexandru Ardelean2022-07-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-chardet: bump to version 5.0.0Alexandru Ardelean2022-07-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-cryptography: Fix failing buildJeffery To2022-07-07
| | | | | | | 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>
* python-jsonschema: Update to 4.6.1Javier Marcet2022-07-01
| | | | | | | | | | 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>
* python-websocket-client: update to 1.3.3Javier Marcet2022-06-25
| | | | | | | | - Fix unclosed socket error - Update header dict access - Add utf8 workaround to docs Signed-off-by: Javier Marcet <javier@marcet.info>
* django: bump to version 4.0.5Alexandru Ardelean2022-06-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* lxml: bump to version 4.9.0Alexandru Ardelean2022-06-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: Update to 3.10.5, refresh patchesJeffery To2022-06-13
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-jsonschema: Update to 4.6.0Javier Marcet2022-06-09
| | | | | | | | | | | | | | | | | | 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>
* micropython-lib: Update to latest masterJeffery To2022-06-06
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* openpyxl: bump to version 3.0.10Alexandru Ardelean2022-06-03
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* pillow: bump to version 9.1.1Alexandru Ardelean2022-06-03
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-jsonschema: Update to 4.5.1Javier Marcet2022-05-25
| | | | | | | | | | | 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>
* python3-paramiko: update to version 2.11.0Javier Marcet2022-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* micropython-lib: Update to latest masterJeffery To2022-05-14
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-networkx: update to 2.8W. Michael Petullo2022-05-11
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* python3-paramiko: update to version 2.10.4Javier Marcet2022-05-02
| | | | | | | | | | | | | | | | | | | | | - [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>
* Merge pull request #18403 from turris-cz/change-Flask-Jinja2-maintainerJosef Schlehofer2022-04-28
|\ | | | | Flask, Jinja2: change maintainer
| * Jinja2: change maintainer to Šimon BořekŠimon Bořek2022-04-27
| | | | | | | | | | | | | | | | | | | | | | 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>
| * Flask: change maintainer to Šimon BořekŠimon Bořek2022-04-27
| | | | | | | | | | | | | | | | | | | | | | 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>
* | django: bump to version 4.0.4Alexandru Ardelean2022-04-28
|/ | | | | | | | 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>
* pillow: bump to version 9.1.0Alexandru Ardelean2022-04-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-twisted: Update to 22.4.0, refresh patchesJeffery To2022-04-18
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>