aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
* python-charset-normalizer: Update to 3.3.2Jeffery To2023-11-02
| | | | | | This also updates the test.sh script to use an assert. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* micropython: Update to 1.21.0, refresh/redo patchesJeffery To2023-11-01
| | | | | | | | | | | | | | | | | | | | | | | Removed 050-py-stackctrl-fix-gcc-13.patch as it has been merged in the new version. This also: * Add STRIP= (empty value) to skip micropython's stripping step, letting the OpenWrt build system control stripping. * Add a workaround for "variable might be clobbered" warning leading to build error on riscv64 (https://github.com/micropython/micropython/issues/12838). * Change Build/InstallDev to install host tools into an unversioned directory, and update micropython-lib to use the unversioned path. There is no need to keep available multiple versions of the host tools. * Add a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* micropython-mpremote: Update to 1.21.0, rename package, move into utilsJeffery To2023-11-02
| | | | | | | | | This renames the package to mpremote and moves it into utils, as this is a command-line utility and not a Python/MicroPython library. This also adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-setuptools-rust: Update to 1.8.1, remove patchJeffery To2023-11-02
| | | | | | | | | 0001-Allow-profile-to-be-set-by-SETUPTOOLS_RUST_CARGO_PROFILE-env-variable.patch has been merged in this version. This also updates the list of dependencies for the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-cryptography: Update to 41.0.5Jeffery To2023-11-02
| | | | | | | This also adds a CPE ID for the package and updates the test.sh script to use an assert. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-constantly: Update to 23.10.4, add new build dependencyJeffery To2023-11-02
| | | | | | This also adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-versioneer: Add new host-only packageJeffery To2023-11-02
| | | | | | | | | | | | From the README: This is a tool for managing a recorded version number in setuptools-based python projects. The goal is to remove the tedious and error-prone "update the embedded version string" step from your release process. Making a new release should be as easy as recording a new tag in your version-control system, and maybe making new tarballs. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* pyodbc: Update to 5.0.1, rename source packageJeffery To2023-10-31
| | | | | | | | | | | This renames the source package to python-pyodbc to match other Python packages. This also updates the unixodbc dependency to libodbc, updates the package title and description, and adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* pyodbc: Fix segmentation faultJeffery To2023-10-31
| | | | | | | | | | | | | | | | | | 4.0.36 included a change to decimal parsing[1] that requires the decimal module. Trying to load the pyodbc module without python3-decimal installed would lead to a segmentation fault. This adds python3-decimal as a dependency. This also adds python3-uuid as a dependency as the module can accept and return uuid objects[2]. [1]: https://github.com/mkleehammer/pyodbc/commit/6b107a2bcaf7379e5ba182007b6ecae1bc2fc931 [2]: https://github.com/mkleehammer/pyodbc/commit/2ad7a9ced7c9c33232c173668c0830a484cc92f3 Fixes: f02f3ee8c768 ("pyodbc: Update to 4.0.39") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3: Fix building C extensions with setuptoolsJeffery To2023-10-30
| | | | | | | | | | | | | | | | setuptools provides a local copy of distutils and when building a C extension, this distutils will add the target LIBDIR (/usr/lib) to the list of library paths. If the build system has a libpython3.11.so in /usr/lib, then the linker will try to link to this shared library and fail. This adapts 008-distutils-use-python-sysroot.patch for host setuptools to add the correct library directory. Fixes: https://github.com/openwrt/packages/issues/22330 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #22505 from jefferyto/python-pip-23.3.1Alexandru Ardelean2023-10-30
|\ | | | | python-pip: Update to 23.3.1, redo/refresh patches
| * python-pip: Update to 23.3.1, redo/refresh patchesJeffery To2023-10-26
| | | | | | | | | | | | | | 001-pyproject-hooks-pyc-fix.patch and 002-pip-runner-pyc-fix.patch are redone to use source files if they are present. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-trove-classifiers: Update to 2023.10.18Jeffery To2023-10-28
|/ | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* micropython-lib: move to PCRE2Christian Marangi2023-10-22
| | | | | | Add pending patch converting the package to PCRE2. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* pillow: bump to version 10.1.0Alexandru Ardelean2023-10-20
| | | | | | Add test.sh also. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* Merge pull request #22393 from jefferyto/maturin-1.3.0Tianling Shen2023-10-15
|\ | | | | maturin: Update to 1.3.0, build as Python (host-only) package
| * maturin: Update to 1.3.0, build as Python (host-only) packageJeffery To2023-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python packages that use maturin to build do not call the maturin program directly; they use the maturin build backend[1]. This build backend is a Python library provided with maturin that interfaces with the maturin program. This changes the maturin package to use the Python build process so that the build backend is installed correctly. This also renames the source package to python-maturin and moves it into the lang/python directory. [1]: https://www.maturin.rs/#source-distribution Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python3-texttable: update to version 1.7.0Javier Marcet2023-10-14
| | | | | | | | Signed-off-by: Javier Marcet <javier@marcet.info>
* | python-websocket-client: update to 1.6.4Javier Marcet2023-10-14
|/ | | | | | | | | | | | - 1.6.4 - Add support for HTTP 307 and 308 redirect codes - 1.6.3 - Fix type hints issues - Add support for Python beta release 3.12 in CI - Add maintainer email in setup.py Signed-off-by: Javier Marcet <javier@marcet.info>
* python-setuptools-rust: Set cargo profile from environment variableJeffery To2023-10-11
| | | | | | | | | | | This adds a patch (submitted upstream in https://github.com/PyO3/setuptools-rust/pull/364), to read the profile to pass to cargo from an environment variable. This also updates the Python include files to set the environment variable based on values from rust-values.mk. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Consolidate cargo environment variablesJeffery To2023-10-11
| | | | | | | | | | | | | | | | | | | | | | | This consolidates all environment variables for cargo into: * CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS These contain all cargo-specific environment variables, i.e. without "common" variables like CC. * CARGO_HOST_VARS / CARGO_PKG_VARS (renamed from CARGO_VARS) These contain all environment variables to be passed to cargo. This also: * Set the CARGO_BUILD_TARGET environment variable instead of using the --target command-line option * Update Python include files to use CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* rust: Install to $(STAGING_DIR)/hostJeffery To2023-10-11
| | | | | | | | | | This allows rustc/cargo/etc to be called without having to set PATH, as $(STAGING_DIR)/host/bin is already in PATH. This also fixes CARGO_HOME not being set during Host/Configure and Host/Compile. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-zope-interface: Update to 6.1, refresh patchJeffery To2023-10-11
| | | | | | | This also updates the list of dependencies and adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-pycares: bump to 4.4.0Fabian Lipken2023-10-11
| | | | Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
* python3: Update to 3.11.6, refresh patchesJeffery To2023-10-09
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #22306 from cotequeiroz/python3-rebuildJeffery To2023-10-07
|\ | | | | python3: avoid unnecessary rebuilds
| * python3: avoid unnecessary rebuildsEneas U de Queiroz2023-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Move the order in which BuildPackage is called, so that the libpython package is built ahead of the module packages, to avoid forcing a clean-build of the package when 'make package/python3/compile' is called a second time without changes. The library must be built first, so that when the buildsystem checks for ABI version changes using libpython3.version, its timestamp should be older than the dependent package's STAMP_PREPARED file. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* | Merge pull request #22301 from cotequeiroz/pymysql_sha256Alexandru Ardelean2023-10-06
|\ \ | | | | | | pymysql: add meta-package for sha256 support
| * | pymysql: add meta-package for sha256 supportEneas U de Queiroz2023-10-05
| |/ | | | | | | | | | | | | | | Replace the PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT option, which is causing circular dependencies, with a meta-package that installs both python3-pymysql and python3-cryptography. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* / python-twisted: Update to 23.8.0, rework patchesJeffery To2023-10-05
|/ | | | | | The package changed to the hatchling build backend. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-packaging: Update to 23.2Jeffery To2023-10-03
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #22284 from jefferyto/python-charset-normalizer-3.3.0Alexandru Ardelean2023-10-03
|\ | | | | python-charset-normalizer: Update to 3.3.0
| * python-charset-normalizer: Update to 3.3.0Jeffery To2023-10-03
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-cffi: Update to 1.16.0Jeffery To2023-10-03
|/ | | | | | | | | This includes a patch to unpin the version of setuptools required for build; the required version is newer than the version bundled with Python 3.11. This patch should not be necessary when Python 3.12 is available. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-bcrypt: Update to 4.0.1, add myself as maintainerJeffery To2023-10-02
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-pyopenssl: Update to 23.2.0Jeffery To2023-10-02
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-cryptography: Update to 41.0.4Jeffery To2023-09-27
| | | | | | | | | | This includes a patch to update the version of ouroboros (Rust crate) used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to self_cell so this patch should only be necessary for cryptography 41. [1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python: Add environment variables to build Rust extensionsJeffery To2023-09-27
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-setuptools-rust: Add new host-only packageJeffery To2023-09-27
| | | | | | | | | From the README: setuptools-rust is a plugin for setuptools to build Rust Python extensions implemented with PyO3 or rust-cpython. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-semantic-version: Add new host-only packageJeffery To2023-09-27
| | | | | | | | | From the README: This small python library provides a few tools to handle SemVer in Python. It follows strictly the 2.0.0 version of the SemVer scheme. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-typing-extensions: Update to 4.8.0Jeffery To2023-09-27
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-trove-classifiers: Update to 2023.9.19Jeffery To2023-09-27
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-setuptools: Update to 68.2.2Jeffery To2023-09-27
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-bidict: Update to 0.22.1Jeffery To2023-09-23
| | | | | | The package no longer has a build dependency on setuptools-scm. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-exceptiongroup: Remove packageJeffery To2023-09-23
| | | | | | | | | | | There are no longer any packages in the packages repo that depend on this package. Since this package backports exception groups from Python 3.11, and Python in the packages repo has been updated to 3.11, there should be no future need for this package. This package will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python3-networkx: Update to 3.1, rename source packageJeffery To2023-09-22
| | | | | | | | | This renames the source package to python-networkx to match other Python packages. This also updates the list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-setuptools: Update to 68.2.0Jeffery To2023-09-14
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-build: Update to 1.0.3Jeffery To2023-09-14
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* Merge pull request #22072 from commodo/python-updates1Alexandru Ardelean2023-09-10
|\ | | | | chardet,numpy,django: bump versions
| * django: bump to version 4.2.5Alexandru Ardelean2023-09-09
| | | | | | | | Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>