From b0895547b651fc2bc95e77bac06d234abf1e8fa3 Mon Sep 17 00:00:00 2001 From: Justus Helo Date: Fri, 27 Feb 2026 21:27:59 +0200 Subject: [PATCH] ci: migrate release pipeline to uv Replaced hatch with uv in release.yaml and removed hatch from dev depencencies in pyproject.toml. Issue #48 --- .github/workflows/release.yaml | 14 ++++++++------ pyproject.toml | 1 - 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 27bcff5..c3260b2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,19 +13,21 @@ jobs: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true - name: Setup Python 3.13 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.13' architecture: 'x64' - - name: Install hatch - run: pip install hatch - - name: Build - run: hatch build + run: uv build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index 9c0f900..ae759fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,7 +58,6 @@ dev = [ "simdec[doc,test,dashboard]", "watchfiles", "pre-commit", - "hatch", ] [project.urls]