@@ -24,13 +24,13 @@ or [configuring Git archive][git-archive-docs].
24
24
The preferred way to configure [ setuptools-scm] is to author
25
25
settings in a ` tool.setuptools_scm ` section of ` pyproject.toml ` .
26
26
27
- This feature requires setuptools 61 or later.
27
+ This feature requires setuptools 61 or later (recommended: >=80 for best compatibility) .
28
28
First, ensure that [ setuptools-scm] is present during the project's
29
29
build step by specifying it as one of the build requirements.
30
30
31
31
``` toml title="pyproject.toml"
32
32
[build-system ]
33
- requires = [" setuptools>=64 " , " setuptools-scm>=8" ]
33
+ requires = [" setuptools>=80 " , " setuptools-scm>=8" ]
34
34
build-backend = " setuptools.build_meta"
35
35
```
36
36
@@ -61,7 +61,7 @@ dynamic = ["version"]
61
61
62
62
```toml title="pyproject.toml"
63
63
[build-system]
64
- requires = ["setuptools>=64 ", "setuptools-scm>=8"]
64
+ requires = ["setuptools>=80 ", "setuptools-scm>=8"]
65
65
build-backend = "setuptools.build_meta"
66
66
67
67
[project]
@@ -108,6 +108,12 @@ modern [setuptools-scm] is unable to support them sensibly.
108
108
It's strongly recommended to build a wheel artifact using modern Python and setuptools,
109
109
then installing the artifact instead of trying to run against old setuptools versions.
110
110
111
+ !!! note "Legacy Setuptools Support"
112
+ While setuptools-scm recommends setuptools >=80, it maintains compatibility with setuptools 61+
113
+ to support legacy deployments that cannot easily upgrade. Support for setuptools <80 is deprecated
114
+ and will be removed in a future release. This allows enterprise environments and older CI/CD systems
115
+ to continue using setuptools-scm while still encouraging adoption of newer versions.
116
+
111
117
112
118
## Code of Conduct
113
119
0 commit comments