From f0e1290ae6c52156bbb1bb03d04cecce13490d87 Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Mon, 31 Jul 2023 22:26:24 -0700 Subject: [PATCH] Restrict semver version to 3.0 (#389) --- python/pyproject.toml | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index c293fa61..bcbacc6f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,11 +1,18 @@ [project] name = "lancedb" version = "0.1.16" -dependencies = ["pylance==0.5.10", "ratelimiter", "retry", "tqdm", "aiohttp", "pydantic", "attr", "semver"] -description = "lancedb" -authors = [ - { name = "LanceDB Devs", email = "dev@lancedb.com" }, +dependencies = [ + "pylance==0.5.10", + "ratelimiter", + "retry", + "tqdm", + "aiohttp", + "pydantic", + "attr", + "semver>=3.0" ] +description = "lancedb" +authors = [{ name = "LanceDB Devs", email = "dev@lancedb.com" }] license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.8" @@ -36,21 +43,12 @@ classifiers = [ repository = "https://github.com/lancedb/lancedb" [project.optional-dependencies] -tests = [ - "pandas>=1.4", "pytest", "pytest-mock", "pytest-asyncio" -] -dev = [ - "ruff", "pre-commit", "black" -] -docs = [ - "mkdocs", "mkdocs-jupyter", "mkdocs-material", "mkdocstrings[python]" -] +tests = ["pandas>=1.4", "pytest", "pytest-mock", "pytest-asyncio"] +dev = ["ruff", "pre-commit", "black"] +docs = ["mkdocs", "mkdocs-jupyter", "mkdocs-material", "mkdocstrings[python]"] [build-system] -requires = [ - "setuptools", - "wheel", -] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [tool.isort]