Skip to content

Revert setuptools constraint bump and restrict dependabot to subdir - #225

Merged
webknjaz merged 2 commits into
aio-libs:masterfrom
bbhtt:bbhtt/rev-setuptools-bump
May 11, 2026
Merged

webknjaz merged 2 commits into
aio-libs:masterfrom
bbhtt:bbhtt/rev-setuptools-bump

Conversation

@bbhtt

@bbhtt bbhtt commented May 11, 2026 •

Copy link
Copy Markdown
Contributor

What do these changes do?

Reverts an unintended setuptools constraint bump in pyproject.toml
and restrict dependabot to subdir to prevent it from happening again.

Are there changes in behavior for the user?

None

Related issue number

Ref: #207 (comment)

Checklist

  • I think the code is well written N/A
  • Unit tests for the changes exist N/A
  • Documentation reflects the changes N/A

@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label May 11, 2026
@bbhtt

bbhtt commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

yamllint is broken it is perfectly valid YAML.

@codspeed

codspeed Bot commented May 11, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 4 untouched benchmarks


Comparing bbhtt:bbhtt/rev-setuptools-bump (7079c7d) with master (61d59b5)

Open in CodSpeed

@webknjaz

Copy link
Copy Markdown
Member

yamllint is broken

It's not broken, it's configured.

@webknjaz

Copy link
Copy Markdown
Member

unintended setuptools constraint bump in pyproject.toml

Could you link to the discussion that says so?

Comment thread CHANGES/207.packaging.rst Resolved
@webknjaz

Copy link
Copy Markdown
Member

unintended setuptools constraint bump in pyproject.toml

Could you link to the discussion that says so?

Ah, found it in the commit: #207 (comment).

Comment thread CHANGES/207.packaging.rst Resolved
@webknjaz

webknjaz commented May 11, 2026 •

Copy link
Copy Markdown
Member

@bbhtt you can add dependabot to https://github.com/aio-libs/propcache/blob/master/docs/spelling_wordlist.txt.

Also, I just now noticed that the change log looks like a TODO-list or a Git log. Instead of the imperative mood of things to implement, let's update it to what's changed since the previous release by using the past tense of a present comparison ("X now does Y", "X has been changed to Y", "Updated X to Y").

bbhtt added 2 commits May 11, 2026 19:25
This reverts commit d02f2dc.

This was automatically bumped by dependabot in #207 but it is incorrect
and pyproject.toml constraints should only be bumped if there is
an actual need for it. The next commit will try to restrict
dependabot from making these unintentional updates.
This is where dependency requirements should be bumped and this should
prevent it from making unintended changes like in #207
@bbhtt

bbhtt commented May 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Done and changed to has been but git fetch is failing due to 500

@webknjaz webknjaz closed this May 11, 2026
@webknjaz webknjaz reopened this May 11, 2026
@webknjaz
webknjaz enabled auto-merge (squash) May 11, 2026 20:56
@webknjaz
webknjaz disabled auto-merge May 11, 2026 20:57
@webknjaz
webknjaz enabled auto-merge (squash) May 11, 2026 20:57
@webknjaz
webknjaz merged commit 577a2ce into aio-libs:master May 11, 2026
68 of 71 checks passed
@bbhtt
bbhtt deleted the bbhtt/rev-setuptools-bump branch May 11, 2026 23:52
webknjaz added a commit to aio-libs/multidict that referenced this pull request Aug 23, 2026
Put the `setuptools` lower bound in `build-system.requires` back to
`>= 47`. That bound records the oldest setuptools able to build this
project, and Dependabot had been ratcheting it up on every release
(most recently to `>= 83.0.0` in #1371), which excluded build
environments that work fine. Packaging metadata still lives in
`setup.cfg` and the only feature it needs is `version = attr:`, so 47
is the actual floor.

To stop the same automated bump from coming back, the pip ecosystem in
`.github/dependabot.yml` is scoped to `/requirements` so Dependabot no
longer rewrites `pyproject.toml`. Same fix as
aio-libs/propcache#225 and aio-libs/yarl#1764.

Fixes #1399.

Co-authored-by: 🇺🇦 Sviatoslav Sydorenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants