Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updated conformance results for mypy 1.12. #1866

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

erictraut
Copy link
Collaborator

  • Fixes bugs that previously caused a crash when running generics_defaults and generics_syntax_declarations tests.
  • Fixes conformance issues in the following tests: aliases_type_statement, generics_paramspec_components, generics_syntax_declarations, generics_variance_inference, tuples_type_compat.
  • Adds support for functionality covered by tests: typeddicts_readonly, typeddicts_readonly_consistency, typeddicts_readonly_inheritance, typeddicts_readonly_kwargs, typeddicts_readonly_update.

Fixed bugs in a couple of tests that were uncovered by mypy update.

  • The aliases_type_statement test assumed errors would be reported on a particular line.
  • The generics_syntax_declarations test assumed certain unspecified behaviors when evaluating the type of a type parameter.
  • The generics_variance_inference test was missing a return type annotation.

* Fixes bugs that previously caused a crash when running generics_defaults and generics_syntax_declarations tests.
* Fixes conformance issues in the following tests: aliases_type_statement, generics_paramspec_components, generics_syntax_declarations, generics_variance_inference, tuples_type_compat.
* Adds support for functionality covered by tests: typeddicts_readonly, typeddicts_readonly_consistency, typeddicts_readonly_inheritance, typeddicts_readonly_kwargs, typeddicts_readonly_update.

Fixed bugs in a couple of tests that were uncovered by mypy update.
* The aliases_type_statement test assumed errors would be reported on a particular line.
* The generics_syntax_declarations test assumed certain unspecified behaviors when evaluating the type of a type parameter.
* The generics_variance_inference test was missing a return type annotation.
@JelleZijlstra JelleZijlstra merged commit f86459c into python:main Oct 15, 2024
5 checks passed
@erictraut erictraut deleted the mypy1_12 branch October 15, 2024 16:02
carljm added a commit to erictraut/typing that referenced this pull request Jan 9, 2025
* main: (29 commits)
  Updated conformance test results for the latest versions of type chec… (python#1904)
  Add content from typeshed/CONTRIBUTING.md (python#1882)
  Fix markup in generics specification (python#1900)
  Specs clarification: Forbid `ClassVar` and `Final` within `TypedDict` body (python#1890)
  Remove paragraph mentioning minor edits through the mailing list (python#1891)
  Writing Stubs: Add "Overloads and Flags" section (python#1894)
  Fix a typo (python#1893)
  Update conformance tests for recent generics spec change (python#1892)
  Clarify some behavior around user-defined generic classes (python#1879)
  Modernizing guide: Mention TypeGuard/TypeIs (python#1887)
  Tools can perform "some" refactorings (python#1886)
  Mention use of cast in enum type stub example (python#1877)
  Update conformance results after new pyre release (python#1878)
  Add a label for typed dictionaries class-based syntax (python#1873)
  Add missing return type to generic_syntax_infer_variance.py (python#1871)
  Updated conformance results for mypy 1.13 and pyright 1.1.386 (python#1870)
  Modernizing guide: also mention `com2ann` (python#1869)
  Suggest `pyupgrade` or `ruff` for modernizing superseded typing features (python#1868)
  Updated conformance results for pyright 1.1.385. (python#1867)
  Updated conformance results for mypy 1.12. (python#1866)
  ...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants