Skip to content

Commit 6e462cc

Browse files
karlwaldmanclaude
andcommitted
chore(ci): stop Dependabot reproposing the guarded setuptools ceiling
The setuptools build requirement is capped at <77 deliberately, and the cap is asserted by tests/test_release_readiness.py:: test_packaging_configuration_remains_compatible_with_supported_python. We ship requires-python = ">=3.8" with the legacy PEP 621 license = {file = "LICENSE"} table. setuptools 77+ deprecates that table in favour of the PEP 639 string form, which the setuptools release resolvable on Python 3.8 cannot parse — so raising the ceiling breaks the sdist build on the oldest Python we support. PR #93 proposed <85 and went red on all five Python jobs for exactly this reason; it was closed rather than merged. Ignoring setuptools here keeps the weekly pip run from reopening a PR that can only ever land red. Remove the ignore when Python 3.8 support is dropped. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JKAExynd9zoKwt6rYA66EA
1 parent 8b2dd20 commit 6e462cc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@ updates:
1414
open-pull-requests-limit: 5
1515
labels:
1616
- "dependencies"
17+
ignore:
18+
# The setuptools build requirement is capped at <77 ON PURPOSE and the
19+
# cap is asserted by tests/test_release_readiness.py::
20+
# test_packaging_configuration_remains_compatible_with_supported_python.
21+
#
22+
# We still ship `requires-python = ">=3.8"` with the legacy PEP 621
23+
# `license = {file = "LICENSE"}` table. setuptools 77+ deprecates that
24+
# table in favour of the PEP 639 string form, which the setuptools
25+
# release resolvable on Python 3.8 cannot parse. Raising the ceiling
26+
# breaks the sdist build on the oldest Python we support, so every
27+
# bump Dependabot proposes here lands red (see PR #93).
28+
#
29+
# Remove this ignore when Python 3.8 support is dropped.
30+
- dependency-name: "setuptools"
1731

1832
- package-ecosystem: "github-actions"
1933
directory: "/"

0 commit comments

Comments
 (0)