ci: 👷 update CI installation commands to use --group instead of --extra because of pep rule "pep-0735"

This commit is contained in:
Onuralp SEZER 2025-07-11 17:16:39 +03:00
parent 1034313ac2
commit f7d4da9b1d
No known key found for this signature in database
GPG Key ID: CF0835DFDF14CA38
6 changed files with 6 additions and 8 deletions

View File

@ -51,7 +51,7 @@ jobs:
- name: 🏗️ Install dependencies
run: |
uv pip install -r pyproject.toml --extra docs
uv pip install -r pyproject.toml --group docs
# Install mkdocs-material-insiders using the GitHub App token
uv pip install "git+https://roboflow:${{ steps.mkdocs_token.outputs.token }}@github.com/roboflow/mkdocs-material-insiders.git@9.5.49-insiders-4.53.14#egg=mkdocs-material[imaging]"

View File

@ -37,7 +37,7 @@ jobs:
- name: 🏗️ Build source and wheel distributions
run: |
uv pip install -r pyproject.toml --extra build
uv pip install -r pyproject.toml --group build
uv build
uv run twine check --strict dist/*

View File

@ -35,7 +35,7 @@ jobs:
- name: 🏗️ Build source and wheel distributions
run: |
uv pip install -r pyproject.toml --extra build
uv pip install -r pyproject.toml --group build
uv build
uv run twine check --strict dist/*

View File

@ -32,7 +32,7 @@ jobs:
- name: 🏗️ Build source and wheel distributions
run: |
uv pip install -r pyproject.toml --extra build
uv pip install -r pyproject.toml --group build
uv build
uv run twine check --strict dist/*

View File

@ -29,11 +29,9 @@ jobs:
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: 🏗️ Install dependencies
run: |
uv pip install -r pyproject.toml --extra docs
uv pip install -r pyproject.toml --group docs
- name: 🧪 Test Docs Build
run: uv run mkdocs build --verbose

View File

@ -26,7 +26,7 @@ jobs:
- name: 🚀 Install Packages
run: uv pip install -r pyproject.toml --extra dev --extra docs --extra metrics
run: uv pip install -r pyproject.toml --group dev --group docs --extra metrics
- name: 🧪 Run the Import test
run: uv run python -c "import supervision; from supervision import assets; from supervision import metrics; print(supervision.__version__)"