Skip to content

Compile with mypyc - #2586

Draft
DanielNoord wants to merge 1 commit into
PyCQA:mainfrom
DanielNoord:mypyc
Draft

Compile with mypyc#2586
DanielNoord wants to merge 1 commit into
PyCQA:mainfrom
DanielNoord:mypyc

Conversation

@DanielNoord

Copy link
Copy Markdown
Member

Closes #1953

Tested this against pylint and I can run the compiled version of isort against it.
However, there doesn't seem to be a significant speed gain unfortunately.

Tests are also an issue, but that can come later.

@DanielNoord

Copy link
Copy Markdown
Member Author

Blocked on mypyc/mypyc#1204

Without it we can't use the default_factory=dict in our settings I think.

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.42%. Comparing base (64fa42a) to head (aa8751c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2586      +/-   ##
==========================================
- Coverage   99.42%   99.42%   -0.01%     
==========================================
  Files          41       41              
  Lines        3149     3145       -4     
  Branches      682      682              
==========================================
- Hits         3131     3127       -4     
  Misses         11       11              
  Partials        7        7              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DanielNoord
DanielNoord force-pushed the mypyc branch 2 times, most recently from a64991b to 349f540 Compare July 28, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(🎁) Distribute compiled wheels

1 participant