From c732a1f13a4b75d84dfd74eda0a57a55936d2e22 Mon Sep 17 00:00:00 2001 From: Stian Jensen Date: Fri, 23 Jun 2023 06:22:28 +0200 Subject: [PATCH] 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. --- CHANGES.md | 2 ++ pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e1028c1..460f9c9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,6 +33,8 @@ +- Upgrade mypyc from 0.991 to 1.3 (#3697) + ### Parser diff --git a/pyproject.toml b/pyproject.toml index 6803a62..d44623f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,8 +119,8 @@ sources = ["src"] [tool.hatch.build.targets.wheel.hooks.mypyc] enable-by-default = false dependencies = [ - "hatch-mypyc>=0.13.0", - "mypy==0.991", + "hatch-mypyc>=0.16.0", + "mypy==1.3", # Required stubs to be removed when the packages support PEP 561 themselves "types-typed-ast>=1.4.2", ] -- 2.39.5