Skip to content

Commit 97ea16b

Browse files
authored
Merge pull request #140 from jrast/python314
Prebuilt wheels for Python 3.14
2 parents 96ea467 + f1f4647 commit 97ea16b

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Build and Deploy Package
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
upload_to_pypi:
7+
description: 'Upload to PyPI after building'
8+
required: true
9+
default: false
10+
type: boolean
411

512
jobs:
613
build_wheels:
@@ -11,14 +18,15 @@ jobs:
1118
os: [ubuntu-22.04, macos-13, windows-latest]
1219

1320
env:
14-
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp37-* pp38-* pp39-* pp310-*"
15-
CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64"
21+
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
22+
CIBW_SKIP: "*-win_arm64 *-musllinux_aarch64"
1623
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
1724

1825
steps:
1926
- uses: actions/checkout@v5
2027
with:
2128
submodules: "recursive"
29+
fetch-depth: 0
2230

2331
- name: Setup QEMU # Needed to build aarch64 wheels
2432
if: runner.os == 'Linux'
@@ -27,7 +35,7 @@ jobs:
2735
platforms: all
2836

2937
- name: Build wheels
30-
uses: pypa/cibuildwheel@v2.23.3
38+
uses: pypa/cibuildwheel@v3.2.1
3139

3240
- uses: actions/upload-artifact@v5
3341
with:
@@ -46,12 +54,13 @@ jobs:
4654
- uses: actions/checkout@v5
4755
with:
4856
submodules: "recursive"
57+
fetch-depth: 0
4958

5059
- name: Build wheels
51-
uses: pypa/cibuildwheel@v2.23.3
60+
uses: pypa/cibuildwheel@v3.2.1
5261
env:
5362
CIBW_BUILD: ${{ matrix.cibw_build }}
54-
CIBW_SKIP: "cp36-* pp*"
63+
CIBW_SKIP: "pp*"
5564
CIBW_ARCHS: ${{ matrix.cibw_archs }}
5665
CIBW_REPAIR_WHEEL_COMMAND: |
5766
echo "Target delocate archs: {delocate_archs}"
@@ -87,6 +96,7 @@ jobs:
8796
- uses: actions/checkout@v5
8897
with:
8998
submodules: "recursive"
99+
fetch-depth: 0
90100

91101
- name: Build sdist
92102
run: |
@@ -101,7 +111,7 @@ jobs:
101111
upload_pypi:
102112
needs: [build_wheels, build_wheels_macos_arm64, build_sdist]
103113
runs-on: ubuntu-22.04
104-
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
114+
if: ${{ inputs.upload_to_pypi }}
105115
steps:
106116
- uses: actions/download-artifact@v6
107117
with:

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-22.04, macos-13, windows-latest]
18-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
18+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
1919

2020
steps:
2121
- uses: actions/checkout@v5

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ from scratch the latest version is recommended.
7070
.. csv-table::
7171
:header: "LittleFS Version", "Package Version", "LittleFS File System Version"
7272

73+
2.11.2, v0.15.X, 2.0 / 2.1 [#f1]_
7374
2.11.0, v0.14.X, 2.0 / 2.1 [#f1]_
7475
2.10.0, v0.13.X, 2.0 / 2.1 [#f1]_
7576
2.9.0, v0.12.X v0.11.X, 2.0 / 2.1 [#f1]_

0 commit comments

Comments
 (0)