From c92cad72d3043cd5d6d838e0b4a8c07a7cb66580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Rom=C3=A1n?= Date: Tue, 3 Nov 2026 12:29:38 -0800 Subject: [PATCH] ci(tox): expand coverage to Python 3.12 --- .github/workflows/tox.yml | 1 + stubs/pyproject.toml | 2 +- stubs/tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index edbd6f4..48f2b44 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -17,5 +17,6 @@ jobs: python-versions: | 3.10 3.11 + 3.12 working-directory: stubs checkout-ref: ${{ inputs.checkout-ref }} diff --git a/stubs/pyproject.toml b/stubs/pyproject.toml index 15070f3..e7e1f60 100644 --- a/stubs/pyproject.toml +++ b/stubs/pyproject.toml @@ -45,6 +45,6 @@ urls.Source = "https://github.com/ignition-devs/ignition-api/tree/8.3" urls.Tracker = "https://github.com/ignition-devs/ignition-api/issues" [tool.setuptools] -include-package-data = true package-dir = { "" = "stubs" } +include-package-data = true package-data."*" = [ "*.pyi", "py.typed" ] diff --git a/stubs/tox.ini b/stubs/tox.ini index 89e52d8..601e108 100644 --- a/stubs/tox.ini +++ b/stubs/tox.ini @@ -13,6 +13,8 @@ skip_install = true deps = --requirement requirements.txt mypy[python2] @ git+https://github.com/coatl-dev/mypy.git@v0.971 +set_env = + CFLAGS = -std=gnu17 commands = mypy stubs