diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1b4772..72025c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,8 +91,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install -r requirements/dev.txt - python -m pip install rdata - python -m pip install -e .[test] + python -m pip install -e . - name: run Posit Connect run: | diff --git a/pins/drivers.py b/pins/drivers.py index 8ca6e3a..fcf9bee 100644 --- a/pins/drivers.py +++ b/pins/drivers.py @@ -114,7 +114,7 @@ def load_data( elif meta.type == "rds": try: - import rdata + import rdata # pyright: ignore[reportMissingImports] return rdata.read_rds(f) except ModuleNotFoundError: diff --git a/pyproject.toml b/pyproject.toml index 76b75b5..96b24ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,7 @@ test = [ "pytest-dotenv", "pytest-parallel", "s3fs", + "rdata", ] [build-system] @@ -102,7 +103,6 @@ reportArgumentType = false reportAttributeAccessIssue = false reportCallIssue = false reportIncompatibleMethodOverride = false -reportMissingImports = false reportMissingTypeStubs = false reportOptionalMemberAccess = false reportOptionalSubscript = false diff --git a/requirements/dev.txt b/requirements/dev.txt index 0b1c497..24473da 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -360,6 +360,8 @@ pyzmq==26.2.0 # jupyter-client quartodoc==0.9.1 # via pins (pyproject.toml) +rdata==0.11.2 + # via pins (pyproject.toml) referencing==0.35.1 # via # jsonschema @@ -442,6 +444,8 @@ wheel==0.45.1 # via pip-tools wrapt==1.17.0 # via aiobotocore +xarray==2024.6.0 + # via rdata xxhash==3.5.0 # via pins (pyproject.toml) yarl==1.18.3