diff --git a/poetry.lock b/poetry.lock index de0b3e9e..807a2022 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4,7 +4,7 @@ name = "aiohappyeyeballs" version = "2.4.0" description = "Happy Eyeballs for asyncio" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "aiohappyeyeballs-2.4.0-py3-none-any.whl", hash = "sha256:7ce92076e249169a13c2f49320d1967425eaf1f407522d707d59cac7628d62bd"}, @@ -15,7 +15,7 @@ files = [ name = "aiohttp" version = "3.10.6" description = "Async http client/server framework (asyncio)" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "aiohttp-3.10.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:682836fc672972cc3101cc9e30d49c5f7e8f1d010478d46119fe725a4545acfd"}, @@ -127,7 +127,7 @@ speedups = ["Brotli", "aiodns (>=3.2.0)", "brotlicffi"] name = "aiosignal" version = "1.3.1" description = "aiosignal: a list of registered asynchronous callbacks" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"}, @@ -152,7 +152,7 @@ files = [ name = "async-timeout" version = "4.0.3" description = "Timeout context manager for asyncio programs" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, @@ -163,7 +163,7 @@ files = [ name = "attrs" version = "24.2.0" description = "Classes Without Boilerplate" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "attrs-24.2.0-py3-none-any.whl", hash = "sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2"}, @@ -760,7 +760,7 @@ files = [ name = "datasets" version = "3.0.1" description = "HuggingFace community-driven open-source library of datasets" -optional = false +optional = true python-versions = ">=3.8.0" files = [ {file = "datasets-3.0.1-py3-none-any.whl", hash = "sha256:db080aab41c8cc68645117a0f172e5c6789cbc672f066de0aa5a08fc3eebc686"}, @@ -816,7 +816,7 @@ packaging = "*" name = "dill" version = "0.3.8" description = "serialize all of Python" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "dill-0.3.8-py3-none-any.whl", hash = "sha256:c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7"}, @@ -1009,7 +1009,7 @@ six = ">=1.12,<2.0" name = "frozenlist" version = "1.4.1" description = "A list-like structure which implements collections.abc.MutableSequence" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "frozenlist-1.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f9aa1878d1083b276b0196f2dfbe00c9b7e752475ed3b682025ff20c1c1f51ac"}, @@ -1095,7 +1095,7 @@ files = [ name = "fsspec" version = "2024.6.1" description = "File-system specification" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "fsspec-2024.6.1-py3-none-any.whl", hash = "sha256:3cb443f8bcd2efb31295a5b9fdb02aee81d8452c80d28f97a6d0959e6cee101e"}, @@ -1137,7 +1137,7 @@ tqdm = ["tqdm"] name = "huggingface-hub" version = "0.25.1" description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub" -optional = false +optional = true python-versions = ">=3.8.0" files = [ {file = "huggingface_hub-0.25.1-py3-none-any.whl", hash = "sha256:a5158ded931b3188f54ea9028097312cb0acd50bffaaa2612014c3c526b44972"}, @@ -1716,7 +1716,7 @@ files = [ name = "multidict" version = "6.1.0" description = "multidict implementation" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "multidict-6.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3380252550e372e8511d49481bd836264c009adb826b23fefcc5dd3c69692f60"}, @@ -1820,7 +1820,7 @@ typing-extensions = {version = ">=4.1.0", markers = "python_version < \"3.11\""} name = "multiprocess" version = "0.70.16" description = "better multiprocessing and multithreading in Python" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "multiprocess-0.70.16-pp310-pypy310_pp73-macosx_10_13_x86_64.whl", hash = "sha256:476887be10e2f59ff183c006af746cb6f1fd0eadcfd4ef49e605cbe2659920ee"}, @@ -2271,7 +2271,7 @@ dev = ["black (==22.6.0)", "flake8", "mypy", "pytest"] name = "pyarrow" version = "17.0.0" description = "Python library for Apache Arrow" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "pyarrow-17.0.0-cp310-cp310-macosx_10_15_x86_64.whl", hash = "sha256:a5c8b238d47e48812ee577ee20c9a2779e6a5904f1708ae240f53ecbee7c9f07"}, @@ -3543,7 +3543,7 @@ files = [ name = "xxhash" version = "3.5.0" description = "Python binding for xxHash" -optional = false +optional = true python-versions = ">=3.7" files = [ {file = "xxhash-3.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ece616532c499ee9afbb83078b1b952beffef121d989841f7f4b3dc5ac0fd212"}, @@ -3675,7 +3675,7 @@ files = [ name = "yarl" version = "1.12.1" description = "Yet another URL library" -optional = false +optional = true python-versions = ">=3.8" files = [ {file = "yarl-1.12.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:64c5b0f2b937fe40d0967516eee5504b23cb247b8b7ffeba7213a467d9646fdc"}, @@ -3796,10 +3796,11 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", type = ["pytest-mypy"] [extras] +datasets = ["datasets"] spacy = ["spacy"] vespa = ["pyvespa", "pyyaml"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "8631aa2284279f678861741b62d9eef4ecd0e962b9cecc53026a31e74682b256" +content-hash = "803244b3eee4f1f3b542b10d65dffa6e3eda29bf6beada2bdf9e26a02f8dbc10" diff --git a/pyproject.toml b/pyproject.toml index 3ce3d2c8..6f7fa2d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,11 +32,10 @@ boto3 = "^1.35.26" tqdm = "^4.66.5" aws-error-utils = "^2.7.0" pandas = "^2.2.3" -datasets = "^3.0.0" langdetect = "^1.0.9" deprecation = "^2.1.0" numpy = "<2" - +datasets = { version = "^3.0.0", optional = true } pyvespa = { version = "^0.45.0", optional = true } pyyaml = { version = "^6.0.2", optional = true } spacy = { version = "^3.5.1", optional = true } @@ -47,6 +46,7 @@ rich = "^13.8.1" [tool.poetry.extras] vespa = ["pyvespa", "pyyaml", "sentence-transformers", "torch"] spacy = ["spacy"] +datasets = ["datasets"] [tool.poetry.group.dev] optional = true diff --git a/src/cpr_sdk/version.py b/src/cpr_sdk/version.py index f580e9c8..b7c6d502 100644 --- a/src/cpr_sdk/version.py +++ b/src/cpr_sdk/version.py @@ -1,6 +1,6 @@ _MAJOR = "1" _MINOR = "11" -_PATCH = "0" +_PATCH = "1" _SUFFIX = "" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)