Skip to content

[ty] Pin mypy_primer in setup_primer_project.py#24020

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

[ty] Pin mypy_primer in setup_primer_project.py#24020
sharkdp merged 1 commit intomainfrom
david/pin-mypy_primer

Conversation

@sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Mar 17, 2026

Summary

Pin mypy_primer (reference: #24016 (comment))

@sharkdp sharkdp added ty Multi-file analysis & type inference internal An internal refactor or improvement labels Mar 17, 2026
#
# /// script
# requires-python = ">=3.10"
# requires-python = ">=3.11"
Copy link
Contributor Author

@sharkdp sharkdp Mar 17, 2026

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
Copy link

astral-sh-bot bot commented Mar 17, 2026

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.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

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 ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants