build(deps-dev): bump the image-resizer-development group in /lambda/image-resizer with 2 updates
Bumps the image-resizer-development group in /lambda/image-resizer with 2 updates: mypy and ruff.
Updates mypy from 2.3.1 to 2.4.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 2.4
We've just uploaded mypy 2.4.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.
Python 3.15 Support
Mypy 2.4 supports running on Python 3.15 and type checking most Python 3.15 features. This includes the new builtin
sentineltype for sentinel values (PEP 661), which mypy now supports (see below for details). Lazy imports (PEP 810) and unpacking in comprehensions (PEP 798) are also supported. Closed TypedDicts (PEP 728) have been supported since mypy 2.2, but theextra_itemsTypedDict argument, also introduced in PEP 728, is still unsupported. Support forextra_itemswill be added in a future mypy release.Native Parser Enabled by Default
Mypy now uses the new native parser by default. It's based on the Ruff parser, and it's significantly faster than the legacy parser, which uses the stdlib
astmodule. The native parser also has other benefits:
- You can target newer Python versions and use recent Python syntax even when running mypy on an older Python version. For example, you can use
--python-version 3.15when running mypy on Python 3.14.- Stub files can use syntax that is newer than the target Python version. For example, stubs can use the PEP 695 generic class syntax (
class Box[T]: ...) when running on or targeting Python 3.10.- Parallel type checking requires the native parser.
The legacy parser is still available through
--no-native-parser, ornative_parser = Falsein the config file (native_parser = falseunder[tool.mypy]in pyproject.toml). We are planning to remove the legacy parser in early 2027. If you run into a problem with the native parser, please report it on the issue tracker.Unlike the legacy parser, the native parser doesn't support type comments for variables defined by
forandwithstatements. These type comments are silently ignored, and the types of the variables are
... (truncated)
Commits
935ba8aBump version to 2.4.0334a678Add link for PR 22066 in mypy 2.4 changelog (#22082)fe69660Finalize mypy 2.4 changelog (#22080)541fd87Various mypy 2.4 changelog updates (#22077)b231182Update native parser docs (#22078)04fe42cInitial Changelog for Mypy 2.4 (#22071)0617494Quick fix for non UTF-8 encodings with new parser (#22066)b2f9b60Bump librt to 0.16.0 (#22067)9d798dcSync typeshed (#22054)0861bb6Reduce max protocol stack size to 20 (#22053)- Additional commits viewable in compare view
Updates ruff from 0.16.9 to 0.16.10
Release notes
Sourced from ruff's releases.
0.16.10
Release Notes
Released on 2026-10-01.
Preview features
- Add a migration guide for categories (#28087)
- [
pyupgrade] Add rule for context manager iterator annotations (UP052) (#29000)Performance
- Reduce memory used by diagnostics (#28951)
Server
- Avoid running
uv formatin untrusted workspaces (#28873)Documentation
- Fix links to moved changelog sections and renamed mdtests (#28941)
- Add Python 3.15 as a supported version (#28907)
- Add ty as a type checker example (#28906)
Other changes
- Update Rust toolchain to 1.99 and MSRV to 1.97 (#29047)
Contributors
Install ruff 0.16.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.16.10/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.16.10/ruff-installer.ps1 | iex"Download ruff 0.16.10
... (truncated)
Changelog
Sourced from ruff's changelog.
0.16.10
Released on 2026-10-01.
Preview features
- Add a migration guide for categories (#28087)
- [
pyupgrade] Add rule for context manager iterator annotations (UP052) (#29000)Performance
- Reduce memory used by diagnostics (#28951)
Server
- Avoid running
uv formatin untrusted workspaces (#28873)Documentation
- Fix links to moved changelog sections and renamed mdtests (#28941)
- Add Python 3.15 as a supported version (#28907)
- Add ty as a type checker example (#28906)
Other changes
- Update Rust toolchain to 1.99 and MSRV to 1.97 (#29047)
Contributors
Commits
3265ed1Bump version to 0.16.10 (#29055)e786964Authorize shared PR security-review workflow to publish findings (#29052)a81291e[ty] Defer uv workspace discovery until after project configuration (#28525)b6a74d2[ty] Refresh uv project metadata when uv files change (#28529)41d30dfUpdate Rust toolchain to 1.99 and MSRV to 1.97 (#29047)317e0a3[ty] Bound nested callable signature display (#29049)8546752[ty] Fix member lookup on union-bounded type variables (#29018)56180bc[ty] Specialize instance members once (#29043)aa9a1ff[ty] Avoid stale I/O diagnostics when closing deleted files (#28988)2d25346[ty] Improveunresolved-importdocumentation (#29039)- 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