diff --git a/.github/workflows/main_push.yml b/.github/workflows/main_push.yml index d0b67bc..b75000e 100644 --- a/.github/workflows/main_push.yml +++ b/.github/workflows/main_push.yml @@ -57,7 +57,7 @@ jobs: - uses: pypa/cibuildwheel@v2.19.1 env: MACOSX_DEPLOYMENT_TARGET: 10.14 - CIBW_BUILD: '*cp311*' + CIBW_BUILD: '*cp39*' - name: Verify clean directory run: git diff --exit-code diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 30d3d21..928cdc8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.9" - name: "Install system dependencies" run: sudo apt update -y && sudo apt install -y libssl-dev libasio-dev diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43792d3..dd5c776 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,17 +72,18 @@ jobs: conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data" conan install --build=openssl --install-folder conan_build . - # - name: Set up QEMU - # if: matrix.platform == 'linux' - # uses: docker/setup-qemu-action@v3 - # with: - # platforms: all + - name: Set up QEMU + if: matrix.platform == 'linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: all - name: Build wheels if: matrix.platform != 'macos-arm' uses: pypa/cibuildwheel@v2.19.1 env: MACOSX_DEPLOYMENT_TARGET: 13.0 + CIBW_ARCHS_LINUX: x86_64 aarch64 - name: Build wheels if: matrix.platform == 'macos-arm' diff --git a/README.rst b/README.rst index d0d7306..3ece7d1 100644 --- a/README.rst +++ b/README.rst @@ -110,6 +110,16 @@ Installation of the pre-compiled releases should be as simple as: pip install pyvroom +The current minimal requirements are as follows: + +* Python at least version 3.9. +* Intel MacOS (or Rosetta2) at least version 13.0. +* Apple Silicon MacOS at least version 14.0. +* Windows on AMD64. +* Linux on x86_64 and Aarch64 given glibc at least version 2.28. + +Outside this it might be possible to build your own binaries. + Building from source ==================== diff --git a/pyproject.toml b/pyproject.toml index 2d0210c..76f20ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,13 +27,15 @@ build = "cp3{9,10,11,12}-*" skip = "*musllinux*" archs = "native" manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64" +manylinux-aarch64-image = "quay.io/pypa/manylinux_2_28_aarch64" [tool.cibuildwheel.linux] before-all = """ -yum module enable mariadb-devel:10.3 -yum install -y openssl-devel asio +dnf update -y +dnf module enable -y mariadb-devel +dnf install -y openssl-devel asio-devel """ -# archs = ["auto", "aarch64"] +archs = ["x86_64", "aarch64"] [[tool.cibuildwheel.overrides]] select = "*musllinux*"