From 7b116607833a4f8b5c77dc8bbc5a131e0b3bc5dd Mon Sep 17 00:00:00 2001 From: Keisuke Hirota <14054951+k-tahiro@users.noreply.github.com> Date: Sat, 7 Feb 2026 07:49:45 +0900 Subject: [PATCH 1/3] Fix: include type stubs and py.typed in the package - Corrected MANIFEST.in to include .pyi files from src/irspack - Moved py.typed to src/irspack for PEP 561 compliance - Updated pyproject.toml with Python 3.13 classifier and sdist inclusion rules - Set requires-python to >=3.9 due to numpy 2.0 dependency --- MANIFEST.in | 3 ++- pyproject.toml | 14 +++++++++++++- py.typed => src/irspack/py.typed | 0 3 files changed, 15 insertions(+), 2 deletions(-) rename py.typed => src/irspack/py.typed (100%) diff --git a/MANIFEST.in b/MANIFEST.in index 111896b..87e9710 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ recursive-include cpp_source *.hpp -recursive-include irspack *.pyi +recursive-include src/irspack *.pyi +include src/irspack/py.typed diff --git a/pyproject.toml b/pyproject.toml index 73cb4f6..6630082 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,18 @@ readme = "Readme.md" authors = [ { name = "Tomoki Ohtsuki", email = "tomoki.ohtsuki.19937@outlook.jp" }, ] +requires-python = ">=3.9" +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Topic :: Scientific/Engineering", +] dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", @@ -31,7 +43,7 @@ build-dir = "build/{wheel_tag}" # Build stable ABI wheels for CPython 3.12+ wheel.py-api = "cp312" metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" -sdist.include = ["src/irspack/_version.py"] +sdist.include = ["src/irspack/_version.py", "src/irspack/**/*.pyi", "src/irspack/py.typed"] [build-system] diff --git a/py.typed b/src/irspack/py.typed similarity index 100% rename from py.typed rename to src/irspack/py.typed From bd8fc6b8ef6c7a7ce002222baf19ee78157a5fb2 Mon Sep 17 00:00:00 2001 From: Keisuke Hirota <14054951+k-tahiro@users.noreply.github.com> Date: Sat, 7 Feb 2026 08:20:48 +0900 Subject: [PATCH 2/3] Add upper bound for fastprogress dependency --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6630082..8bc1fe6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "numpy >= 2.0", - "fastprogress >= 0.2", + "fastprogress>=0.2,<=1.0.5", "optuna>=2.5.0", "pandas>=2.2.0", "scikit-learn>=0.21.0", From a223012444ceb60edeab46070e1a8e82a43751f3 Mon Sep 17 00:00:00 2001 From: Keisuke Hirota <14054951+k-tahiro@users.noreply.github.com> Date: Sat, 7 Feb 2026 08:26:09 +0900 Subject: [PATCH 3/3] Update classifiers: remove License --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8bc1fe6..9f18b3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ requires-python = ">=3.9" classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",