From 960b0978241b4243dd2a5775401e55842cf22111 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2026 05:52:30 +0000 Subject: [PATCH 1/4] Bump actions/setup-python from 6 to 7 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/publish.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0bcad3..896a5f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} @@ -110,7 +110,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -134,7 +134,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -161,7 +161,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 71c6fd5..f054c82 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -90,7 +90,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" From e7d4d978b59a84b4b9516c144537ea2ec7ffc536 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 9 Aug 2026 17:39:06 +1000 Subject: [PATCH 2/4] update setuptools dependency --- .github/workflows/ci.yml | 4 ++-- pyproject.toml | 2 +- tests/test_archive_inspection.py | 2 +- tests/test_packaging_metadata.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 896a5f1..198393f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - name: Install package with dev dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip "setuptools>=83.0.0" python -m pip install -e ".[dev,examples,sklearn]" - name: Run coverage gate @@ -54,7 +54,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip "setuptools>=83.0.0" pip install -e ".[dev,examples]" - name: Lint with ruff diff --git a/pyproject.toml b/pyproject.toml index b1b71ad..04721e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=77.0.3", "wheel"] +requires = ["setuptools>=83.0.0", "wheel"] build-backend = "setuptools.build_meta" [project] diff --git a/tests/test_archive_inspection.py b/tests/test_archive_inspection.py index 96bd523..6a603ad 100644 --- a/tests/test_archive_inspection.py +++ b/tests/test_archive_inspection.py @@ -14,7 +14,7 @@ def test_import_smoke() -> None: import numpy # noqa: F401 import polars # noqa: F401 - import pyarrow # noqa: F401 + import pyarrow # noqa: F401 # type: ignore[import-untyped] @pytest.mark.external_data diff --git a/tests/test_packaging_metadata.py b/tests/test_packaging_metadata.py index e6ef0f9..9674411 100644 --- a/tests/test_packaging_metadata.py +++ b/tests/test_packaging_metadata.py @@ -8,7 +8,7 @@ def test_pyproject_release_metadata_contract() -> None: pyproject_text = (REPO_ROOT / "pyproject.toml").read_text(encoding="utf-8") - assert 'setuptools>=77.0.3' in pyproject_text + assert 'setuptools>=83.0.0' in pyproject_text assert 'license-files = ["LICENSE"]' in pyproject_text assert ( 'Documentation = "https://github.com/MMerryweather/rtdfeatures/tree/main/docs"' From 82a998a84f9e6fa773ddcaf800dfbf42b8b96a53 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 9 Aug 2026 17:50:35 +1000 Subject: [PATCH 3/4] fix mypy target for current numpy stubs --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 04721e6..f9f80ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,7 @@ src = ["src", "tests"] select = ["E", "F", "I", "UP"] [tool.mypy] -python_version = "3.10" +python_version = "3.12" files = ["src", "tests"] mypy_path = "src" warn_return_any = true From 89faaf1f50f03b0bbd4f837da254e47fce1993f9 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 9 Aug 2026 18:05:49 +1000 Subject: [PATCH 4/4] fix pyarrow typing override across CI versions --- pyproject.toml | 4 ++++ tests/test_archive_inspection.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f9f80ac..7d0daba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -114,6 +114,10 @@ no_implicit_optional = true check_untyped_defs = true explicit_package_bases = true +[[tool.mypy.overrides]] +module = ["pyarrow"] +ignore_missing_imports = true + [tool.coverage.run] source = ["src/rtdfeatures"] branch = true diff --git a/tests/test_archive_inspection.py b/tests/test_archive_inspection.py index 6a603ad..d66735c 100644 --- a/tests/test_archive_inspection.py +++ b/tests/test_archive_inspection.py @@ -14,7 +14,7 @@ def test_import_smoke() -> None: import numpy # noqa: F401 import polars # noqa: F401 - import pyarrow # noqa: F401 # type: ignore[import-untyped] + import pyarrow # type: ignore[import-untyped] # noqa: F401 @pytest.mark.external_data