From cbe22302dfbe0659c59db9abddf3d7a3264c66c4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Apr 2025 14:51:18 -0700 Subject: python3-pyzstd: Switch to PEP-517 build backend Add ptest support while here Signed-off-by: Khem Raj --- ...-Bump-setuptools-dependency-from-74-to-79.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch (limited to 'meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch') diff --git a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch new file mode 100644 index 0000000000..8fc26bd90b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-79.patch @@ -0,0 +1,27 @@ +From e648bb2439cad0d2ce47875edc7944d0b446fdb4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 9 Apr 2025 14:38:31 -0700 +Subject: [PATCH] Bump setuptools dependency from 74 to 79 + +Upstream sticks to 0.74 since setuptools have dropped msvc9compiler +support beyond that which is needed for python 3.9 on windows. We +do not have this problem on Linux + +Upstream-Status: Inappropriate [OE-specific] +Signed-off-by: Khem Raj +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index dd885e4..9f273b3 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + # setuptools 64+ support --build-option + # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows +-requires = ["setuptools>=64,<74"] ++requires = ["setuptools>=64,<79"] + backend-path = ["build_script"] + build-backend = "pyzstd_pep517" -- cgit v1.2.3-54-g00ecf