Skip to content

[red-knot] mypy_primer: Use upstream repo#17500

Merged
sharkdp merged 1 commit intomainfrom
david/mypy_primer-use-upstream-repo
Apr 22, 2025
Merged

[red-knot] mypy_primer: Use upstream repo#17500
sharkdp merged 1 commit intomainfrom
david/mypy_primer-use-upstream-repo

Conversation

@sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Apr 20, 2025

Summary

Switch to the official version of mypy_primer, now that Red Knot support has been upstreamed (see hauntsaninja/mypy_primer#138, hauntsaninja/mypy_primer#135, hauntsaninja/mypy_primer#151, hauntsaninja/mypy_primer#155).

Test Plan

Locally and in CI

@sharkdp sharkdp added ci Related to internal CI tooling ty Multi-file analysis & type inference labels Apr 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 20, 2025

mypy_primer results

No ecosystem changes detected ✅

@sharkdp sharkdp force-pushed the david/mypy_primer-use-upstream-repo branch 2 times, most recently from 120892e to af3cdf4 Compare April 22, 2025 09:42
@@ -1,8 +1,6 @@
arrow
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This package is not included upstream. I used it for testing something, I don't think it's important that we keep it.

python-htmlgen
rich
scrapy
strawberry
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this package in our fork, as it made use of @dataclass_transform. I'll propose to add this upstream.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sharkdp sharkdp force-pushed the david/mypy_primer-use-upstream-repo branch from af3cdf4 to f1a91dc Compare April 22, 2025 09:48
@sharkdp sharkdp marked this pull request as ready for review April 22, 2025 09:52
@sharkdp sharkdp merged commit 38a3b05 into main Apr 22, 2025
23 checks passed
@sharkdp sharkdp deleted the david/mypy_primer-use-upstream-repo branch April 22, 2025 09:55
dcreager added a commit that referenced this pull request Apr 22, 2025
* main: (37 commits)
  [red-knot] Add list of failing/slow ecosystem projects (#17474)
  [red-knot] mypy_primer: extend ecosystem checks (#17544)
  [red-knot] Move `InstanceType` to its own submodule (#17525)
  [red-knot] mypy_primer: capture backtraces (#17543)
  [red-knot] mypy_primer: Use upstream repo (#17500)
  [red-knot] `typing.dataclass_transform` (#17445)
  Update dependency react-resizable-panels to v2.1.8 (#17513)
  Update dependency smol-toml to v1.3.3 (#17505)
  Update dependency uuid to v11.1.0 (#17517)
  Update actions/setup-node action to v4.4.0 (#17514)
  [red-knot] Fix variable name (#17532)
  [red-knot] Add basic subtyping between class literal and callable (#17469)
  [`pyupgrade`] Add fix safety section to docs (`UP030`) (#17443)
  [`perflint`] Allow list function calls to be replaced with a comprehension (`PERF401`) (#17519)
  Update pre-commit dependencies (#17506)
  [red-knot] Simplify visibility constraint handling for `*`-import definitions (#17486)
  [red-knot] Detect (some) invalid protocols (#17488)
  [red-knot] Correctly identify protocol classes (#17487)
  Update dependency ruff to v0.11.6 (#17516)
  Update Rust crate shellexpand to v3.1.1 (#17512)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant