From 2bbab86449efdb74f467b15df1d855a27d5fb8d2 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 14 Jan 2026 13:15:30 +0100 Subject: [PATCH] disable mac x86 and fix issues in release.sh Signed-off-by: Michele Dolfi --- .github/scripts/release.sh | 7 ++++--- .github/workflows/wheels.yml | 8 ++++---- uv.lock | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index 482e0ad1..59b3bc8c 100755 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -10,11 +10,12 @@ fi CHGLOG_FILE="${CHGLOG_FILE:-CHANGELOG.md}" # update package version -uv version "${TARGET_VERSION}" +uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "${TARGET_VERSION}" +UV_FROZEN=0 uv lock --upgrade-package docling # collect release notes REL_NOTES=$(mktemp) -uv run semantic-release changelog --unreleased >> "${REL_NOTES}" +uv run --no-sync semantic-release changelog --unreleased >> "${REL_NOTES}" # update changelog TMP_CHGLOG=$(mktemp) @@ -30,7 +31,7 @@ mv "${TMP_CHGLOG}" "${CHGLOG_FILE}" # push changes git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' -git add pyproject.toml "${CHGLOG_FILE}" +git add pyproject.toml uv.lock "${CHGLOG_FILE}" COMMIT_MSG="chore: bump version to ${TARGET_VERSION} [skip ci]" git commit -m "${COMMIT_MSG}" git push origin main diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b48e7082..62862264 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -51,10 +51,10 @@ jobs: platform: "linux" platform_id: "manylinux_aarch64" - - name: "macos-13" - platform: "macos" - min_macos_version: "13" - platform_id: "macosx_x86_64" + # - name: "macos-13" + # platform: "macos" + # min_macos_version: "13" + # platform_id: "macosx_x86_64" - name: "macos-14" platform: "macos" diff --git a/uv.lock b/uv.lock index b0950faa..45c778f2 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.9" resolution-markers = [ "python_full_version >= '3.12'", @@ -669,7 +669,7 @@ wheels = [ [[package]] name = "docling-parse" -version = "4.7.2" +version = "4.7.3" source = { editable = "." } dependencies = [ { name = "docling-core" },