Skip to content

Commit

Permalink
add packages for python 3.12 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Jan 8, 2024
1 parent fb54d7f commit bc2d37f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/python_packages.yml
Expand Up @@ -2,14 +2,14 @@ name: Build and upload to PyPI

on: [push]
jobs:
build_linux_wheels_manylinux_2_24:
name: Build wheels for manylinux_2_24
build_linux_wheels_manylinux_2_28:
name: Build wheels for manylinux_2_28
runs-on: ubuntu-latest
env:
CIBW_SKIP: pp* cp27-* cp35-* cp36-* *-i686 *musllinux*
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24
CIBW_MANYLINUX_I686_IMAGE: manylinux_2_24
CIBW_BEFORE_ALL_LINUX: apt-get update -y && apt-get install libsqlite3-dev
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_ARCHS: x86_64
CIBW_BEFORE_ALL_LINUX: dnf makecache && dnf install --assumeyes sqlite-devel
CIBW_BEFORE_BUILD: pip install setuptools scikit-build wheel cmake
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"

Expand All @@ -22,7 +22,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand All @@ -48,7 +48,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand All @@ -72,7 +72,7 @@ jobs:
python-version: '3.8'

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
dir "C:/vcpkg/installed/x64-windows/bin"
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
dir "C:/vcpkg/installed/x86-windows/bin"
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
pip install setuptools scikit-build wheel cmake
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.0
uses: pypa/cibuildwheel@v2.16.2

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
path: dist/*.tar.gz

upload_pypi:
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_24, build_linux_wheels_manylinux2014, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_sdist]
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_28, build_linux_wheels_manylinux2014, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
Expand Down

0 comments on commit bc2d37f

Please sign in to comment.