Build with mypyc 1.3 (#3697)
Several new versions of mypyc has been released since the last upgrade, and they include some performance improvements which could make the compiled version of Black run faster. https://mypy-lang.org/news.html The latest version of hatch-mypyc allows being installed next the 1.x series of mypy.
This commit is contained in:
parent
453828d17d
commit
c732a1f13a
@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
||||||
|
|
||||||
|
- Upgrade mypyc from 0.991 to 1.3 (#3697)
|
||||||
|
|
||||||
### Parser
|
### Parser
|
||||||
|
|
||||||
<!-- Changes to the parser or to version autodetection -->
|
<!-- Changes to the parser or to version autodetection -->
|
||||||
|
@ -119,8 +119,8 @@ sources = ["src"]
|
|||||||
[tool.hatch.build.targets.wheel.hooks.mypyc]
|
[tool.hatch.build.targets.wheel.hooks.mypyc]
|
||||||
enable-by-default = false
|
enable-by-default = false
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hatch-mypyc>=0.13.0",
|
"hatch-mypyc>=0.16.0",
|
||||||
"mypy==0.991",
|
"mypy==1.3",
|
||||||
# Required stubs to be removed when the packages support PEP 561 themselves
|
# Required stubs to be removed when the packages support PEP 561 themselves
|
||||||
"types-typed-ast>=1.4.2",
|
"types-typed-ast>=1.4.2",
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user