Skip to content

[ty] Pin mypy_primer in setup_primer_project.py - #24020

Merged
sharkdp merged 1 commit into
mainfrom
david/pin-mypy_primer
Mar 17, 2026
Merged

sharkdp merged 1 commit into
mainfrom
david/pin-mypy_primer

Conversation

@sharkdp

@sharkdp sharkdp commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Pin mypy_primer (reference: #24016 (comment))

@sharkdp sharkdp added ty The ty type checker internal An internal refactor or improvement (not for changelogs) labels Mar 17, 2026
#
# /// script
# requires-python = ">=3.10"
# requires-python = ">=3.11"

@sharkdp sharkdp Mar 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that this was not a problem before (like, even when it was pinned using rev = … here) 🤔

mypy_primer requires 3.11 here: https://github.com/hauntsaninja/mypy_primer/blob/05f73ec3d85bb4f55676f3c57f2c3e5136228977/pyproject.toml#L7

@astral-sh-bot

astral-sh-bot Bot commented Mar 17, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@AlexWaygood AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty!

@sharkdp
sharkdp merged commit 7f275f4 into main Mar 17, 2026
42 checks passed
@sharkdp
sharkdp deleted the david/pin-mypy_primer branch March 17, 2026 20:26
carljm added a commit that referenced this pull request Mar 17, 2026
* main:
  [ty] Filter out unsatisfiable inference attempts during generic call narrowing (#24025)
  [ty] Avoid inferring intersection types for call arguments (#23933)
  [ty] Pin mypy_primer in `setup_primer_project.py` (#24020)
  [`pycodestyle`] Recognize `pyrefly:` as a pragma comment (`E501`) (#24019)
  Add company AI policy to contributing guide (#24021)
  [ty] Remove the mypy_primer CI workflow (#24016)
  Update prek dependencies (#23980)
  [ty] Smarter semantic token classification for attribute access on union type (#23841)
  [ty] ecosystem-analyzer: Inline diffs and panic messages (#24015)
  [ty] Improve `.toml` support in the ty playground (#23476)
  PEP 639 license information (#19661)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement (not for changelogs) ty The ty type checker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants