Skip to content

Commit

Permalink
temp uv fix
Browse files Browse the repository at this point in the history
  • Loading branch information
l0uden committed Dec 24, 2024
1 parent ebc2465 commit 01dcdc6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
9 changes: 5 additions & 4 deletions vizro-ai/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Expand Down Expand Up @@ -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"
Expand Down
14 changes: 8 additions & 6 deletions vizro-core/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Expand Down Expand Up @@ -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"
Expand All @@ -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"}
Expand Down

0 comments on commit 01dcdc6

Please sign in to comment.