diff --git a/lang/python/python-frozenlist/Makefile b/lang/python/python-frozenlist/Makefile index 0c9df17037f07..eb25e7e853ead 100644 --- a/lang/python/python-frozenlist/Makefile +++ b/lang/python/python-frozenlist/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-frozenlist -PKG_VERSION:=1.4.0 +PKG_VERSION:=1.8.0 PKG_RELEASE:=1 PYPI_NAME:=frozenlist -PKG_HASH:=09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251 +PKG_HASH:=3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE diff --git a/lang/python/python-frozenlist/patches/0001-use-setuptools-instead-of-custom-backend.patch b/lang/python/python-frozenlist/patches/0001-use-setuptools-instead-of-custom-backend.patch new file mode 100644 index 0000000000000..4caad079fe0b9 --- /dev/null +++ b/lang/python/python-frozenlist/patches/0001-use-setuptools-instead-of-custom-backend.patch @@ -0,0 +1,18 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,14 +1,9 @@ + [build-system] + requires = [ +- # NOTE: The following build dependencies are necessary for initial +- # NOTE: provisioning of the in-tree build backend located under +- # NOTE: `packaging/pep517_backend/`. +- "expandvars", + "setuptools >= 47", # Minimum required for `version = attr:` + "tomli; python_version < '3.11'", + ] +-backend-path = ["packaging"] # requires `pip >= 20` or `pep517 >= 0.6.0` +-build-backend = "pep517_backend.hooks" # wraps `setuptools.build_meta` ++build-backend = "setuptools.build_meta" + + [tool.local.cythonize] + # This attr can contain multiple globs