Pipeline Dependencies
Use the dependencies block in your pipeline YAML to declare extra Python packages your pipeline needs beyond the packages already available in the runtime. You can add this block to query pipeline YAML, indexing pipeline YAML, or both. Each entry must be a valid PEP 508 requirement string.
How Dependencies Are Checked
Only approved package names are allowed. Haystack Enterprise Platform checks dependencies when you validate or deploy a pipeline, so disallowed packages are caught before the pipeline environment is built.
A few rules apply:
- Package names are matched regardless of casing, underscores, dots, or hyphens. For example,
Sentence_Transformersandsentence-transformersare treated as the same package. - Direct URL references, such as
some-package @ https://example.com/package.whl, are never allowed, even if the package name is approved. haystack-aiis always allowed when you use it to pin the Haystack Open Source version.
If validation rejects a dependency, the error points to the specific entry in the dependencies list and names the package. Check that the name appears in Allowed Packages and that the entry isn't a direct URL reference. If the package isn't listed, remove it or replace it with an allowed one.
Dependency Resolution Failures
An approved package name can still fail when Haystack Enterprise Platform builds the pipeline environment. This happens when uv can't find a combination of package versions that satisfies your pins and the packages already in the runtime. A common cause is a version that doesn't exist, such as a haystack-ai pin for a release that isn't published. The error message says that the pip install failed because no solution was found when resolving dependencies.
Validation reports the same problem on the dependencies block of your pipeline YAML, with the resolver's explanation of which pins conflict. Use that explanation to find the pin to change. If validation fails because of a temporary problem instead, such as a timeout, a worker crash, or an index that rejects the request or can't be reached, retry the validation.
To fix it, check every version pin in the dependencies block of your pipeline YAML, including haystack-ai. Make sure each pinned version exists and the pins don't conflict. Then validate or deploy the pipeline again. If the pins are correct and the error persists, contact deepset support.
Allowed Packages
Besides haystack-ai, you can add the following packages to the dependencies block.
General packages:
claude-agent-sdkmcpoxrdflibpyjwtsentence-transformersspacytorchvision
Haystack integrations published by deepset:
agent-pack-haystackaimlapi-haystackalloydb-haystackamazon-bedrock-haystackamazon-s3-vectors-haystackamazon-sagemaker-haystackamazon-textract-haystackanthropic-haystackarangodb-haystackarcadedb-haystackastra-haystackazure-ai-search-haystackazure-doc-intelligence-haystackazure-documentdb-haystackazure-form-recognizer-haystackbrave-haystackchonkie-haystackchroma-haystackcognee-haystackcohere-haystackcometapi-haystackdatadog-haystackddgs-haystackdeepeval-haystackdocling-haystackdocling-serve-haystackdspy-haystackdynamodb-haystacke2b-haystackedenai-haystackelasticsearch-haystackfaiss-haystackfalkordb-haystackfastembed-haystackfirecrawl-haystackfunasr-haystackgithub-haystackgoogle-drive-haystackgoogle-genai-haystackgotenberg-haystackhanlp-haystackhetzner-haystackhuggingface-api-haystackibm-db-haystackjina-haystackkreuzberg-haystacklangdetect-haystacklangfuse-haystacklara-haystacklibreoffice-haystacklinkup-haystacklitellm-haystackllama-cpp-haystackllama-stack-haystackmariadb-haystackmarkitdown-haystackmcp-haystackmem0-haystackmicrosoft-sharepoint-haystackminicpm-ocr-haystackmirage-haystackmistral-haystackmongodb-atlas-haystackmonty-haystacknvidia-haystackoauth-haystackollama-haystackopenapi-haystackopendataloader-pdf-haystackopenrouter-haystackopensearch-haystackopentelemetry-haystackoptimum-haystackoracle-haystackorcarouter-haystackotari-haystackpaddleocr-haystackparallel-haystackperplexity-haystackpgvector-haystackpinecone-haystackpresidio-haystackpyversity-haystackqdrant-haystackragas-haystackrhesis-haystacksearchapi-haystacksentence-transformers-haystackserperdev-haystacksnowflake-haystacksolr-haystackspacy-haystacksqlalchemy-haystackstackit-haystacksupabase-haystacktavily-haystacktika-haystacktogetherai-haystacktransformers-haystacktwelvelabs-haystacktypesafe-haystackunstructured-fileconverter-haystackvalkey-haystackvespa-haystackvllm-haystackwatsonx-haystackweave-haystackweaviate-haystackwhisper-haystackyoucom-haystack
A package whose name ends in -haystack isn't allowed unless it appears in this list, because anyone can publish a package with such a name. If you can't find an integration, look for its published package name: for example, the unstructured integration is published as unstructured-fileconverter-haystack.
Related Information
Was this page helpful?