Skip to content

[ty] Sync vendored typeshed stubs, support builtins.sentinel#26341

Merged
AlexWaygood merged 9 commits into
mainfrom
typeshedbot/sync-typeshed
Jun 24, 2026
Merged

[ty] Sync vendored typeshed stubs, support builtins.sentinel#26341
AlexWaygood merged 9 commits into
mainfrom
typeshedbot/sync-typeshed

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Close and reopen this PR to trigger CI

Closes #26262, closes astral-sh/ty#3752

@github-actions github-actions Bot added the ty Multi-file analysis & type inference label Jun 24, 2026
@github-actions github-actions Bot requested review from a team as code owners June 24, 2026 22:04
@github-actions github-actions Bot added the ty Multi-file analysis & type inference label Jun 24, 2026
@astral-sh-bot astral-sh-bot Bot requested a review from dcreager June 24, 2026 22:04
@astral-sh-bot

astral-sh-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

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

@astral-sh-bot

astral-sh-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

Memory usage report

Summary

Project Old New Diff Outcome
trio 70.59MB 70.62MB +0.04% (28.95kB)
prefect 450.68MB 450.71MB +0.01% (25.67kB)
flake8 29.13MB 29.15MB +0.09% (25.65kB)
sphinx 167.36MB 167.38MB +0.01% (21.40kB)

Significant changes

Click to expand detailed breakdown

trio

Name Old New Diff Outcome
parsed_module 15.16MB 15.18MB +0.09% (13.90kB)
semantic_index 18.00MB 18.00MB +0.04% (7.13kB)
source_text 3.73MB 3.74MB +0.08% (3.11kB)
Definition 3.61MB 3.61MB +0.05% (1.88kB)
is_redundant_with_impl::interned_arguments 218.62kB 219.31kB +0.31% (704.00B)
UnionType 142.31kB 142.69kB +0.26% (384.00B)
Expression 1.27MB 1.27MB +0.03% (384.00B)
is_redundant_with_impl 120.92kB 121.25kB +0.27% (336.00B)
StaticClassLiteral<'db>::try_mro_ 521.66kB 521.44kB -0.04% (232.00B)
StaticClassLiteral<'db>::implicit_attribute_inner_ 93.77kB 93.98kB +0.22% (216.00B)
member_lookup_with_policy_inner 1.03MB 1.03MB +0.02% (200.00B)
infer_expression_types_impl 4.35MB 4.36MB +0.00% (184.00B)
IntersectionType 133.91kB 134.07kB +0.12% (168.00B)
ScopeId 426.76kB 426.91kB +0.04% (160.00B)
infer_definition_types 4.02MB 4.02MB +0.00% (144.00B)
... 10 more

prefect

Name Old New Diff Outcome
parsed_module 19.48MB 19.50MB +0.08% (15.96kB)
semantic_index 115.47MB 115.48MB +0.01% (8.19kB)
source_text 25.31MB 25.31MB +0.02% (3.95kB)
Definition 20.45MB 20.45MB +0.01% (2.11kB)
infer_expression_types_impl 37.71MB 37.71MB -0.00% (1.41kB)
infer_definition_types 50.57MB 50.57MB -0.00% (944.00B)
member_lookup_with_policy_inner 10.21MB 10.21MB -0.01% (848.00B)
all_narrowing_constraints_for_expression 5.15MB 5.15MB -0.01% (432.00B)
Expression 8.99MB 8.99MB +0.00% (384.00B)
analyze_non_terminal_call 1.77MB 1.77MB -0.01% (264.00B)
UnionType<'db>::from_two_elements_::interned_arguments 265.46kB 265.20kB -0.10% (264.00B)
infer_expression_type_impl 219.76kB 219.52kB -0.11% (240.00B)
UnionType 1.06MB 1.06MB -0.02% (224.00B)
ScopeId 1.96MB 1.96MB +0.01% (200.00B)
StaticClassLiteral<'db>::implicit_attribute_inner_ 810.57kB 810.38kB -0.02% (192.00B)
... 13 more

flake8

Name Old New Diff Outcome
parsed_module 9.85MB 9.86MB +0.13% (13.45kB)
semantic_index 8.03MB 8.03MB +0.09% (7.13kB)
source_text 1.57MB 1.57MB +0.17% (2.66kB)
Definition 1.81MB 1.81MB +0.10% (1.88kB)
Expression 325.69kB 326.06kB +0.12% (384.00B)
ScopeId 233.75kB 233.91kB +0.07% (160.00B)

sphinx

Name Old New Diff Outcome
parsed_module 18.50MB 18.51MB +0.08% (15.68kB)
semantic_index 37.88MB 37.89MB +0.02% (8.19kB)
source_text 7.28MB 7.28MB +0.05% (3.67kB)
Definition 7.41MB 7.41MB +0.03% (2.11kB)
CallableType 1.44MB 1.44MB -0.09% (1.31kB)
Type<'db>::apply_specialization_inner_::interned_arguments 1.53MB 1.53MB -0.08% (1.25kB)
Type<'db>::apply_specialization_inner_ 1.03MB 1.03MB -0.08% (856.00B)
FunctionType 1.78MB 1.78MB -0.04% (816.00B)
Specialization 1.40MB 1.40MB -0.05% (704.00B)
Expression 2.92MB 2.92MB +0.01% (384.00B)
FunctionType<'db>::signature_ 1.61MB 1.61MB -0.02% (352.00B)
StaticClassLiteral<'db>::try_mro_ 1.78MB 1.78MB -0.02% (320.00B)
when_constraint_set_assignable_to_owned_impl 969.53kB 969.26kB -0.03% (280.00B)
ProtocolInterface 179.02kB 178.77kB -0.14% (264.00B)
Type<'db>::class_member_with_policy_ 3.58MB 3.58MB -0.01% (256.00B)
... 26 more

@astral-sh-bot

astral-sh-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

Lint rule Added Removed Changed
missing-argument 5 0 0
not-subscriptable 4 0 0
invalid-argument-type 2 0 0
Total 11 0 0

Raw diff:

scipy (https://github.com/scipy/scipy)
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:29:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:33:50 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:35:54 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:38:42 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:39:30 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:47:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:58:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:65:13 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/lsq_problems.py:481:36 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `None | Unknown`
+ benchmarks/benchmarks/lsq_problems.py:482:24 error[invalid-argument-type] Argument to function `len` is incorrect: Expected `Sized`, found `None | Unknown`
+ benchmarks/benchmarks/lsq_problems.py:486:38 error[missing-argument] No arguments provided for required parameters `m`, `fopt`, `x0` of `LSQBenchmarkProblem.__init__`

Full report with detailed diff (timing results)

@AlexWaygood AlexWaygood removed the request for review from dcreager June 24, 2026 22:16
@AlexWaygood AlexWaygood self-assigned this Jun 24, 2026
@AlexWaygood

Copy link
Copy Markdown
Member

I think those hits are all due to python/typeshed#15931

@AlexWaygood AlexWaygood changed the title [ty] Sync vendored typeshed stubs [ty] Sync vendored typeshed stubs, support builtins.sentinel Jun 24, 2026
@AlexWaygood AlexWaygood merged commit 25dadb1 into main Jun 24, 2026
63 checks passed
@AlexWaygood AlexWaygood deleted the typeshedbot/sync-typeshed branch June 24, 2026 22:35
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.

support python 3.15 sentinel

1 participant