From 7d136f7256045186b90a3734093e619a958c8955 Mon Sep 17 00:00:00 2001 From: urasakikeisuke Date: Fri, 20 Jun 2025 17:07:56 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20add=20support=20for=20Python=203.13?= =?UTF-8?q?=20chore:=20add=20py.typed=20marker=20file=20to=20enable=20PEP?= =?UTF-8?q?=C2=A0561=20typing=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: urasakikeisuke --- .github/workflows/test.yaml | 2 ++ pyproject.toml | 9 ++++++++- src/pypcd4/py.typed | 0 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/pypcd4/py.typed diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 33ea3ce..9d0a87d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,7 @@ jobs: strategy: matrix: python-version: + - "3.13" - "3.12" - "3.11" - "3.10" @@ -46,6 +47,7 @@ jobs: strategy: matrix: python-version: + - "3.13" - "3.12" - "3.11" - "3.10" diff --git a/pyproject.toml b/pyproject.toml index 300edc1..8a8b165 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ readme = "README.md" requires-python = ">= 3.8.2" license = { file = "LICENSE.txt" } classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", @@ -24,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", @@ -68,6 +69,11 @@ lint = { chain = [ [tool.hatch.metadata] allow-direct-references = true +[tool.hatch.build.targets.wheel] +include = [ + "src/pypcd4/py.typed", +] + [tool.hatch] version.source = "vcs" build.hooks.vcs.version-file = "src/pypcd4/_version.py" @@ -111,6 +117,7 @@ legacy_tox_ini = """ py310 py311 py312 + py313 [testenv] deps = pytest diff --git a/src/pypcd4/py.typed b/src/pypcd4/py.typed new file mode 100644 index 0000000..e69de29 From 495ed5a14bc830ee7301b26094d158216ba2e9cd Mon Sep 17 00:00:00 2001 From: urasakikeisuke Date: Fri, 20 Jun 2025 17:31:27 +0900 Subject: [PATCH 2/2] chore: remove redundant wheel include config for py.typed Since Hatchling now includes the py.typed marker by default, drop the [tool.hatch.build.targets.wheel] section that explicitly listed it. Signed-off-by: urasakikeisuke --- pyproject.toml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a8b165..2b3b6cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,11 +69,6 @@ lint = { chain = [ [tool.hatch.metadata] allow-direct-references = true -[tool.hatch.build.targets.wheel] -include = [ - "src/pypcd4/py.typed", -] - [tool.hatch] version.source = "vcs" build.hooks.vcs.version-file = "src/pypcd4/_version.py"