Skip to content

[ty] Sync vendored typeshed stubs#25514

Merged
AlexWaygood merged 6 commits into
mainfrom
typeshedbot/sync-typeshed
Jun 1, 2026
Merged

[ty] Sync vendored typeshed stubs#25514
AlexWaygood merged 6 commits into
mainfrom
typeshedbot/sync-typeshed

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 1, 2026

Close and reopen this PR to trigger CI

@github-actions github-actions Bot requested a review from carljm as a code owner June 1, 2026 01:20
@github-actions github-actions Bot added the ty Multi-file analysis & type inference label Jun 1, 2026
@github-actions github-actions Bot added the ty Multi-file analysis & type inference label Jun 1, 2026
@dhruvmanila dhruvmanila closed this Jun 1, 2026
@dhruvmanila dhruvmanila reopened this Jun 1, 2026
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Jun 1, 2026

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 91.94%. The percentage of expected errors that received a diagnostic held steady at 87.09%. The number of fully passing files held steady at 92/134.

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Jun 1, 2026

Memory usage report

Summary

Project Old New Diff Outcome
prefect 709.56MB 709.59MB +0.00% (28.17kB)
sphinx 261.07MB 261.09MB +0.01% (19.54kB)
trio 109.15MB 109.16MB +0.01% (7.06kB)
flake8 43.95MB 43.95MB -

Significant changes

Click to expand detailed breakdown

prefect

Name Old New Diff Outcome
parsed_module 26.89MB 26.90MB +0.03% (7.97kB)
infer_expression_type_impl 8.22MB 8.22MB +0.06% (5.46kB)
infer_expression_types_impl 60.29MB 60.29MB +0.01% (4.18kB)
infer_definition_types 88.41MB 88.42MB +0.00% (3.57kB)
semantic_index 178.48MB 178.48MB +0.00% (3.18kB)
all_narrowing_constraints_for_expression 6.79MB 6.79MB +0.02% (1.14kB)
all_negative_narrowing_constraints_for_expression 6.62MB 6.62MB +0.02% (1.14kB)
Definition 24.08MB 24.08MB +0.00% (480.00B)
StaticClassLiteral<'db>::implicit_attribute_inner_ 7.02MB 7.02MB +0.01% (424.00B)
CallableType 2.78MB 2.78MB +0.01% (304.00B)
infer_deferred_types 10.40MB 10.40MB +0.00% (268.00B)
source_text 24.88MB 24.88MB +0.00% (259.00B)
Type<'db>::member_lookup_with_policy_ 17.13MB 17.13MB +0.00% (232.00B)
is_redundant_with_impl::interned_arguments 2.36MB 2.36MB -0.01% (176.00B)
UnionType<'db>::from_two_elements_ 787.43kB 787.32kB -0.01% (116.00B)
... 5 more

sphinx

Name Old New Diff Outcome
parsed_module 25.61MB 25.63MB +0.05% (13.89kB)
semantic_index 58.83MB 58.84MB +0.01% (4.10kB)
source_text 7.24MB 7.24MB +0.01% (789.00B)
Definition 8.87MB 8.87MB +0.01% (576.00B)
Expression 3.22MB 3.22MB +0.00% (144.00B)
ScopeId 729.53kB 729.61kB +0.01% (80.00B)

trio

Name Old New Diff Outcome
parsed_module 21.02MB 21.02MB +0.02% (5.38kB)
infer_deferred_types 2.11MB 2.11MB +0.01% (268.00B)
semantic_index 28.32MB 28.32MB +0.00% (228.00B)
is_redundant_with_impl 194.70kB 194.88kB +0.10% (192.00B)
is_redundant_with_impl::interned_arguments 222.66kB 222.84kB +0.08% (176.00B)
IntersectionType 130.02kB 130.19kB +0.13% (168.00B)
source_text 3.70MB 3.70MB +0.00% (159.00B)
TupleType<'db>::to_class_type_ 46.48kB 46.62kB +0.29% (140.00B)
UnionType 144.12kB 144.23kB +0.08% (112.00B)
Specialization 463.75kB 463.86kB +0.02% (112.00B)
TupleType 107.72kB 107.81kB +0.09% (96.00B)
GenericAlias 192.38kB 192.45kB +0.04% (72.00B)

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Jun 1, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-argument-type 1 9 0
unresolved-attribute 3 0 0
invalid-assignment 0 0 1
Total 4 9 1

Raw diff:

anyio (https://github.com/agronholm/anyio)
+ src/anyio/_backends/_asyncio.py:195:20 error[unresolved-attribute] Attribute `run` is not defined on `None` in union `(Unknown & ~None) | None | Context`
+ src/anyio/_backends/_asyncio.py:195:32 error[unresolved-attribute] Attribute `create_task` is not defined on `None` in union `AbstractEventLoop | None`
+ src/anyio/_backends/_asyncio.py:214:24 error[unresolved-attribute] Attribute `run_until_complete` is not defined on `None` in union `AbstractEventLoop | None`

core (https://github.com/home-assistant/core)
- homeassistant/components/wilight/support.py:62:22 error[invalid-argument-type] Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`

ibis (https://github.com/ibis-project/ibis)
- ibis/backends/polars/compiler.py:1176:30 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/sql/compilers/base.py:999:60 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/sql/compilers/clickhouse.py:532:52 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/sql/compilers/datafusion.py:274:50 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/sql/compilers/mssql.py:248:52 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/sql/compilers/pyspark.py:184:60 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `_localized_day`
- ibis/backends/tests/test_temporal.py:728:23 error[invalid-argument-type] Argument to function `simplefilter` is incorrect: Expected `type[Warning]`, found `tuple[<class 'UserWarning'>, Unknown]`

scipy (https://github.com/scipy/scipy)
- scipy/optimize/tests/test__shgo.py:597:17 error[invalid-argument-type] Argument to function `simplefilter` is incorrect: Expected `type[Warning]`, found `tuple[<class 'OptimizeWarning'>, <class 'RuntimeWarning'>]`

urllib3 (https://github.com/urllib3/urllib3)
+ test/__init__.py:100:23 error[invalid-argument-type] Argument to function `issubclass` is incorrect: Expected `type`, found `type[Warning] | tuple[type[Warning], ...]`
- test/__init__.py:103:5 error[invalid-assignment] Cannot assign to a subscript on an object of type `Sequence[tuple[str, Pattern[str] | None, type[Warning], Pattern[str] | None, int]]`
+ test/__init__.py:103:5 error[invalid-assignment] Cannot assign to a subscript on an object of type `Sequence[tuple[str, Pattern[str] | None, type[Warning] | tuple[type[Warning], ...], Pattern[str] | None, int]]`

Full report with detailed diff (timing results)

@AlexWaygood AlexWaygood merged commit a8d0fff into main Jun 1, 2026
61 of 65 checks passed
@AlexWaygood AlexWaygood deleted the typeshedbot/sync-typeshed branch June 1, 2026 07:00
carljm added a commit that referenced this pull request Jun 1, 2026
* main:
  [`pydocstyle`] Improve discoverability of rules enabled for each convention (#24973)
  [ty] Deduplicate retained use-def place states (#25450)
  [ty] reduce features of low-level crates depended on by `ty_python_semantic` (#25524)
  [ty] Fix narrowing enum literal unions by member identity (#25520)
  [ty] Test tagged union narrowing for named tuples (#25519)
  [ty] Disallow file-system access in `ty_python_core` (#25518)
  [ty] Nominal Tagged Union Narrowing (#24916)
  Commit `scripts/uv.lock` (#25517)
  Fix potential index out of range in `LineIndex` computation (#25492)
  [ty] Sync vendored typeshed stubs (#25514)
  [ty] Add disjointness for protocol method members (#25315)
  [ty] Use compact sets for more immutable fields (#25476)
  [ty] Derive `Default` for `FunctionDecoratorInference` (#25482)
  [ty] Ignore rejected assignments for synthesized bindings (#25340)
  [ty] Handle cycles in function decorator inference (#25475)
  docs: fix typo `bin/active` → `bin/activate` in tutorial (#25473)
  [ty] Narrow bound method overloads by receiver (#24707)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants