- name: Set up QEMU for multi-arch build
# Check https://github.com/docker/setup-qemu-action for newer versions.
- uses: docker/setup-qemu-action@v3
+ uses: docker/setup-qemu-action@v4
with:
# https://github.com/pypa/cibuildwheel/discussions/2256
image: tonistiigi/binfmt:qemu-v8.1.5
key: libpq-${{ matrix.platform }}-${{ matrix.arch }}-${{ env.LIBPQ_VERSION }}-${{ env.OPENSSL_VERSION }}${{ env.PQ_FLAGS }}
- name: Build wheels
- uses: pypa/cibuildwheel@v3.3.1
+ uses: pypa/cibuildwheel@v3.4.1
with:
package-dir: psycopg_c
env:
key: libpq-macos-${{ env.LIBPQ_VERSION }}-${{ matrix.arch }}-${{ env.OPENSSL_VERSION }}${{ env.PQ_FLAGS }}
- name: Build wheels
- uses: pypa/cibuildwheel@v3.3.1
+ uses: pypa/cibuildwheel@v3.4.1
with:
package-dir: psycopg_c
env:
- name: Set up QEMU for multi-arch build
# Check https://github.com/docker/setup-qemu-action for newer versions.
- uses: docker/setup-qemu-action@v3
+ uses: docker/setup-qemu-action@v4
with:
# https://github.com/pypa/cibuildwheel/discussions/2256
image: tonistiigi/binfmt:qemu-v8.1.5
run: python3 ./tools/ci/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v3.3.1
+ uses: pypa/cibuildwheel@v3.4.1
with:
package-dir: psycopg_binary
env:
PSYCOPG_TEST_WANT_LIBPQ_IMPORT=${{ env.LIBPQ_VERSION }}
PYTEST_ADDOPTS="-m 'not slow and not flakey' --color yes"
- - uses: actions/upload-artifact@v6
+ - uses: actions/upload-artifact@v7
with:
name: linux-${{matrix.pyver}}-${{matrix.platform}}_${{matrix.arch}}
path: ./wheelhouse/*.whl
run: python3 ./tools/ci/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v3.3.1
+ uses: pypa/cibuildwheel@v3.4.1
with:
package-dir: psycopg_binary
env:
PYTEST_ADDOPTS="-m 'not slow and not flakey and not proxy' --color yes"
- name: Upload artifacts
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
with:
name: macos-${{matrix.pyver}}-${{matrix.arch}}
path: ./wheelhouse/*.whl
shell: powershell
- name: Export GitHub Actions cache environment variables
- uses: actions/github-script@v8
+ uses: actions/github-script@v9
with:
script: |
const path = require('path')
run: python3 ./tools/ci/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v3.3.1
+ uses: pypa/cibuildwheel@v3.4.1
with:
package-dir: psycopg_binary
env:
PSYCOPG_TEST_WANT_LIBPQ_IMPORT=">= 16"
PYTEST_ADDOPTS="-m 'not slow and not flakey and not proxy' --color yes"
- - uses: actions/upload-artifact@v6
+ - uses: actions/upload-artifact@v7
with:
name: windows-${{matrix.pyver}}-${{matrix.arch}}
path: ./wheelhouse/*.whl
- windows
steps:
- name: Merge Artifacts
- uses: actions/upload-artifact/merge@v6
+ uses: actions/upload-artifact/merge@v7
with:
name: psycopg-binary-artifact
delete-merged: true