From d53eb5ee538e30ecea67e2041a76a5baea6885c1 Mon Sep 17 00:00:00 2001 From: Burhan <62214284+Burhan-Q@users.noreply.github.com> Date: Wed, 20 Nov 2024 08:48:14 -0500 Subject: [PATCH] try adding ` --resolution lowest-direct` option to `uv run` --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2c5bc8a95e..5cdf2fc7c4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -197,7 +197,7 @@ jobs: if [[ "${{ github.event_name }}" =~ ^(schedule|workflow_dispatch)$ ]]; then slow="--slow" fi - uv run pytest $slow --cov=ultralytics/ --cov-report xml tests/ + uv run --resolution lowest-direct pytest $slow --cov=ultralytics/ --cov-report xml tests/ - name: Upload Coverage Reports to CodeCov if: github.repository == 'ultralytics/ultralytics' # && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' uses: codecov/codecov-action@v5 @@ -225,7 +225,7 @@ jobs: if [[ "${{ github.event_name }}" =~ ^(schedule|workflow_dispatch)$ ]]; then slow="--slow" fi - uv run pytest $slow --cov=ultralytics/ --cov-report xml tests/test_cuda.py + uv run --resolution lowest-direct pytest $slow --cov=ultralytics/ --cov-report xml tests/test_cuda.py - name: Upload Coverage Reports to CodeCov uses: codecov/codecov-action@v5 with: