diff --git a/Remove-optional-or-unpackaged-test-deps.patch b/Remove-optional-or-unpackaged-test-deps.patch deleted file mode 100644 index 247a1936486635ea842be0dc77e474c0f7b7d8c3..0000000000000000000000000000000000000000 --- a/Remove-optional-or-unpackaged-test-deps.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 87a18ba242ac7f02d41b877ffc796dde42e6a93e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= -Date: Wed, 10 Aug 2022 16:08:41 +0200 -Subject: [PATCH] Remove optional or unpackaged test deps - ---- - setup.cfg | 14 -------------- - 1 file changed, 14 deletions(-) - -diff --git a/setup.cfg b/setup.cfg -index b4ee876..094f621 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -39,19 +39,7 @@ exclude = - [options.extras_require] - testing = - pytest >= 6 -- pytest-checkdocs >= 2.4 -- pytest-flake8 -- flake8 < 5 -- pytest-black >= 0.3.7; \ -- python_implementation != "PyPy" -- pytest-cov; \ -- python_implementation != "PyPy" -- pytest-mypy >= 0.9.1; \ -- python_implementation != "PyPy" -- pytest-enabler >= 1.3 -- pytest-perf - -- flake8-2020 - virtualenv>=13.0.0 - wheel - pip>=19.1 # For proper file:// URLs support. -@@ -59,8 +47,6 @@ testing = - pytest-xdist - jaraco.path>=3.2.0 - build[virtualenv] -- filelock>=3.4.0 -- pip_run>=8.8 - ini2toml[lite]>=0.9 - tomli-w>=1.0.0 - pytest-timeout --- -2.37.3 - diff --git a/link-C-modules-with-libpython.patch b/link-C-modules-with-libpython.patch deleted file mode 100644 index 7e46b88bdd58f51ce235dd36231395dfb28a80e0..0000000000000000000000000000000000000000 --- a/link-C-modules-with-libpython.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setuptools/_distutils/command/build_ext.py b/setuptools/_distutils/command/build_ext.py -index 1a6dd39..c4ad11e 100644 ---- a/setuptools/_distutils/command/build_ext.py -+++ b/setuptools/_distutils/command/build_ext.py -@@ -759,7 +759,7 @@ class build_ext(Command): - # shared libraries are resolved at link time. - from distutils.sysconfig import get_config_var - -- link_libpython = False -+ link_libpython = True - if get_config_var('Py_ENABLE_SHARED'): - # A native build on an Android device or on Cygwin - if hasattr(sys, 'getandroidapilevel'): diff --git a/python-setuptools.spec b/python-setuptools.spec index fdcdcedd5527d5c7010d4c70f6f6350e8b5bd59f..4a105d582b9d00a35815856b6c07f54b419456ec 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -1,11 +1,11 @@ -%define anolis_release 2 +%define anolis_release 1 %bcond_with tests %global srcname setuptools %global python_wheel_name %{srcname}-%{version}-py3-none-any.whl Name: python-setuptools -Version: 65.5.1 +Version: 66.1.1 Release: %{anolis_release}%{?dist} Summary: Easily build and distribute Python packages @@ -13,9 +13,6 @@ License: MIT and ASL 2.0 and (BSD or ASL 2.0) and Python URL: https://pypi.python.org/pypi/%{srcname} Source0: %{pypi_source %{srcname} %{version}} -Patch0: Remove-optional-or-unpackaged-test-deps.patch -Patch1: link-C-modules-with-libpython.patch - BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros >= 0-44 @@ -136,6 +133,9 @@ PYTHONPATH=$(pwd) %pytest \ %doc CHANGES.rst README.rst %changelog +* Tue Nov 7 2023 Wenlong Zhang - 66.1.1-1 +- update to 66.1.1 + * Tue Apr 11 2023 Funda Wang - 65.5.1-2 - link C module with libpython diff --git a/setuptools-65.5.1.tar.gz b/setuptools-65.5.1.tar.gz deleted file mode 100644 index c8d075984605b6b3584a2461c13c790f0c47c7ec..0000000000000000000000000000000000000000 Binary files a/setuptools-65.5.1.tar.gz and /dev/null differ diff --git a/setuptools-66.1.1.tar.gz b/setuptools-66.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b63d280a5cf9de69bdf66e2aee70ff127943c4c5 Binary files /dev/null and b/setuptools-66.1.1.tar.gz differ