Skip to content

Commit 5ac9061

Browse files
authored
INPYTHON-762 Add workaround for hatch regression in haystack tests (#102)
1 parent fda1549 commit 5ac9061

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

haystack-embeddings/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ cd integrations/mongodb_atlas
1919
$PYTHON_BINARY -m venv .venv
2020
. .venv/bin/activate
2121
PYTHON_BINARY=$(which python)
22-
$PYTHON_BINARY -m pip install -U pip hatch
22+
# Workaround for https://github.com/pypa/hatch/issues/2050
23+
$PYTHON_BINARY -m pip install -U pip hatch "click<8.3.0"
2324

2425
# Run tests.
2526
MONGO_CONNECTION_STRING="$MONGODB_URI" hatch run test:all -v

haystack-fulltext/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ cd integrations/mongodb_atlas
1919
$PYTHON_BINARY -m venv .venv
2020
. .venv/bin/activate
2121
PYTHON_BINARY=$(which python)
22-
$PYTHON_BINARY -m pip install -U pip hatch
22+
# Workaround for https://github.com/pypa/hatch/issues/2050
23+
$PYTHON_BINARY -m pip install -U pip hatch "click<8.3.0"
2324

2425
# Run tests.
2526
MONGO_CONNECTION_STRING_2="$MONGODB_URI" hatch run test:all -v

0 commit comments

Comments
 (0)