Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: "3.11"

- 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
Expand All @@ -48,13 +48,13 @@ 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 }}

- 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
Expand Down Expand Up @@ -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"

Expand All @@ -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"

Expand All @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand All @@ -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"

Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=77.0.3", "wheel"]
requires = ["setuptools>=83.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_archive_inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def test_import_smoke() -> None:
import numpy # noqa: F401
import polars # noqa: F401
import pyarrow # noqa: F401
import pyarrow # type: ignore[import-untyped] # noqa: F401


@pytest.mark.external_data
Expand Down
2 changes: 1 addition & 1 deletion tests/test_packaging_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down
Loading