Build(deps-dev): bump the dev-tooling group across 1 directory with 4 updates
Bumps the dev-tooling group with 4 updates in the / directory: hypothesis, mypy, pre-commit and ruff.
Updates hypothesis from 6.165.2 to 6.165.10
Commits
6384deeBump hypothesis version to 6.165.10 and update changelogc7ca59dMerge pull request #4864 from dgutson/claude-stateful-and-example3fc38f1claude: teach /hypothesis about stateful tests and@example16f24b7Merge pull request #4862 from Zac-HD/claude/upstream-regex-issues-fkke9q48ce446Bump hypothesis version to 6.165.9 and update changelogd559a69Merge pull request #4860 from Liam-DeVoe/optimize-single-branch-one-of3a19d89fix context flag restoration2408c99drop unecessary empty check3f94912Clarify re.ASCII wording in changelog entry9d0a9a8Fix from_regex handling of negative classes, re.ASCII, and zero-min repeats- Additional commits viewable in compare view
Updates mypy from 2.3.0 to 2.3.1
Changelog
Sourced from mypy's changelog.
Mypy 2.3.1
- Fix mypyc crash on double yielding Iterators (Daniël van Noord, PR 21826)
- Fix mypyc
default_factoryfor inherited dataclass (Daniël van Noord, PR 21785)- Clear mypyc coroutine env on coroutine completion (Piotr Sawicki, PR 21734)
- Fix crash when unpacking return value from overload (Shantanu, PR 21830)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
- Agriya Khetarpal
- Ethan Sarp
- Ivan Levkivskyi
- Jingchen Ye
- Jukka Lehtosalo
- Piotr Sawicki
- Shantanu
- Tom Bannink
- Viktor Szépe
- ygale
I'd also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 2.2
We've just uploaded mypy 2.2.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
Support for Closed TypedDicts (PEP 728)
Mypy now supports closed TypedDicts as specified in PEP 728. A closed TypedDict cannot have extra keys beyond those explicitly defined. This allows the type checker to determine that certain operations are safe when they otherwise wouldn't be due to the potential presence of unknown keys.
You can use the
closedkeyword argument withTypedDict:HasName = TypedDict("HasName", {"name": str}) HasOnlyName = TypedDict("HasOnlyName", {"name": str}, closed=True) Movie = TypedDict("Movie", {"name": str, "year": int})
movie: Movie = {"name": "Nimona", "year": 2023} has_name: HasName = movie # OK: HasName is open (default) has_only_name: HasOnlyName = movie # Error: HasOnlyName is closed and Movie has extra "year" key </tr></table>
... (truncated)
Commits
d642c44Bump version to 2.3.1a392429[mypyc] Fix crash on double yielding Iterators (#21826)4843e77[mypyc] Fixdefault_factoryfor inherited dataclass (#21785)14f5df9[mypyc] Clear coroutine env on coroutine completion (#21734)6dfa06dFix crash when unpacking return value from overload (#21830)a385746Bump version to 2.3.1+dev- See full diff in compare view
Updates pre-commit from 4.6.1 to 4.6.2
Release notes
Sourced from pre-commit's releases.
pre-commit v4.6.2
Fixes
- Fix
language: nodehooks that contain"scripts": {"build": ...}with npm 11.x.
- Regressed in 4.6.1.
- #3737 issue by
@mheiges.- #3743 PR by
@asottile.
Changelog
Sourced from pre-commit's changelog.
4.6.2 - 2026-08-10
Fixes
- Fix
language: nodehooks that contain"scripts": {"build": ...}with npm 11.x.
- Regressed in 4.6.1.
- #3737 issue by
@mheiges.- #3743 PR by
@asottile.
Commits
9767b6cv4.6.242ee3ffMerge pull request #3743 from pre-commit/npm-build-scripts-11-x3056619fixlanguage: nodefor hooks with build scripts and npm 11.x- See full diff in compare view
Updates ruff from 0.16.2 to 0.16.4
Release notes
Sourced from ruff's releases.
0.16.4
Release Notes
Released on 2026-08-20.
Preview features
- [
flake8-use-pathlib] Add autofix forPTH116(#26460)- [
refurb] Restrictdelete-full-sliceto lists (FURB131) (#27711)- [
refurb] SkipFURB101andFURB103when theopenargument is a file descriptor (#27643)Bug fixes
- Fix
InvalidInstructionon Windows CPUs that do not supportPOPCNT(#27803)- [
pyflakes] Emit semantic syntax errors in string type definitions asF722(#27835)- [
pylint] Allowos._exitimports inimport-private-name(PLC2701) (#27738)Rule changes
- [syntax-errors] Align mixed t-string/bytes error message with CPython 3.14 (#27766)
- [
ruff] Addctypes.LittleEndianStructureand related types to existing exception (RUF012) (#27753)- [syntax-errors] Detect duplicate keyword arguments (#17804)
- [syntax-errors] Detect parameters declared
nonlocal(#27628)Server
- Offer display-only fixes and mark safe fixes preferred (#27807)
- Support pull diagnostics for notebook cells (#27779)
Documentation
Other changes
- Fix s390x stacker assembly in release builds (#27776)
- Guarantee minimum stack size when parsing a module, standalone expression, and suites (#25464)
- Reduce configuration deserialization code size (#27924)
- Check packed AST index bounds (#27849)
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.16.4
Released on 2026-08-20.
Preview features
- [
flake8-use-pathlib] Add autofix forPTH116(#26460)- [
refurb] Restrictdelete-full-sliceto lists (FURB131) (#27711)- [
refurb] SkipFURB101andFURB103when theopenargument is a file descriptor (#27643)Bug fixes
- Fix
InvalidInstructionon Windows CPUs that do not supportPOPCNT(#27803)- [
pyflakes] Emit semantic syntax errors in string type definitions asF722(#27835)- [
pylint] Allowos._exitimports inimport-private-name(PLC2701) (#27738)Rule changes
- [syntax-errors] Align mixed t-string/bytes error message with CPython 3.14 (#27766)
- [
ruff] Addctypes.LittleEndianStructureand related types to existing exception (RUF012) (#27753)- [syntax-errors] Detect duplicate keyword arguments (#17804)
- [syntax-errors] Detect parameters declared
nonlocal(#27628)Server
- Offer display-only fixes and mark safe fixes preferred (#27807)
- Support pull diagnostics for notebook cells (#27779)
Documentation
Other changes
- Fix s390x stacker assembly in release builds (#27776)
- Guarantee minimum stack size when parsing a module, standalone expression, and suites (#25464)
- Reduce configuration deserialization code size (#27924)
- Check packed AST index bounds (#27849)
Contributors
... (truncated)
Commits
11c76bfBump 0.16.4 (#27937)d53c8c5Isolate playground builds from deployment credentials (#27839)cab001eDisable uv preview for releases and pre-commit hooks (#27939)f8d575f[ty] Clarify writing guidance for human readers (#27912)ca45faeSet--previewand--default-indexfor theuv-lockhook (#27935)4827bf7ExportUV_DEFAULT_INDEXinrelease.sh(#27934)d1087a4[ty] Handle assignment expressions in string annotations (#27921)680cce4[ty] Optimize inherited recursive protocol comparisons (#27922)974d3cbUpgrade ecosystem-analyzer and mypy_primer to the latest upstream pins (#27932)b169b40Install cargo tools locked (#27929)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Update dev tooling to latest patch versions and regenerate the lockfile with Poetry 2.4.1. This aligns local tooling with CI, may surface new lint/type diagnostics, and fixes a pre-commit regression for Node hooks on npm 11.
hypothesis6.165.10: minor fixes; property-based tests may see improved regex/stateful handling.mypy2.3.1: bugfix release; type checking should be stable but may resolve prior crashes.pre-commit4.6.2: fixeslanguage: nodehooks containing build scripts with npm 11.ruff0.16.4: may emit new diagnostics (e.g., duplicate keyword arguments) and minor rule tweaks.poetry.lockregenerated by Poetry 2.4.1; a duplicatenumpyvariant was removed.
Review and rollout notes
- If lint or type checks newly fail under
ruff/mypy, update code or adjust configuration to pass. - After merge, run
poetry installto sync local env and re-runpre-commit.