Skip to content

Commit 4411283

Browse files
committed
feat: add manylinux_2_31 armv7l wheel
1 parent 83a9292 commit 4411283

File tree

3 files changed

+33
-28
lines changed

3 files changed

+33
-28
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
env:
25-
USE_QEMU: ${{ fromJSON(github.event.inputs.use_qemu || 'false') || (github.event_name == 'schedule') || startsWith(github.ref, 'refs/tags/') }}
25+
USE_QEMU: ${{ fromJSON(github.event.inputs.use_qemu || 'true') || (github.event_name == 'schedule') || startsWith(github.ref, 'refs/tags/') }}
2626

2727
jobs:
2828
lint:
@@ -84,6 +84,10 @@ jobs:
8484
arch: "s390x"
8585
build: "musllinux_"
8686
use_qemu: true
87+
- os: ubuntu-latest
88+
arch: "armv7l"
89+
build: "manylinux_"
90+
use_qemu: true
8791
- os: ubuntu-latest
8892
arch: "armv7l"
8993
build: "musllinux_"
@@ -118,7 +122,7 @@ jobs:
118122
if: matrix.use_qemu && fromJSON(env.USE_QEMU)
119123

120124
- name: Build wheels
121-
uses: pypa/cibuildwheel@v2.21
125+
uses: pypa/cibuildwheel@main
122126
if: (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
123127
env:
124128
CIBW_ARCHS: "${{ matrix.arch }}"

README.rst

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,32 @@ The following platforms are supported with binary wheels:
4646

4747
.. table::
4848

49-
+---------------+--------------------------+
50-
| OS | Arch |
51-
+===============+==========================+
52-
| Windows | | 64-bit |
53-
| | | 32-bit |
54-
+---------------+--------------------------+
55-
| Linux Intel | | manylinux2010+ 64-bit |
56-
| | | musllinux_1_1+ 64-bit |
57-
| | | manylinux2010+ 32-bit |
58-
| | | musllinux_1_1+ 32-bit |
59-
+---------------+--------------------------+
60-
| Linux ARM | | manylinux2014+ AArch64 |
61-
| | | musllinux_1_1+ AArch64 |
62-
| | | musllinux_1_2+ armv7l |
63-
+---------------+--------------------------+
64-
| Linux PowerPC | | manylinux2014+ ppc64le |
65-
| | | musllinux_1_1+ ppc64le |
66-
+---------------+--------------------------+
67-
| Linux IBM Z | | manylinux2014+ s390x |
68-
| | | musllinux_1_1+ s390x |
69-
+---------------+--------------------------+
70-
| macOS 10.10+ | Intel |
71-
+---------------+--------------------------+
72-
| macOS 11+ | Apple Silicon |
73-
+---------------+--------------------------+
49+
+---------------+---------------------------+
50+
| OS | Arch |
51+
+===============+===========================+
52+
| Windows | | 64-bit |
53+
| | | 32-bit |
54+
+---------------+---------------------------+
55+
| Linux Intel | | manylinux2010+ x86_64 |
56+
| | | musllinux_1_1+ x86_64 |
57+
| | | manylinux2010+ i686 |
58+
| | | musllinux_1_1+ i686 |
59+
+---------------+---------------------------+
60+
| Linux ARM | | manylinux2014+ AArch64 |
61+
| | | musllinux_1_1+ AArch64 |
62+
| | | manylinux_2_31+ armv7l |
63+
| | | musllinux_1_2+ armv7l |
64+
+---------------+---------------------------+
65+
| Linux PowerPC | | manylinux2014+ ppc64le |
66+
| | | musllinux_1_1+ ppc64le |
67+
+---------------+---------------------------+
68+
| Linux IBM Z | | manylinux2014+ s390x |
69+
| | | musllinux_1_1+ s390x |
70+
+---------------+---------------------------+
71+
| macOS 10.10+ | Intel |
72+
+---------------+---------------------------+
73+
| macOS 11+ | Apple Silicon |
74+
+---------------+---------------------------+
7475

7576
The last version to provide ``manylinux1`` wheels was ``3.22.x``.
7677
The last version to provide Python 2 to Python 3.6 support was ``3.28.x``.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ config-settings."cmake.define.CMAKE_JOB_POOL_COMPILE" = "compile"
114114
config-settings."cmake.define.CMAKE_JOB_POOL_LINK" = "link"
115115
config-settings."cmake.define.CMAKE_JOB_POOLS" = "compile=4;link=1"
116116
# disable tests on those platforms, QEMU is taking to long for jobs to pass on GHA
117-
config-settings."cmake.define.RUN_CMAKE_TEST" = "OFF"
117+
config-settings."cmake.define.RUN_CMAKE_TEST" = "ON"
118118

119119
[[tool.cibuildwheel.overrides]]
120120
select = ["*-musllinux_s390x"]

0 commit comments

Comments
 (0)