diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17f38f6..2371a73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,6 @@ jobs: - ubuntu-24.04-arm - windows-2025 - windows-11-arm - - macOS-26-intel - macOS-26 steps: diff --git a/pyproject.toml b/pyproject.toml index 75cf148..2673425 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dev = [ "click>=8.3", "ruff>=0.4", "jinja2>=3", - "mypy>=0.910", + "mypy>=1.19", "pytest>=6.2", "sphinx>=4", "sphinx-rtd-theme>=0.5", @@ -77,20 +77,16 @@ select = ["E", "F", "I", "W"] ignore = ["E501"] [tool.hatch.envs.lint] -dependencies = ["ruff>=0.4"] +features = ["dev"] [tool.hatch.envs.lint.scripts] fix = ["ruff format {args:src}", "ruff check --fix {args:src}"] -check = ["ruff format --check {args:src}", "ruff check {args:src}"] +check = ["ruff format --check {args:src}", "ruff check {args:src}", "mypy -p jntajis"] [tool.hatch.envs.wheels] dependencies = ["cibuildwheel>=2"] detached = true -[tool.hatch.envs.wheels.env-vars] -CIBW_BUILD = "cp310-* cp311-* cp312-* cp313-*" -CIBW_SKIP = "pp*" - [tool.hatch.envs.wheels.scripts] build = ["cibuildwheel --output-dir {args:dist}"] @@ -99,3 +95,10 @@ python = ["3.13", "3.12", "3.11", "3.10"] [tool.mypy] files = "src/" + +[tool.cibuildwheel] +build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"] +# skip = "pp*" + +[tool.cibuildwheel.macos] +archs = ["universal2"]