Skip to content

Commit 41567d9

Browse files
committed
github actions -> will debug in separate repo, travis - temporary fix
1 parent 684574e commit 41567d9

File tree

3 files changed

+54
-56
lines changed

3 files changed

+54
-56
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -221,55 +221,55 @@ jobs:
221221
run: |
222222
twine upload --skip-existing dist/*
223223
224-
DeployManyLinux:
225-
needs: [ TestLinux, TestWindows ]
226-
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227-
runs-on: ubuntu-latest
228-
# strategy:
229-
# max-parallel: 4
230-
# matrix:
231-
# PYTHON: [ "cp37-cp37m", "cp38-cp38", "cp39-cp39" , "cp310-cp310" ]
232-
# MANYLINUX:
233-
# - { VERSION: '2010', ARCH: 'x86_64' }
234-
# - { VERSION: '2014', ARCH: 'i686' }
235-
# - { VERSION: '2014', ARCH: 'aarch64' }
236-
# name: "Release Python ${{ matrix.PYTHON }} for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
237-
# container:
238-
# image: "quay.io/pypa/manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
239-
# env:
240-
# PYTHONDONTWRITEBYTECODE: 1
241-
steps:
242-
- uses: actions/checkout@v2
243-
- name: Build Python manylinux2010-x86_64 wheels
244-
uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_x86_64
245-
with:
246-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
247-
build-requirements: 'cython'
248-
build-executable: 'python'
249-
build-command: 'setup.py bdist_wheel clean'
250-
- name: Build Python manylinux2014-x86_64 wheels
251-
uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_x86_64
252-
with:
253-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
254-
build-requirements: 'cython'
255-
build-executable: 'python'
256-
build-command: 'setup.py bdist_wheel clean'
257-
- name: Build Python manylinux2010-i686 wheels
258-
uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_i686
259-
with:
260-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
261-
build-requirements: 'cython'
262-
build-executable: 'python'
263-
build-command: 'setup.py bdist_wheel clean'
264-
- name: Build Python manylinux2010-x86_64 wheels
265-
uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_i686
266-
with:
267-
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
268-
build-requirements: 'cython'
269-
build-executable: 'python'
270-
build-command: 'setup.py bdist_wheel clean'
271-
- name: List built packages
272-
run: ls -la dist
224+
# DeployManyLinux:
225+
# needs: [ TestLinux, TestWindows ]
226+
## if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227+
# runs-on: ubuntu-latest
228+
## strategy:
229+
## max-parallel: 4
230+
## matrix:
231+
## PYTHON: [ "cp37-cp37m", "cp38-cp38", "cp39-cp39" , "cp310-cp310" ]
232+
## MANYLINUX:
233+
## - { VERSION: '2010', ARCH: 'x86_64' }
234+
## - { VERSION: '2014', ARCH: 'i686' }
235+
## - { VERSION: '2014', ARCH: 'aarch64' }
236+
## name: "Release Python ${{ matrix.PYTHON }} for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
237+
## container:
238+
## image: "quay.io/pypa/manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
239+
## env:
240+
## PYTHONDONTWRITEBYTECODE: 1
241+
# steps:
242+
# - uses: actions/checkout@v2
243+
# - name: Build Python manylinux2010-x86_64 wheels
244+
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_x86_64
245+
# with:
246+
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
247+
# build-requirements: 'cython'
248+
# build-executable: 'python'
249+
# build-command: 'setup.py bdist_wheel clean'
250+
# - name: Build Python manylinux2014-x86_64 wheels
251+
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_x86_64
252+
# with:
253+
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
254+
# build-requirements: 'cython'
255+
# build-executable: 'python'
256+
# build-command: 'setup.py bdist_wheel clean'
257+
# - name: Build Python manylinux2010-i686 wheels
258+
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_i686
259+
# with:
260+
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
261+
# build-requirements: 'cython'
262+
# build-executable: 'python'
263+
# build-command: 'setup.py bdist_wheel clean'
264+
# - name: Build Python manylinux2010-x86_64 wheels
265+
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_i686
266+
# with:
267+
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
268+
# build-requirements: 'cython'
269+
# build-executable: 'python'
270+
# build-command: 'setup.py bdist_wheel clean'
271+
# - name: List built packages
272+
# run: ls -la dist
273273
# - name: Install deploy dependencies
274274
# run: pip install --upgrade twine
275275
# - name: Deploy

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _python:
2020
python: "3.9"
2121
- &python310
2222
name: "Python 3.10"
23-
python: "3.10"
23+
python: "3.10-dev"
2424

2525
_helpers:
2626
- &install_cython pip install --upgrade Cython

tools/build-wheels.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ arch=$(uname -m)
1818
rm -rf /io/.tox
1919
rm -rf /io/*.egg-info
2020
rm -rf /io/.pytest_cache
21-
rm -fv /io/dist/*-linux_*.whl
22-
find /io/ -noleaf -name "*.py[co]" -delete
21+
find /io/ -noleaf \( -iname "*.py[co]" -o -iname "*.c" -o -iname "*-linux_*.whl" \) -delete
2322

2423
echo
2524
echo
@@ -65,16 +64,15 @@ for PYTHON in ${PYTHON_VERSIONS}; do
6564
echo
6665
done
6766

68-
find /io/dist/ -noleaf -type f -not -name "*$package_name*" -delete
67+
# Clean caches + cythonized + not fixed
68+
find /io/ -noleaf \( -iname "*.py[co]" -o -iname "*.c" -o -iname "*-linux_*.whl" \) -delete
6969
rm -rf /io/.eggs
7070
rm -rf /io/build
7171
rm -rf /io/*.egg-info
7272
rm -rf /io/.pytest_cache
7373
rm -rf /io/.tox
7474
rm -f /io/.coverage
75-
# Clean caches and cythonized
76-
find /io/ -noleaf -name "*.py[co]" -delete
77-
find /io/ -noleaf -name "*.c" -delete
75+
7876
# Reset permissions
7977
chmod -v a+rwx /io/dist
8078
chmod -v a+rw /io/dist/*

0 commit comments

Comments
 (0)