From 01cec305497283164cd2e07b920843bdf736c1a9 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Mar 06 2023 01:46:40 +0000 Subject: Declare dependency on Setuptools >= 62.4.0. --- diff --git a/ChangeLog b/ChangeLog index 28e9a0f..ee273a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,9 +14,15 @@ Version NEXT :Released: FUTURE :Maintainer: UNKNOWN -Changes: +Bugs Fixed: + +* Declare dependency on Setuptools >= 62.4.0. + + This is necessary for establishing the version information via Setuptools. We + use ‘setuptools.command.build’, `introduced in Setuptools version 62.4.0 + `_. -* None. + Closes: Pagure #74. Thanks to Edison Wong for the report. Version 3.0.0 diff --git a/pyproject.toml b/pyproject.toml index b702fbb..1ecdc29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,9 @@ [build-system] # Minimum requirements for the build system. -requires = ["setuptools", "docutils"] +requires = [ + "setuptools >=62.4.0", + "docutils"] # Path to the Python object to perform the build. build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 45c0079..3339555 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ setup_kwargs = dict( "docutils", ], install_requires=[ - "setuptools", + "setuptools >=62.4.0", "lockfile >=0.10", ], python_requires=">=3",