From 8f23e39d9b5c4b9ca509df6fe2fa2a0b7774bded Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 20 Jul 2024 17:35:36 +0200 Subject: [PATCH] Update setuptools to >=71.0.4 (#9812) (cherry picked from commit 60bd2307c220210b6dd6b739c382c6b3c45d75c4) --- pyproject.toml | 2 +- requirements_test_min.txt | 2 +- tests/functional/r/recursion/recursion_error_3159.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 21bb92c3c32..0320b038290 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=66.1"] +requires = ["setuptools>=71.0.4"] build-backend = "setuptools.build_meta" [project] diff --git a/requirements_test_min.txt b/requirements_test_min.txt index f5d226e58a9..6caf137bf58 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -9,4 +9,4 @@ pytest-timeout~=2.3 towncrier~=23.11 requests # Voluntary for test purpose, not actually used in prod, see #8904 -setuptools==41.6.0 +setuptools;python_version>='3.12' diff --git a/tests/functional/r/recursion/recursion_error_3159.py b/tests/functional/r/recursion/recursion_error_3159.py index d905ad862a1..9abfed98780 100644 --- a/tests/functional/r/recursion/recursion_error_3159.py +++ b/tests/functional/r/recursion/recursion_error_3159.py @@ -13,8 +13,7 @@ def initialize_options(self): def finalize_options(self): pass - @staticmethod - def run(): + def run(self): print("Do anything")