From 6070370193f7551e58e787ba07ef8d3300b06960 Mon Sep 17 00:00:00 2001 From: bostonrwalker Date: Wed, 12 Jan 2022 14:51:26 -0500 Subject: [PATCH 1/2] Update wheels.yml - Pre-install poetry - Remove redundant build steps (now handled by build.py) - Add Python 3.10 to builds --- .github/workflows/wheels.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 859841f..9b340d5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -24,6 +24,9 @@ jobs: run: sudo apt-get install swig - uses: actions/setup-python@v2 + + - name: Install poetry + run: python -m pip install poetry==1.1.12 - name: Install cibuildwheel run: python -m pip install cibuildwheel==1.10.0 @@ -31,15 +34,8 @@ jobs: - name: Build wheels env: CIBW_ARCHS: auto - CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-* - CIBW_BEFORE_BUILD: > - ln -s $(pwd) pkg/pypi/native; - cp -f src/bindings/python/*.py pkg/pypi/libzt/; - cd pkg/pypi; - python setup.py build_clib - run: | - swig -c++ -python -o src/bindings/python/zt_wrap.cxx -Iinclude src/bindings/python/zt.i - python -m cibuildwheel pkg/pypi --output-dir wheelhouse + CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-* cp310-* + run: python -m cibuildwheel pkg/pypi --output-dir wheelhouse - uses: actions/upload-artifact@v2 with: From d6c7b01ddfca69d910f84bc437f33bdfc1c75a99 Mon Sep 17 00:00:00 2001 From: Boston Walker Date: Wed, 12 Jan 2022 15:53:05 -0500 Subject: [PATCH 2/2] Remove Python 3.5 support --- .github/workflows/wheels.yml | 2 +- pkg/pypi/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9b340d5..a9bf3a8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -34,7 +34,7 @@ jobs: - name: Build wheels env: CIBW_ARCHS: auto - CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-* cp310-* + CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* run: python -m cibuildwheel pkg/pypi --output-dir wheelhouse - uses: actions/upload-artifact@v2 diff --git a/pkg/pypi/pyproject.toml b/pkg/pypi/pyproject.toml index 7f6b143..6a5a7d6 100644 --- a/pkg/pypi/pyproject.toml +++ b/pkg/pypi/pyproject.toml @@ -47,7 +47,7 @@ packages = [ build = "build.py" [tool.poetry.dependencies] -python = "^3.5" +python = "^3.6" [tool.poetry.dev-dependencies]