| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|\ \
| |/
|/| |
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
With proper support of pyproject.toml-based builds in place, this
package will now build.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
With proper support for pyproject.toml-based builds in place, this
package will now build.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
This also removes BROKEN from the package.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
This also changes the download to PyPI and updates several package
makefile fields.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| | |
These will be required for pyproject.toml-based builds.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
This adds a build dependency that will be required for
pyproject.toml-based builds.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
This extends the patch to also apply for pyproject.toml-based builds.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| | |
This will be required for pyproject.toml-based builds.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|/
|
|
| |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This has a small fix on top of 0.20.0.
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
|
|
|
|
|
|
|
| |
These fail to build or packages depending on them do when enabling
CONFIG_USE_LTO.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
|
|
|
|
| |
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
|
|\
| |
| | |
python: Add pyproject.toml-based builds for host Python packages, add host packages
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
From the README:
This is the extensible, standards compliant build backend used by Hatch.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|