Skip to content

[peewee] Update to 4.5.3 - #16631

Merged
srittau merged 1 commit into
python:mainfrom
hoangchunghien:peewee-4.5.3
Oct 28, 2026
Merged

srittau merged 1 commit into
python:mainfrom
hoangchunghien:peewee-4.5.3

Conversation

@hoangchunghien

Copy link
Copy Markdown
Contributor

Closes: #16448

stubtest failed on the stubsabot bump with three errors. Each comes from a change in peewee 4.5.3:

  • Database.get_views is new on the base class (it raises NotImplementedError). The SQLite, MySQL and Postgres overrides were already in the stub, so the base gets the same signature.
  • Function.subquery_functions is a new class attribute, a set of function names, next to no_coerce_functions.
  • ModelSelect.exists now overrides SelectBase.exists, wrapped with @database_required. That decorator injects the database argument, so it goes in the allowlist with the other @database_required methods.

stubtest for peewee 4.5.3, mypy_test.py stubs/peewee, pyright_test.py stubs/peewee, black and flake8 all pass locally.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit f5a0468 into python:main Oct 28, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants