Help build haystack #3750
Replies: 3 comments
-
I did
|
Beta Was this translation helpful? Give feedback.
-
I found a recent post that lead me to the the command to install the pip install -e rest_api/
pip install -e ui/ |
Beta Was this translation helpful? Give feedback.
-
Hello @rgstephens sorry to hear that setting up a development environment with Haystack is troublesome. We are aware of that and identified simplifying the installation of Haystack as a focus topic for our Q1 2023 roadmap. The steps you describe look good to me, so the error is on our side. Starting with the v1.12 release, there is no
So when you are on the current main branch, the full list of steps to run the core Haystack tests is the following. I will update the CONTRIBUTING.md file accordingly.
if you want to run the rest_api tests you can do the following to install the required dependencies (including httpx dependency only needed to run the tests)
and run the ui tests in the same way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to build haystack locally and contribute. Following the instructions in CONTRIBUTING.md but I must be missing something.
Here's what I did working off
main
:pytest fails with the following:
But the docs say: The InMemoryDocument store is a very good starting point as it doesn't require any external resource
Then did as suggested in the error message:
This did not fix the issue. Installed:
This gets me further but now have many new dependency errors. I must be missing an install step. I reviewed the
pyproject.toml
. It references hatchling so I tried installing hatch and runninghatch build
but I still have dependency issues.Beta Was this translation helpful? Give feedback.
All reactions