Repository navigation
Restore the setuptools build requirement lower bound to 47 - #1400
Conversation
The lower bound in `build-system.requires` tracks the oldest setuptools that can build this project, not the newest available one; Dependabot had been raising it on every release, which needlessly excluded working build environments. Metadata still lives in setup.cfg and only needs `version = attr:` support, so 47 is the real floor. Dependabot's pip ecosystem is scoped to the requirements directory so it stops rewriting the build backend pin.
Merging this PR will degrade performance by 11.29%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ❌ | test_multidict_getall_str_hit[cs-c] |
37.2 ms | 42.2 ms | -11.91% |
| ❌ | test_cimultidict_getall_istr_hit[c] |
35.5 ms | 39.8 ms | -10.66% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing aiolibsbot:koan/implement-1399 (459ac50) with master (41c1b91)
This is to match the style in other projects.
Confidence Score: 5/5The PR appears safe to merge, with no concrete blocking or non-blocking defects identified. The current setup metadata and build script use functionality available in setuptools 47, and the Dependabot configuration validly preserves updates for requirement files while excluding the intentionally stable build-backend floor. Reviews (1): Last reviewed commit: "Format `build-system.requires` as a mult..." | Re-trigger Greptile |
What do these changes do?
Put the
setuptoolslower bound inbuild-system.requiresback to>= 47. That bound records the oldest setuptools able to build thisproject, and Dependabot had been ratcheting it up on every release
(most recently to
>= 83.0.0in #1371), which excluded buildenvironments that work fine. Packaging metadata still lives in
setup.cfgand the only feature it needs isversion = attr:, so 47is the actual floor.
To stop the same automated bump from coming back, the pip ecosystem in
.github/dependabot.ymlis scoped to/requirementsso Dependabot nolonger rewrites
pyproject.toml. Same fix asaio-libs/propcache#225 and aio-libs/yarl#1764.
Pure C code and pure-Python code are untouched, so the dual-backend
concern does not apply here.
Are there changes in behavior for the user?
No, other than sdist builds working again on older setuptools.
Is it a substantial burden for the maintainers to support this?
No; it removes a recurring Dependabot pull request.
Related issue number
Fixes #1399
Checklist
CONTRIBUTORS.txt- N/A, noCONTRIBUTORS.txtin this repoCHANGES/folderDrafted with Claude Opus 5 running under Kōan; reviewed by @bdraco.
Agent run details (optional, for reviewers)
Floor verified by building in an isolated environment with the build
backend pinned to the new lower bound:
Negative control, with the constraint one version below the floor, to
confirm the constraint is honoured rather than silently ignored:
Tests, both backends:
Docs spell check:
make doc-spellingreports no new misspellingsagainst the
masterbaseline;dependabotandsubdirectorywereadded to
docs/spelling_wordlist.txtfor the news fragments. Thesandbox has a narrower system dictionary than CI, so a fixed set of
pre-existing
CHANGES.rstwords (workflow,metadata, ...) flagsidentically on
masterand on this branch.Lint:
pre-commit run --files <changed files>passed (yamllint, newsfragment
:user:role check).Quality Report
Changes: 5 files changed, 11 insertions(+), 2 deletions(-)
Code scan: clean
Tests: failed (FAILED)
Branch hygiene: clean
Generated by Kōan