From 01dcdc68e8df69cb8439583c58af87b556b06dbd Mon Sep 17 00:00:00 2001 From: Alexey Snigir Date: Tue, 24 Dec 2024 12:56:46 +0100 Subject: [PATCH] temp uv fix --- vizro-ai/hatch.toml | 9 +++++---- vizro-core/hatch.toml | 14 ++++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/vizro-ai/hatch.toml b/vizro-ai/hatch.toml index bccdd4937..14f95d6ba 100644 --- a/vizro-ai/hatch.toml +++ b/vizro-ai/hatch.toml @@ -3,6 +3,11 @@ [[envs.all.matrix]] python = ["3.9", "3.10", "3.11", "3.12"] +[envs.hatch-uv] +dependencies = [ + "uv<0.5.10" # https://github.com/astral-sh/uv/issues/10039 +] + [envs.changelog] dependencies = ["scriv"] detached = true @@ -28,8 +33,6 @@ dependencies = [ "langchain_mistralai", "langchain-anthropic", "pre-commit", - # https://github.com/astral-sh/uv/issues/10039 - "uv<0.5.10" ] installer = "uv" @@ -68,8 +71,6 @@ dependencies = [ "mkdocs-git-revision-date-localized-plugin>=1.2.5", "mkdocstrings[python]", "linkchecker", - # https://github.com/astral-sh/uv/issues/10039 - "uv<0.5.10" ] detached = true installer = "uv" diff --git a/vizro-core/hatch.toml b/vizro-core/hatch.toml index d89a78910..413a670b7 100644 --- a/vizro-core/hatch.toml +++ b/vizro-core/hatch.toml @@ -10,6 +10,11 @@ matrix.python.features = [ {value = "kedro", if = ["3.9", "3.10", "3.11", "3.12"]} ] +[envs.hatch-uv] +dependencies = [ + "uv<0.5.10" # https://github.com/astral-sh/uv/issues/10039 +] + [envs.changelog] dependencies = ["scriv"] detached = true @@ -33,8 +38,7 @@ dependencies = [ "PyGithub", "imutils", "opencv-python", - "pyhamcrest", - "uv<0.5.10" # https://github.com/astral-sh/uv/issues/10039 + "pyhamcrest" ] installer = "uv" @@ -76,8 +80,7 @@ dependencies = [ "mkdocs-git-revision-date-localized-plugin>=1.2.5", "mkdocstrings[python]", "linkchecker", - "mkdocs-pycafe", - "uv<0.5.10" # https://github.com/astral-sh/uv/issues/10039 + "mkdocs-pycafe" ] detached = true installer = "uv" @@ -102,8 +105,7 @@ dependencies = [ "autoflake==2.3.1", "black==24.4.2", "isort==5.13.2", - "plotly==5.24.1", # to leverage new MapLibre features in visual-vocabulary - "uv<0.5.10" # https://github.com/astral-sh/uv/issues/10039 + "plotly==5.24.1" # to leverage new MapLibre features in visual-vocabulary ] installer = "uv" scripts = {example = "cd examples/{args:scratch_dev}; python app.py"}