From 421f82b45928a3afa9d48662abd003d05d6e3e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Fri, 6 Nov 2026 12:44:07 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci(maturin):=20allow=20the=20emp?= =?UTF-8?q?ty=20workdir=20in=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-maturin-wheels.yaml | 2 ++ changelog.d/+maturin-empty-workdir.bugfix.md | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 changelog.d/+maturin-empty-workdir.bugfix.md diff --git a/.github/workflows/build-maturin-wheels.yaml b/.github/workflows/build-maturin-wheels.yaml index de44412..4aa296a 100644 --- a/.github/workflows/build-maturin-wheels.yaml +++ b/.github/workflows/build-maturin-wheels.yaml @@ -125,6 +125,7 @@ jobs: python-version: "3.15" enable-cache: false activate-environment: true + ignore-empty-workdir: true - name: ⏳ Wait for source wait: download - name: 🏗️ Build wheels @@ -171,6 +172,7 @@ jobs: version: latest-known python-version: "3.15" enable-cache: false + ignore-empty-workdir: true - name: ⏳ Wait for source wait: download - name: 📦 Export locked build constraints diff --git a/changelog.d/+maturin-empty-workdir.bugfix.md b/changelog.d/+maturin-empty-workdir.bugfix.md new file mode 100644 index 0000000..b6e43ff --- /dev/null +++ b/changelog.d/+maturin-empty-workdir.bugfix.md @@ -0,0 +1,2 @@ +The `build` and `sdist` jobs of `build-maturin-wheels` no longer print setup-uv's "Empty workdir detected" warning: they +set up uv while the source still downloads, as `github-release` already allowed for.