|
94 | 94 | needs: build_sdist |
95 | 95 | name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }} |
96 | 96 | runs-on: ${{ matrix.os }} |
97 | | - env: |
98 | | - CIBW_BEFORE_BUILD: >- |
99 | | - rm -rf {package}/build |
100 | | - CIBW_BEFORE_BUILD_WINDOWS: >- |
101 | | - pip install delvewheel && |
102 | | - rm -rf {package}/build |
103 | | - CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >- |
104 | | - delvewheel repair -w {dest_dir} {wheel} |
105 | | - CIBW_AFTER_BUILD: >- |
106 | | - twine check {wheel} && |
107 | | - python {package}/ci/check_wheel_licenses.py {wheel} |
108 | | - # On Windows, we explicitly request MSVC compilers (as GitHub Action runners have |
109 | | - # MinGW on PATH that would be picked otherwise), switch to a static build for |
110 | | - # runtimes, but use dynamic linking for `VCRUNTIME140.dll`, `VCRUNTIME140_1.dll`, |
111 | | - # and the UCRT. This avoids requiring specific versions of `MSVCP140.dll`, while |
112 | | - # keeping shared state with the rest of the Python process/extensions. |
113 | | - CIBW_CONFIG_SETTINGS_WINDOWS: >- |
114 | | - setup-args="--vsenv" |
115 | | - setup-args="-Db_vscrt=mt" |
116 | | - setup-args="-Dcpp_link_args=['ucrt.lib','vcruntime.lib','/nodefaultlib:libucrt.lib','/nodefaultlib:libvcruntime.lib']" |
117 | | - CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 |
118 | | - CIBW_SKIP: "*-musllinux_aarch64" |
119 | | - CIBW_TEST_COMMAND: >- |
120 | | - python {package}/ci/check_version_number.py |
121 | | - MACOSX_DEPLOYMENT_TARGET: "10.12" |
122 | 97 | strategy: |
123 | 98 | matrix: |
124 | 99 | include: |
@@ -148,17 +123,15 @@ jobs: |
148 | 123 | package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }} |
149 | 124 | env: |
150 | 125 | CIBW_BUILD: "cp314-* cp314t-*" |
151 | | - CIBW_ENABLE: "cpython-freethreading cpython-prerelease" |
| 126 | + CIBW_ENABLE: "cpython-prerelease" |
152 | 127 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
153 | | - CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 |
154 | 128 |
|
155 | 129 | - name: Build wheels for CPython 3.13 |
156 | 130 | uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4 |
157 | 131 | with: |
158 | 132 | package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }} |
159 | 133 | env: |
160 | 134 | CIBW_BUILD: "cp313-* cp313t-*" |
161 | | - CIBW_ENABLE: cpython-freethreading |
162 | 135 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
163 | 136 |
|
164 | 137 | - name: Build wheels for CPython 3.12 |
|
0 commit comments