Skip to content

Commit 801ab49

Browse files
Update Build_wheels_for_cpython27_x86_64.yml
1 parent 1e39d94 commit 801ab49

File tree

1 file changed

+1
-63
lines changed

1 file changed

+1
-63
lines changed

.github/workflows/Build_wheels_for_cpython27_x86_64.yml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -114,69 +114,7 @@ jobs:
114114
sudo mv -v ./dist/"zstd-${{matrix.os.version}}-${{matrix.os.pyengine_tag}}-linux_${{matrix.os.tag_arch}}.whl" ./dist/"zstd-${{matrix.os.version}}-${{matrix.os.pyengine_tag}}-${{matrix.os.libc_tag}}_${{matrix.os.tag_arch}}.whl"
115115
sudo rm -vf ./dist/*.tar.gz
116116
117-
- name: Build ${{ matrix.os.name }} wheels and test (old)
118-
uses: pypa/cibuildwheel@v1.12.0
119-
if: matrix.cibw.group == 'old'
120-
with:
121-
output-dir: dist
122-
env:
123-
CIBW_BUILD: ${{ matrix.cibw.build }}
124-
# Skip 32-bit builds // NO
125-
# CIBW_SKIP: '*-win32 *_i686'
126-
CIBW_MANYLINUX_I686_IMAGE: manylinux1
127-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
128-
CIBW_MUSLLINUX_I686_IMAGE: musllinux_1_2
129-
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2
130-
# Only build on x86 and arm64 for linux
131-
CIBW_ARCHS_LINUX: i686 x86_64
132-
CIBW_BEFORE_ALL_LINUX: >
133-
python -m pip install --upgrade pip
134-
# CIBW_ARCHS_MACOS: x86_64 arm64 universal2
135-
# Building two wheels for MacOS and skipping Universal
136-
CIBW_ARCHS_MACOS: x86_64
137-
# Skip testing Apple Silicon until there are GH runners
138-
CIBW_TEST_SKIP: '*_arm64 *_universal2:arm64'
139-
CIBW_BEFORE_ALL_MACOS: >
140-
python -m pip install --upgrade pip
141-
# CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.7
142-
CIBW_BUILD_VERBOSITY_MACOS: 0
143-
CIBW_BEFORE_ALL_WINDOWS: >
144-
python -m pip install --upgrade pip
145-
CIBW_TEST_COMMAND: >
146-
python -m unittest discover -v -s {package}
147117

148-
- name: Build ${{ matrix.os.name }} wheels and test (new)
149-
uses: joerick/cibuildwheel@v2.22.0
150-
if: matrix.cibw.group == 'new'
151-
with:
152-
output-dir: dist
153-
env:
154-
CIBW_BUILD: ${{ matrix.cibw.build }}
155-
# Skip 32-bit builds // NO
156-
# CIBW_SKIP: '*-win32 *_i686'
157-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
158-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
159-
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
160-
CIBW_MUSLLINUX_I686_IMAGE: musllinux_1_1
161-
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_1
162-
# Only build on x86 and arm64 for linux
163-
CIBW_ARCHS_LINUX: auto aarch64
164-
CIBW_BEFORE_ALL_LINUX: >
165-
python -m pip install --upgrade pip
166-
# CIBW_ARCHS_MACOS: x86_64 arm64 universal2
167-
# Building two wheels for MacOS and skipping Universal
168-
CIBW_ARCHS_MACOS: x86_64 arm64
169-
# Skip testing Apple Silicon until there are GH runners
170-
CIBW_TEST_SKIP: '*_arm64 *_universal2:arm64'
171-
CIBW_BEFORE_ALL_MACOS: >
172-
python -m pip install --upgrade pip
173-
# CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.7
174-
CIBW_BUILD_VERBOSITY_MACOS: 0
175-
CIBW_BEFORE_ALL_WINDOWS: >
176-
python -m pip install --upgrade pip
177-
CIBW_TEST_COMMAND: >
178-
python -m unittest discover -v -s {package}
179-
180118
# - name: Upload artifacts
181119
# uses: actions/upload-artifact@v4
182120
# with:
@@ -202,7 +140,7 @@ jobs:
202140
SECRET_TEST: "${{ secrets.test_pypi_password }}"
203141

204142
- name: Install twine
205-
run: pip install twine
143+
run: pip install 'twine<=6.0.1'
206144

207145
- name: Publish distribution to PyPI
208146
if: >

0 commit comments

Comments
 (0)