Skip to content

Commit

Permalink
Set resolution=lowest-direct instead of lowest
Browse files Browse the repository at this point in the history
`resolution=lowest` was failing due to the installation of `sniffio`
  • Loading branch information
alvarobartt committed May 29, 2024
1 parent 3d0a31f commit 7da2321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
pip install uv
uv pip install --system --resolution lowest --editable ".[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]"
uv pip install --system --resolution lowest-direct --editable ".[dev,tests,anthropic,argilla,cohere,groq,hf-inference-endpoints,hf-transformers,litellm,llama-cpp,ollama,openai,outlines,vertexai,vllm]"
python_version=$(python -c "import sys; print(sys.version_info[:2])")
if [ "${python_version}" != "(3, 8)" ]; then
uv pip install --system --resolution lowest --editable ".[mistralai,instructor]"
uv pip install --system --resolution lowest-direct --editable ".[mistralai,instructor]"
fi;
# Here we don't use the `--resolution=lowest` flag because we had issues
# Here we don't use the `--resolution=lowest-direct` flag because we had issues
# in the past with LLM-Blender, that's why we're also using a custom fork
uv pip install --system git+https://github.com/argilla-io/LLM-Blender.git
Expand Down

0 comments on commit 7da2321

Please sign in to comment.