aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * python-trove-classifiers: Update to 2023.5.2Jeffery To2023-05-08
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #20801 from jefferyto/python-pyprojectJeffery To2023-05-10
|\ \ | |/ |/| python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
| * python-packages: Clean up build variablesJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename PYTHON3_PKG_SETUP_VARS to PYTHON3_PKG_BUILD_VARS, and PYTHON3_PKG_SETUP_DIR to PYTHON3_PKG_BUILD_PATH The new variable names emphasize that these values apply to the new build process. * Remove PYTHON3_PKG_SETUP_ARGS set to the empty string These were set to override the default arguments in the old build process and not applicable to the new build process. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-libraries: Update build optionsJeffery To2023-04-24
| | | | | | | | | | | | | | | | This updates the build options for these packages to work with the pyproject.toml-based build process, and removes PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-typing-extensions: Update to 4.5.0, add myself as maintainerJeffery To2023-04-24
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-packaging: Remove BROKENJeffery To2023-04-24
| | | | | | | | | | | | | | With proper support of pyproject.toml-based builds in place, this package will now build. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-jsonschema: Remove previous build workaroundJeffery To2023-04-24
| | | | | | | | | | | | | | With proper support for pyproject.toml-based builds in place, this is no longer necessary. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-exceptiongroup: Remove previous build workaroundJeffery To2023-04-24
| | | | | | | | | | | | | | With proper support for pyproject.toml-based builds in place, this is no longer necessary. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-astral: Remove BROKENJeffery To2023-04-24
| | | | | | | | | | | | | | With proper support for pyproject.toml-based builds in place, this package will now build. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python: Add proper support for pyproject.toml-based buildsJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | This removes the changes made in 61f202c0170785addbbc449e4de61cc5886f0833 and adds actual support for pyproject.toml-based (PEP 517) builds of Python packages. Packages can force the use of the old build process by setting PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1; this should only be a temporary workaround until the package can be updated/fixed to use the new build process. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-libraries: Force old build processJeffery To2023-04-24
| | | | | | | | | | | | | | | | These packages will need adjustments to work with pyproject.toml-based builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old build process (when pyproject.toml-based builds are in place) for now. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-ubus: Force old build processJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This package will not build with the pyproject.toml-based build process because it has a build dependency on pytest-runner[1]. pytest-runner has been deprecated[2], so instead of adding a package for pytest-runner to fulfill the build dependency, force this package to use the old build process. [1]: https://gitlab.nic.cz/turris/python-ubus/-/blob/v0.1.1/setup.py#L35 [2]: https://github.com/pytest-dev/pytest-runner#deprecation-notice Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-twisted: Update to 22.10.0Jeffery To2023-04-24
| | | | | | | | | | | | | | | | | | Includes fix for CVE-2022-39348 (NameVirtualHost Host header injection). This adds a build dependency that will be required for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pytest-forked: Update to 1.6.0Jeffery To2023-04-24
| | | | | | | | | | | | | | | | | | The overly-strict build requirements in 1.3.0[1] would cause a build failure with pyproject.toml-based builds. [1]: https://github.com/pytest-dev/pytest-forked/blob/v1.3.0/pyproject.toml#L2 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pytest: Update to 7.3.0Jeffery To2023-04-24
| | | | | | | | | | | | This also removes BROKEN from the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-pycrate: Update to 0.6.0Jeffery To2023-04-24
| | | | | | | | | | | | | | This also changes the download to PyPI and updates several package makefile fields. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-jsonschema: Add build dependenciesJeffery To2023-04-24
| | | | | | | | | | | | These will be required for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-incremental: Update to 22.10.0, redo patch, add host buildJeffery To2023-04-24
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-exceptiongroup: Update to 1.1.1Jeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | This adds a build dependency that will be required for pyproject.toml-based builds. This also removes the run-time dependency on python3-attrs; there is no indication this package is required. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-docker: Add missing build dependencyJeffery To2023-04-24
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-dns: Update to 2.3.0Jeffery To2023-04-24
| | | | | | | | | | | | | | This adds a build dependency that will be required for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-dbus-fast: Add build dependenciesJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | | These will be required for pyproject.toml-based builds. This also includes a patch to unpin the version requirement for setuptools, as the current in-repo version of setuptools does not fulfill this requirement, and there does not appear to be any specific reason why this version requirement is necessary. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-cryptography: Update patch to disable RustJeffery To2023-04-24
| | | | | | | | | | | | This extends the patch to also apply for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-bleak: Add build dependencyJeffery To2023-04-24
| | | | | | | | | | | | This will be required for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * python-astral: Update to 3.2Jeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | This adds a build dependency that will be required for pyproject.toml-based builds. This also marks the package as BROKEN (for now) as it requires proper support for pyproject.toml-based builds. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * 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>