diff --git a/.github/workflows/api_docs.yml b/.github/workflows/api_docs.yml index 80ce4d52..61853ae6 100644 --- a/.github/workflows/api_docs.yml +++ b/.github/workflows/api_docs.yml @@ -9,7 +9,7 @@ on: - main env: - HATCH_VERSION: "1.9.3" + HATCH_VERSION: "1.13.0" PYTHON_VERSION: "3.10" SYNC_LAST_N_HAYSTACK_VERSIONS: 1 diff --git a/.github/workflows/pypi_release.yml b/.github/workflows/pypi_release.yml index 3c5a3447..8a84c100 100644 --- a/.github/workflows/pypi_release.yml +++ b/.github/workflows/pypi_release.yml @@ -6,7 +6,7 @@ on: - "v[0-9]+.[0-9]+.[0-9]+*" env: - HATCH_VERSION: "1.9.4" + HATCH_VERSION: "1.13.0" jobs: release-on-pypi: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de95e1bb..278d5dc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ on: env: PYTHON_VERSION: "3.8" - HATCH_VERSION: "1.9.4" + HATCH_VERSION: "1.13.0" PYTHONUNBUFFERED: "1" FORCE_COLOR: "1" ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} diff --git a/pyproject.toml b/pyproject.toml index f591b710..7d0d1592 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,11 +33,13 @@ dependencies = ["haystack-ai", "pydantic"] Homepage = "https://github.com/deepset-ai/haystack-experimental" [tool.hatch.envs.default] +installer = "uv" dependencies = [ # Pre-commit hook "pre-commit", # Type check "mypy", + "pip", # Test "pytest", "pytest-rerunfailures", @@ -78,6 +80,7 @@ cov-report = ["- coverage combine", "coverage xml"] cov = ["test-cov", "cov-report"] [tool.hatch.envs.readme] +installer = "uv" detached = true # To avoid installing the dependencies from the default environment dependencies = ["haystack-pydoc-tools"]