Commit 613a33b
Pin the build-system to
setuptools v45.x doesn't support `pyproject.toml` files.
v62.1.x and higher do, and continue to support Python 3.7.
Reproducer:
```
# Create a venv
python -m venv venv-demo
source venv-demo/bin/activate
# Install setuptools and build
python -m pip install setuptools==45.0.0 build
# Build the package using the already-installed setuptools
python -m build --no-isolation
```
This results in the following error:
```
ERROR Backend 'setuptools.build_meta' is not available.
```
Changing the reproducer to use setuptools 61.2.0
demonstrates that the issue is resolved.setuptools>=62.1
1 parent 180989d commit 613a33b
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments