From 013474eb7086b86863ecc410a7ef030cc9fd265f Mon Sep 17 00:00:00 2001 From: Dan Saunders Date: Wed, 1 Oct 2025 12:58:20 -0400 Subject: [PATCH] mirror dev deps --- .github/workflows/tests.yml | 4 ++-- pyproject.toml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c65f0cf64..52816c1c8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,7 +82,7 @@ jobs: - name: Install dependencies run: | uv pip show --system torch - uv pip install --system wheel pytest pytest-xdist pytest-cov + uv pip install --system wheel printf "torch==${{ matrix.pytorch_version }}\n" > torch-constraints.txt uv pip install --system --no-build-isolation -e ".[dev]" --constraints torch-constraints.txt set -o pipefail @@ -155,7 +155,7 @@ jobs: - name: Install dependencies run: | uv pip show --system torch - uv pip install --system wheel pytest pytest-xdist pytest-cov + uv pip install --system wheel uv pip install --system build python -m build --sdist uv pip install --system dist/*.tar.gz diff --git a/pyproject.toml b/pyproject.toml index 706222882..9432b562c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,6 +107,24 @@ optimizers = [ ray = ["ray[train]"] vllm = ["vllm>=0.10.0"] llmcompressor = ["llmcompressor>=0.5.1"] +dev = [ + "pytest", + "pytest-cov", + "pytest-retry", + "pytest-sugar", + "pytest-xdist", + "codecov", + "codecov-cli", + "tbparse", + "ruff", + "mypy", + "pre-commit", + "types-requests", + "quartodoc", + "jupyter", + "blobfile", + "tiktoken", +] [project.scripts] axolotl = "axolotl.cli.main:main" @@ -173,6 +191,7 @@ python_files = ["test_*.py", "*_test.py"] addopts = "-v --tb=short" # UV specific configuration +[tool.uv] prerelease = "allow" default-groups = ["default"] conflicts = [