Files
packages/lang/python/python-constantly/patches/001-unpin-setuptools.patch
Alexandru Ardelean 8c3bc3fcf9 python-constantly: drop versioneer build dependency
The release tarball already contains a pre-generated _version.py with
the version hardcoded, so versioneer is not needed at build time.
Patch pyproject.toml to only require setuptools and remove
PKG_BUILD_DEPENDS:=python-versioneer/host.

Remove python-versioneer package as it is no longer needed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 22:34:46 +03:00

19 lines
495 B
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
-requires = ["setuptools>=68.2", "versioneer[toml]==0.29"]
+requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
@@ -27,7 +27,7 @@ name = "constantly"
maintainers = [{name = "Twisted Matrix Labs Developers"}]
urls = {Homepage = "https://github.com/twisted/constantly"}
requires-python = ">= 3.8"
-dynamic = ["version"]
+version = "23.10.4"
[tool.setuptools]
include-package-data = false