Skip to content

Commit

Permalink
Require setuptools >= 70.1.0 to build wheel
Browse files Browse the repository at this point in the history
setuptools < 70.0 have a bug in the schema definition for dynamic
optional dependencies. The issue was fixed in validate-pyproject 0.17
and setuptools 70.0.0.

70.1.0 has another fix that might be relevant for Python 3.10.

This fixes the following error message:

```
ValueError: invalid pyproject.toml config: `tool.setuptools.dynamic.optional-dependencies`.
configuration error: `tool.setuptools.dynamic.optional-dependencies` keys must be named by:

    {format: 'python-identifier'}
```

See: abravalheri/validate-pyproject#170
Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
tiran committed Jul 3, 2024
1 parent 2e54e54 commit 030ba3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
requires = ["setuptools>=70.1.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
Expand Down

0 comments on commit 030ba3a

Please sign in to comment.