From e693c2cb3bd0bf1f969c1800561eb9a1ba17c1ce Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 10:29:09 -0400 Subject: [PATCH 1/8] add python3.14 to CI build list. --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e1c6115..7c35ac7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ jobs: os: [ubuntu-22.04, macos-13, windows-latest] env: - CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp37-* pp38-* pp39-* pp310-*" + CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* pp37-* pp38-* pp39-* pp310-*" CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64" CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" From 6db139ab785e9979db189d915761689e6c948b00 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 10:31:58 -0400 Subject: [PATCH 2/8] update cibuildwheel to 3.2.1 --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c35ac7..a681df9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.23.3 + uses: pypa/cibuildwheel@v3.2.1 - uses: actions/upload-artifact@v5 with: @@ -48,7 +48,7 @@ jobs: submodules: "recursive" - name: Build wheels - uses: pypa/cibuildwheel@v2.23.3 + uses: pypa/cibuildwheel@v3.2.1 env: CIBW_BUILD: ${{ matrix.cibw_build }} CIBW_SKIP: "cp36-* pp*" From ef43b06e8079b630712a50d0683e50e70db5e9c8 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 10:34:54 -0400 Subject: [PATCH 3/8] Add option to not upload to pypi --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a681df9..296fcb1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,13 @@ name: Build and Deploy Package -on: workflow_dispatch +on: + workflow_dispatch: + inputs: + upload_to_pypi: + description: 'Upload to PyPI after building' + required: true + default: false + type: boolean jobs: build_wheels: @@ -101,7 +108,7 @@ jobs: upload_pypi: needs: [build_wheels, build_wheels_macos_arm64, build_sdist] runs-on: ubuntu-22.04 - # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') + if: ${{ inputs.upload_to_pypi }} steps: - uses: actions/download-artifact@v6 with: From 0a26ce6b11d419274089dde2b149724a1fb54b85 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 10:47:32 -0400 Subject: [PATCH 4/8] Add python 3.12 3.1.13 3.14 to CI tests --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 784b4bf..97b9585 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, macos-13, windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 From 019490d21f793295cd166c9a28fb7c3d1a71c05e Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 10:53:55 -0400 Subject: [PATCH 5/8] update readme table --- README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rst b/README.rst index 067feba..2369bc9 100644 --- a/README.rst +++ b/README.rst @@ -70,6 +70,7 @@ from scratch the latest version is recommended. .. csv-table:: :header: "LittleFS Version", "Package Version", "LittleFS File System Version" + 2.11.2, v0.15.X, 2.0 / 2.1 [#f1]_ 2.11.0, v0.14.X, 2.0 / 2.1 [#f1]_ 2.10.0, v0.13.X, 2.0 / 2.1 [#f1]_ 2.9.0, v0.12.X v0.11.X, 2.0 / 2.1 [#f1]_ From e26d3b4f039ed73fcb103e72fbae138ed11c06d5 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 11:00:41 -0400 Subject: [PATCH 6/8] drop python3.7 support. It's super old, and cibuildwheel v3 no longer supports it. --- .github/workflows/deploy.yml | 6 +++--- .github/workflows/run-tests.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 296fcb1..5cea9ce 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,8 +18,8 @@ jobs: os: [ubuntu-22.04, macos-13, windows-latest] env: - CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* pp37-* pp38-* pp39-* pp310-*" - CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64" + CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* pp38-* pp39-* pp310-*" + CIBW_SKIP: "pp* *-win_arm64 *-musllinux_aarch64" CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" steps: @@ -58,7 +58,7 @@ jobs: uses: pypa/cibuildwheel@v3.2.1 env: CIBW_BUILD: ${{ matrix.cibw_build }} - CIBW_SKIP: "cp36-* pp*" + CIBW_SKIP: "pp*" CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_REPAIR_WHEEL_COMMAND: | echo "Target delocate archs: {delocate_archs}" diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 97b9585..cb7bd7d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, macos-13, windows-latest] - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 From c47d33ba8c5546daa6113e4bc8ec527e5896a841 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 11:18:12 -0400 Subject: [PATCH 7/8] remove pypy from CIBW_BUILD since we just CIBW_SKIP them anyways --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5cea9ce..a4c76a4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,8 +18,8 @@ jobs: os: [ubuntu-22.04, macos-13, windows-latest] env: - CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* pp38-* pp39-* pp310-*" - CIBW_SKIP: "pp* *-win_arm64 *-musllinux_aarch64" + CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*" + CIBW_SKIP: "*-win_arm64 *-musllinux_aarch64" CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" steps: From f1f464773c9cae6206a926d838d81e08da291886 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Tue, 28 Oct 2025 11:59:01 -0400 Subject: [PATCH 8/8] don't do a shallow clone; scm needs tags --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a4c76a4..6174d42 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,6 +26,7 @@ jobs: - uses: actions/checkout@v5 with: submodules: "recursive" + fetch-depth: 0 - name: Setup QEMU # Needed to build aarch64 wheels if: runner.os == 'Linux' @@ -53,6 +54,7 @@ jobs: - uses: actions/checkout@v5 with: submodules: "recursive" + fetch-depth: 0 - name: Build wheels uses: pypa/cibuildwheel@v3.2.1 @@ -94,6 +96,7 @@ jobs: - uses: actions/checkout@v5 with: submodules: "recursive" + fetch-depth: 0 - name: Build sdist run: |