From 8223f24e007586582d70f6f1150c234ba940e72e Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Feb 06 2024 11:29:19 +0000 Subject: Update to 69.0.3 --- diff --git a/4094.patch b/4094.patch deleted file mode 100644 index 70ce6ff..0000000 --- a/4094.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 29f052da470ac281f15d87d4a40511b5cd1e4834 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Thu, 26 Oct 2023 14:55:12 +0200 -Subject: [PATCH] Fix setuptools.depends:get_module_constant() on Python - 3.13.0a1 - -Don't hardcode opcode numbers, look them up instead. - -Fixes https://github.com/pypa/setuptools/issues/4090 ---- - setuptools/depends.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/setuptools/depends.py b/setuptools/depends.py -index 180e820459..42907d9bd4 100644 ---- a/setuptools/depends.py -+++ b/setuptools/depends.py -@@ -142,9 +142,9 @@ def extract_constant(code, symbol, default=-1): - - name_idx = list(code.co_names).index(symbol) - -- STORE_NAME = 90 -- STORE_GLOBAL = 97 -- LOAD_CONST = 100 -+ STORE_NAME = dis.opmap['STORE_NAME'] -+ STORE_GLOBAL = dis.opmap['STORE_GLOBAL'] -+ LOAD_CONST = dis.opmap['LOAD_CONST'] - - const = default - diff --git a/python-setuptools.spec b/python-setuptools.spec index 6661b54..29dca49 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -18,7 +18,7 @@ Name: python-setuptools # When updating, update the bundled libraries versions bellow! -Version: 68.2.2 +Version: 69.0.3 Release: %autorelease Summary: Easily build and distribute Python packages # setuptools is MIT @@ -52,9 +52,6 @@ Patch: Adjust-the-setup.py-install-deprecation-message.patch # away from pkg_resources. Patch: Remove-warning-from-pkg_resources.patch -# Fix setuptools.depends:get_module_constant() on Python 3.13.0a1 -Patch: https://github.com/pypa/setuptools/pull/4094.patch - BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel diff --git a/sources b/sources index 1cb4d1d..821e2e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (setuptools-68.2.2.tar.gz) = ed3138a39e8ae47d695e71835024d66d63b8de51aa336bd8524de81a5036aa26cf587caca5d6b46c833f77a6e9c8c1ae6b64e8310f712bd9c4e760196778b2ca +SHA512 (setuptools-69.0.3.tar.gz) = 11df934931f4b73f7e07ea5713479593c6baa134d423556b2ae7aff0f1e5bdbdee1f5b516131adb169c838231ceb0293441fbf275ef7030dabecf74122565b6d