`[tool.uv]`'s `dev-dependencies` is deprecated. I got tired of seeing the warning. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk build/CI tooling change, but it may affect environment setup if `uv sync` extra resolution differs from the old `--dev` behavior. > > **Overview** > Removes the deprecated `dev-dependencies` config and instead defines development requirements as a `dev` optional-dependency extra in `pyproject.toml`. > > Updates local/CI install paths (Makefile, composite action, and install-test workflow) to install dev requirements via `uv sync --extra all --extra dev` rather than `uv sync --dev`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 472ab6e5e498b69d88ac8f08ba8414e901272f26. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- BUGBOT_STATUS --><sup><a href="https://cursor.com/dashboard?tab=bugbot">Cursor Bugbot</a> found 1 potential issue for commit <u>472ab6e</u></sup><!-- /BUGBOT_STATUS -->
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: Test Installation (Cross-Platform)
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-install:
|
|
name: Test Installation on ${{ matrix.os }} with Python ${{ matrix.python-version }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
python-version: ["3.10", "3.12"]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv sync --extra all --extra dev
|
|
|
|
- name: Install arcade-mcp from source
|
|
run: |
|
|
uv pip install -e .
|
|
|
|
- name: Run installation test
|
|
run: |
|
|
python tests/install/test_install.py
|
|
|
|
- name: Verify arcade CLI is available
|
|
run: |
|
|
uv run arcade --help
|