Skip to content

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented May 2, 2025

Fixes #11604. Using the pytest plugin might be done at some point but not really required.

Simplify test code, update support policy, update CI. Bump mypy to 1.15.
Require uv>=0.7.2, as the lockfile format was updated.

Change Summary

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added the relnotes-packaging Used for dependency changes. label May 2, 2025
Copy link
Contributor

hyperlint-ai bot commented May 2, 2025

PR Change Summary

Updated support policy to only support the latest Mypy version and simplified test code.

  • Bumped Mypy version to 1.15 and updated support policy to only test against the latest version.
  • Simplified test code and updated CI configurations.
  • Changed command from 'make test-mypy-update-all' to 'make test-mypy-update' in the documentation.

Modified Files

  • docs/integrations/mypy.md
  • tests/mypy/README.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@Viicos Viicos force-pushed the mypy-last-version branch from 29e4625 to b3c9a05 Compare May 2, 2025 16:09
Copy link

cloudflare-workers-and-pages bot commented May 2, 2025

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5378069
Status: ✅  Deploy successful!
Preview URL: https://b474c9b5.pydantic-docs.pages.dev
Branch Preview URL: https://mypy-last-version.pydantic-docs.pages.dev

View logs

Simplify test code, update support policy, update CI.
Bump mypy to 1.15.
Require uv>=0.7.2, as the lockfile format was updated.
@Viicos Viicos force-pushed the mypy-last-version branch from b3c9a05 to 5378069 Compare May 2, 2025 16:10
@Viicos
Copy link
Member Author

Viicos commented May 2, 2025

cc @DanielNoord

Copy link

codspeed-hq bot commented May 2, 2025

CodSpeed Performance Report

Merging #11832 will not alter performance

Comparing mypy-last-version (5378069) with main (b0d701f)

Summary

✅ 46 untouched benchmarks

Copy link
Contributor

github-actions bot commented May 2, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

@Viicos Viicos added relnotes-change Used for changes to existing functionality which don't have a better categorization. and removed relnotes-packaging Used for dependency changes. labels May 3, 2025
@Viicos Viicos requested a review from DouweM May 9, 2025 17:16
@Viicos Viicos merged commit 15c3753 into main May 16, 2025
59 checks passed
@Viicos Viicos deleted the mypy-last-version branch May 16, 2025 13:44
@Viicos Viicos added the needs-blogpost-entry This PR needs to be documented in the release notes blog post label Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-blogpost-entry This PR needs to be documented in the release notes blog post relnotes-change Used for changes to existing functionality which don't have a better categorization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify mypy tests
2 participants