From fe6092f3b4f031be9b1e9bc51f03d2a53bfa4258 Mon Sep 17 00:00:00 2001 From: Nathan McDougall Date: Wed, 28 Aug 2024 10:38:37 +1200 Subject: [PATCH] Add databackend as a dependency --- pins/_adaptors.py | 2 +- pyproject.toml | 1 + requirements/dev.txt | 69 ++++++++++++++++++++-------------------- requirements/minimum.txt | 1 + 4 files changed, 37 insertions(+), 36 deletions(-) diff --git a/pins/_adaptors.py b/pins/_adaptors.py index 728bc93b..e8ea4f23 100644 --- a/pins/_adaptors.py +++ b/pins/_adaptors.py @@ -4,7 +4,7 @@ from abc import abstractmethod from typing import TYPE_CHECKING, Any, ClassVar, TypeAlias, overload -from ._databackend import AbstractBackend +from databackend import AbstractBackend if TYPE_CHECKING: import pandas as pd diff --git a/pyproject.toml b/pyproject.toml index f1f7af39..79b25f14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ dependencies = [ "pyyaml>=3.13", "requests", "xxhash>=1", + "databackend>=0.0.3", ] [project.optional-dependencies] diff --git a/requirements/dev.txt b/requirements/dev.txt index 2b2a43a0..54a9bcb9 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -2,13 +2,12 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --extra=doc --extra=test --extra=check --output-file=- --strip-extras setup.cfg +# pip-compile --extra=doc --extra=test --extra=check --output-file=- --strip-extras pyproject.toml # --index-url https://pypi.python.org/simple/ --trusted-host pypi.org - -adlfs==2022.2.0 - # via pins (setup.cfg) +adlfs==2024.7.0 + # via pins (pyproject.toml) aiobotocore==2.13.1 # via s3fs aiohttp==3.9.5 @@ -24,7 +23,7 @@ aiosignal==1.3.1 annotated-types==0.7.0 # via pydantic appdirs==1.4.4 - # via pins (setup.cfg) + # via pins (pyproject.toml) appnope==0.1.4 # via # ipykernel @@ -87,6 +86,8 @@ cryptography==42.0.8 # azure-storage-blob # msal # pyjwt +databackend==0.0.3 + # via pins (pyproject.toml) debugpy==1.8.2 # via ipykernel decopatch==1.4.10 @@ -102,7 +103,7 @@ executing==2.0.1 fastjsonschema==2.20.0 # via nbformat fastparquet==2024.5.0 - # via pins (setup.cfg) + # via pins (pyproject.toml) filelock==3.15.4 # via virtualenv frozenlist==1.4.1 @@ -111,13 +112,13 @@ frozenlist==1.4.1 # aiosignal fsspec==2024.6.1 # via + # pins (pyproject.toml) # adlfs # fastparquet # gcsfs - # pins (setup.cfg) # s3fs gcsfs==2024.6.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) google-api-core==2.19.1 # via # google-cloud-core @@ -146,7 +147,7 @@ googleapis-common-protos==1.63.2 griffe==0.48.0 # via quartodoc humanize==4.10.0 - # via pins (setup.cfg) + # via pins (pyproject.toml) identify==2.6.0 # via pre-commit idna==3.7 @@ -155,30 +156,30 @@ idna==3.7 # yarl importlib-metadata==8.0.0 # via - # pins (setup.cfg) + # pins (pyproject.toml) # quartodoc importlib-resources==6.4.0 # via - # pins (setup.cfg) + # pins (pyproject.toml) # quartodoc iniconfig==2.0.0 # via pytest ipykernel==6.29.5 - # via pins (setup.cfg) + # via pins (pyproject.toml) ipython==8.12.0 # via + # pins (pyproject.toml) # ipykernel - # pins (setup.cfg) isodate==0.6.1 # via azure-storage-blob jedi==0.19.1 # via ipython jinja2==3.1.4 - # via pins (setup.cfg) + # via pins (pyproject.toml) jmespath==1.0.1 # via botocore joblib==1.4.2 - # via pins (setup.cfg) + # via pins (pyproject.toml) jsonschema==4.23.0 # via # nbformat @@ -221,11 +222,11 @@ multidict==6.0.5 # aiohttp # yarl nbclient==0.10.0 - # via pins (setup.cfg) + # via pins (pyproject.toml) nbformat==5.10.4 # via + # pins (pyproject.toml) # nbclient - # pins (setup.cfg) nest-asyncio==1.6.0 # via ipykernel nodeenv==1.9.1 @@ -248,8 +249,8 @@ packaging==24.1 # pytest-cases pandas==2.2.2 # via + # pins (pyproject.toml) # fastparquet - # pins (setup.cfg) parso==0.8.4 # via jedi pexpect==4.9.0 @@ -257,7 +258,7 @@ pexpect==4.9.0 pickleshare==0.7.5 # via ipython pip-tools==7.4.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) platformdirs==4.2.2 # via # jupyter-core @@ -269,7 +270,7 @@ plum-dispatch==2.5.1.post1 portalocker==2.10.1 # via msal-extensions pre-commit==3.7.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) prompt-toolkit==3.0.47 # via ipython proto-plus==1.24.0 @@ -288,7 +289,7 @@ pure-eval==0.2.2 py==1.11.0 # via pytest pyarrow==16.1.0 - # via pins (setup.cfg) + # via pins (pyproject.toml) pyasn1==0.6.0 # via # pyasn1-modules @@ -306,26 +307,24 @@ pygments==2.18.0 # ipython # rich pyjwt==2.8.0 - # via - # msal - # pyjwt + # via msal pyproject-hooks==1.1.0 # via # build # pip-tools pyright==1.1.372 - # via pins (setup.cfg) + # via pins (pyproject.toml) pytest==7.1.3 # via - # pins (setup.cfg) + # pins (pyproject.toml) # pytest-dotenv # pytest-parallel pytest-cases==3.8.5 - # via pins (setup.cfg) + # via pins (pyproject.toml) pytest-dotenv==0.5.2 - # via pins (setup.cfg) + # via pins (pyproject.toml) pytest-parallel==0.1.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) python-dateutil==2.9.0.post0 # via # botocore @@ -337,7 +336,7 @@ pytz==2024.1 # via pandas pyyaml==6.0.1 # via - # pins (setup.cfg) + # pins (pyproject.toml) # pre-commit # quartodoc pyzmq==26.0.3 @@ -345,20 +344,20 @@ pyzmq==26.0.3 # ipykernel # jupyter-client quartodoc==0.7.5 - # via pins (setup.cfg) + # via pins (pyproject.toml) referencing==0.35.1 # via # jsonschema # jsonschema-specifications requests==2.32.3 # via + # pins (pyproject.toml) # azure-core # azure-datalake-store # gcsfs # google-api-core # google-cloud-storage # msal - # pins (setup.cfg) # quartodoc # requests-oauthlib requests-oauthlib==2.0.0 @@ -372,7 +371,7 @@ rpds-py==0.19.0 rsa==4.9 # via google-auth s3fs==2024.6.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) six==1.16.0 # via # asttokens @@ -404,7 +403,7 @@ traitlets==5.14.3 # nbclient # nbformat types-appdirs==1.4.3.5 - # via pins (setup.cfg) + # via pins (pyproject.toml) typing-extensions==4.12.2 # via # azure-core @@ -430,7 +429,7 @@ wheel==0.43.0 wrapt==1.16.0 # via aiobotocore xxhash==3.4.1 - # via pins (setup.cfg) + # via pins (pyproject.toml) yarl==1.9.4 # via aiohttp zipp==3.19.2 diff --git a/requirements/minimum.txt b/requirements/minimum.txt index 325990dc..73c3f3f3 100644 --- a/requirements/minimum.txt +++ b/requirements/minimum.txt @@ -7,3 +7,4 @@ importlib-metadata==4.4 importlib-resources==1.3 appdirs<2.0.0 humanize==1.0.0 +databackend==0.0.3