build(deps): bump the test-and-lint-dependencies group with 2 updates
Type: Pull Request
State: Open
Association: Unknown
Comments: 1
(6 months ago)
(6 months ago)
dependencies python
Bumps the test-and-lint-dependencies group with 2 updates: ruff and mypy.
Updates ruff from 0.14.6 to 0.14.7
Release notes
Sourced from ruff's releases.
0.14.7
Release Notes
Released on 2025-11-28.
Preview features
- [
flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) (#21469)- [
pylint] FixPLR1708false positives on nested functions (#21177)- [
pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) (#21290)- [
ruff] Add ruleRUF066to detect unnecessary class properties (#21535)- [
ruff] Catch more dummy variable uses (RUF052) (#19799)Bug fixes
- [server] Set severity for non-rule diagnostics (#21559)
- [
flake8-implicit-str-concat] Avoid invalid fix in (ISC003) (#21517)- [
parser] Fix panic when parsing IPython escape command expressions (#21480)CLI
- Show partial fixability indicator in statistics output (#21513)
Contributors
@mikeleppane@senekor@ShaharNaveh@JumboBear@prakhar1144@tsvikas@danparizher@chirizxc@AlexWaygood@MichaReiserInstall ruff 0.14.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.7/ruff-installer.ps1 | iex"
... (truncated)
Changelog
Sourced from ruff's changelog.
0.14.7
Released on 2025-11-28.
Preview features
- [
flake8-bandit] Handle string literal bindings in suspicious-url-open-usage (S310) (#21469)- [
pylint] FixPLR1708false positives on nested functions (#21177)- [
pylint] Fix suppression for empty dict without tuple key annotation (PLE1141) (#21290)- [
ruff] Add ruleRUF066to detect unnecessary class properties (#21535)- [
ruff] Catch more dummy variable uses (RUF052) (#19799)Bug fixes
- [server] Set severity for non-rule diagnostics (#21559)
- [
flake8-implicit-str-concat] Avoid invalid fix in (ISC003) (#21517)- [
parser] Fix panic when parsing IPython escape command expressions (#21480)CLI
- Show partial fixability indicator in statistics output (#21513)
Contributors
Commits
ecab623Bump 0.14.7 (#21684)42f1521[ty] Generic types aliases (implicit and PEP 613) (#21553)594b7b0[ty] Preserve quoting style when autofixingTypedDictkeys (#21682)b5b4917[ty] Fix override of final method summary (#21681)0084e94[ty] Fix subtyping oftype[Any]/type[T]and protocols (#21678)566c959[ty] RenameReferenceRequestHandlerfile (#21680)8bcfc19[ty] Implementtyping.finalfor methods (#21646)c534bfa[ty] Implement patterns and typevars in the LSP (#21671)5e1b2ee[ty] implement rendering of.. code:: langin docstrings (#21665)98681b9[ty] Adddbparameter toParameters::newmethod (#21674)- Additional commits viewable in compare view
Updates mypy from 1.18.2 to 1.19.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Drop Support for Python 3.9
Mypy no longer supports running with Python 3.9, which has reached end-of-life. When running mypy with Python 3.10+, it is still possible to type check code that needs to support Python 3.9 with the
--python-version 3.9argument. Support for this will be dropped in the first half of 2026!Contributed by Marc Mueller (PR 20156).
Mypy 1.19
We’ve just uploaded mypy 1.19.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.9 Support Ending Soon
This is the last mypy feature release that supports Python 3.9, which reached end of life in October 2025.
Performance Improvements
- Switch to a more dynamic SCC processing logic (Ivan Levkivskyi, PR 20053)
- Speed up type aliases (Ivan Levkivskyi, PR 19810)
Fixed‑Format Cache Improvements
Mypy uses a cache by default to speed up incremental runs by reusing partial results from earlier runs. Mypy 1.18 added a new binary fixed-format cache representation as an experimental feature. The feature is no longer experimental, and we are planning to enable it by default in a future mypy release (possibly 1.20), since it's faster and uses less space than the original, JSON-based cache format. Use
--fixed-format-cacheto enable the fixed-format cache.Mypy now has an extra dependency on the
librtPyPI package, as it's needed for cache serialization and deserialization.Mypy ships with a tool to convert fixed-format cache files to the old JSON format. Example of how to use this:
$ python -m mypy.exportjson .mypy_cache/.../my_module.data.ff
... (truncated)
Commits
0f068c9Remove +dev6d5cf52Various updates to 1.19 changelog (#20304)3c81308Add draft version of 1.19 release notes (#20296)1999a20[mypyc] librt base64: use existing SIMD CPU dispatch by customizing build fla...1b94fbb[mypyc] Fix vtable pointer with inherited dunder new (#20302)13369cb[mypyc] Fix crash on super in generator (#20291)a087a58Update import map when new modules added (#20271)35e843c[mypyc] Add efficient librt.base64.b64decode (#20263)094f66d[mypyc] Add repr to AssignmentTarget subclasses (#20258)0738db3Do not push partial types to the binder (#20202)- 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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
Technical Details
| ID: | 11857796 |
| UUID: | 3708004013 |
| Node ID: | PR_kwDOAHkylc63xCQF |
| Host: | GitHub |
| Repository: | theupdateframework/python-tuf |