From 134b34abe15f09b9d2e54cfcb8b87ac8b657802d Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Thu, 7 Nov 2024 20:25:57 -0500 Subject: [PATCH] ci: Upgrade uv to v0.5 (#161) --- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 4 ++-- README.md | 2 +- pyproject.toml | 7 +++++++ uv.lock | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e74bbe7..8a6dde2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v3 with: - version: "0.4.x" + version: "0.5.x" - run: | uv run docs/build.py diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 250fcb7..39817f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,13 +22,13 @@ jobs: fetch-depth: 0 - uses: astral-sh/setup-uv@v3 with: - version: "0.4.x" + version: "0.5.x" - run: uv build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - + - run: npx changelogithub@0.12 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 0ac6ea9..e6c5f23 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ This project uses [uv](https://github.com/astral-sh/uv) for development. Run tests with: ```sh -uv run pytest --ignore gosling/examples --ignore tools/altair --doctest-modules gosling +uv run pytest ``` The schema bindings (`gosling/schema/`) and docs (`doc/user_guide/API.rst`) are diff --git a/pyproject.toml b/pyproject.toml index e54541f..89fdc5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,3 +35,10 @@ source = "vcs" [tool.hatch.build.hooks.vcs] version-file = "gosling/_version.py" + +[tool.pytest.ini_options] +addopts = [ + "--ignore=gosling/examples", + "--ignore=tools/altair", + "--doctest-modules" +] diff --git a/uv.lock b/uv.lock index d9c5f0e..53d4902 100644 --- a/uv.lock +++ b/uv.lock @@ -442,7 +442,7 @@ wheels = [ [[package]] name = "gosling" -version = "0.2.2.dev8+gb1b5a7f.d20241023" +version = "0.2.3.dev2+g57d201b" source = { editable = "." } dependencies = [ { name = "jinja2" },