Repository navigation
⬆️ deps: bump Python dev dependencies - #7
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/python-dev-dependencies
branch
2 times, most recently
from
November 23, 2026 23:10
549538c to
0966d57
Compare
renovate
Bot
force-pushed
the
renovate/python-dev-dependencies
branch
from
November 24, 2026 22:41
0966d57 to
4d2726e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.17.5→>=0.17.6>=0.0.104→>=0.0.109Release Notes
astral-sh/ruff (ruff)
v0.17.6Compare Source
Released on 2026-11-19.
Preview features
flake8-type-checking] Add a fix forruntime-string-union(TC010) (#15635)Bug fixes
B033,RUF068) (#30493)pyflakes] Fix false negative when a name is assigned more than once (F823) (#30524)pylint] Avoid false positive when collection is modified in loop (PLR1733,PLR1736) (#30466)ruff] Avoid syntax error inuseless-finallyfix for inlinetrybodies (RUF072) (#30349).__future__as ordinary imports (#30260)Rule changes
flake8-simplify] Avoid redundantboolwrappers inSIM208fixes (#30457)pyflakes] Ignore__traceback_hide__inunused-variable(F841) (#29600)Performance
Documentation
Other changes
Contributors
astral-sh/ty (ty)
v0.0.109Compare Source
Released on 2026-11-23.
Bug fixes
list[T]through a generic helper can now preservelist[T]as the result type. (#30423)unknown-argumentwhencopy.replaceor a generated__replace__receives aninit=Falsefield. This applies to standard-library and Pydantic dataclasses, attrs classes, and other classes usingdataclass_transform. (#30850)selfas a field keyword in dataclass and Pydantic constructors and in dataclass and named tuple replacement methods. (#29341)Selffrom the receiver and field arguments in generated dataclass and named tuple methods, so an inherited method can accept a base-class value for a field annotated withSelf. (#29341)LSP server
Iconsand PySide6’sQt.Key. (#30707)Diagnostic improvements
unknown-rule-in-ignore-comment. The old name,ignore-comment-unknown-rule, remains a compatibility alias in configuration and ignore comments. Runty check --fixto update ignore comments automatically. (#30827)Performance improvements
Calls and overloads
dot(dot(a, b), c)faster when several outer overloads give the inner call the same expected return type. (#30785)Selfacross generic calls with matching parameter and argument types, when there’s no expected return type or unpacked variadic parameter. (#30815)boto3client calls. (#30789)TypedDict.getoverloads that share the type of the default argument. (#30813)*argsor**kwargs. (#30734)Generics and recursive types
Classes and
TypedDictsTypedDicts and unions, including recursive unions such as Pydantic’sCoreSchema. (#30555)Unions, narrowing, and literals
matchstatements that rule out many literal values, such as integer opcode dispatch. (#30736, #30767)analysis.strict-generic-narrowing = true, this also lets anisinstancecheck narrow a value to a more specific type when a recursively inferred type argument was approximated asobject. (#30829)str.startswithchecks on values with many possible literal strings, such as enum member names. (#30811)Collections and iteration
floatandcomplex. (#30796, #30695)File discovery, imports, and control flow
src.includepattern or when all exclude patterns apply only to directories. (#30772, #30794)withblocks. (#30803)import a.b.c. (#30722)Core type checking
enum.auto()values from preceding members in both class-based and functional enums. For sequential integer values, ty counts from the last value through Python 3.10 and from the highest value for Python 3.11 and later targets. It can inferintwhen the exact value depends on runtime data or control flow. (#30548)copy.replace. For example, a field accessed as_idtakes the keywordidby default. An explicitaliastakes precedence. (#30824)except ... as excwhen the handler uses a type alias for a tuple of exception classes or a union of an exception class and a tuple. (#30758)@field_name.validatoron fields declared withattrs.fieldorattr.ib, fixing false missing-attribute errors and preserving the decorated method’s signature. (#30839)not-callableerrors on attrs@field_name.defaultdecorators for fields that ty treats as required constructor arguments. (#30839)Contributors
v0.0.108Compare Source
Released on 2026-11-22.
Breaking changes
mismatched-type-namewith eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (#29957)mismatched-newtype-name,mismatched-typevar-name,mismatched-paramspec-name,mismatched-typevartuple-name,mismatched-typeddict-name, andmismatched-type-alias-namewarn by default.mismatched-enum-nameandmismatched-namedtuple-nameare disabled by default. They check names only when ty can infer a single string literal.Bug fixes
Genericbase whose required type parameter follows one with a default. Theinvalid-generic-classdiagnostic now points to the type parameters in the unpacked base. (#30630)ParamSpecwhen an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (#30594)ParamSpec. (#30547)Unknownresult. (#30549)type Id[T] = T, so ty can infer a generic call's result from the callback's return type. (#30590)invalid-generic-classalso silencedshadowed-type-variablediagnostics in nested classes. (#30588)invalid-paramspecerror on*argswith# ty: ignorecaused the error to reappear on**kwargs. (#30595)LSP server
fromimports outside the requested range. (#30665)CLI
ty check --output-format gitlabreports faster when the same rule produces many diagnostics in one file. (#30724)Diagnostic improvements
uv-metadatadiagnostic toproject-managerand clarify whether uv failed to load project metadata or set up a script environment. Whenproject-manager.script = "uv"is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (#30528)Core type checking
TypeVar,ParamSpec,TypeVarTuple,NewType, andTypeAliasTypedefinitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (#29957)float*) for-0.5and+0.5as for0.5. (#30720)Performance improvements
Calls and overloads
**-unpacked mappings faster by reusing the inferred type for each keyword. (#30638)boto3.client("s3")faster when many overloads expect different string literals. This optimization applies to files that are not open in the editor. (#30642)listorbytessooner. Reuse the inferred type of a tuple literal when those parameter types give its elements no type context. (#30667, #30675)TypeGuardandTypeIs. (#30671)Generics and recursive types
listtypes, overlap. (#30653)Anyfrom a generic base class faster when matching an argument to a union parameter. (#30685)typestatement. (#30682)Classes and
TypedDictsTypedDicttypes, rule out alternatives with missing required keys or conflicting literal tags before inferring field values. (#30641)TypedDictwhen checking a**kwargs: Unpack[SomeTypedDict]annotation. (#30691)TypedDictfields with identical types, including recursive types. (#30554)TypedDictdoes not inherit from anotherTypedDict. (#30706)Unions, narrowing, and literals
dtype. (#30698)type[C]. (#30716)|=on unions of literals. (#30746, #30733)Imports, name resolution, and control flow
__init__.pyto check whether it declares a legacy namespace package. (#30646)ty checkruns that list many individual files. (#30702)self.titlefaster. (#30678)trystatements with oneexceptclause and nofinallyblock. (#30739)Memory usage improvements
isinstancechecks, including unions of unrelated class types or disjoint literals combined withAny. (#30737, #30742)__all__. (#30668)Other changes
NamedTupleLikeprivate in thety_extensionsstubs. (#30567)Contributors
v0.0.107Compare Source
Released on 2026-11-18.
Preview features
Bug fixes
Other changes
Contributors
v0.0.106Compare Source
Released on 2026-11-18.
Breaking changes
Bug fixes
LSP server
diagnosticMode: "openFilesOnly"(#30381)Configuration changes
project-manager.script = "uv"(#30489)Other changes
Contributors
v0.0.105Compare Source
Released on 2026-11-17.
Breaking changes
missing-module-memberout ofimport-not-found(#30342)__post_init__signatures into a separate rule (#30335)Bug fixes
diagnosticMode: "workspace"(#30415)LSP server
Memory usage improvements
Other changes
assert_neverarguments (#30389)Contributors
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.