diff --git a/.github/workflows/single-postgres.yml b/.github/workflows/single-postgres.yml index 295ba229..9aae440f 100644 --- a/.github/workflows/single-postgres.yml +++ b/.github/workflows/single-postgres.yml @@ -5,7 +5,7 @@ on: inputs: python-versions: description: 'Supported python versions' - default: '["3.9", "3.10", "3.11", "3.12", "3.13"]' + default: '["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]' required: false type: string postgresql: @@ -49,6 +49,9 @@ jobs: if: ${{ inputs.os == 'ubuntu-latest' }} run: | sudo locale-gen de_DE.UTF-8 + - name: install libpq + if: ${{ contains(inputs.python-versions, 'pypy') }} + run: sudo apt install libpq5 - name: Run test uses: fizyk/actions-reuse/.github/actions/pipenv@v2.5.0 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3fc06693..c6dee75d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: uses: ./.github/workflows/single-postgres.yml with: postgresql: 16 - python-versions: '["3.10", "3.11", "3.12", "3.13"]' + python-versions: '["3.10", "3.11", "3.12", "3.13", "pypy-3.10"]' postgresql_15: needs: [postgresql_16] uses: ./.github/workflows/single-postgres.yml diff --git a/Pipfile b/Pipfile index c76b321c..82f9424c 100644 --- a/Pipfile +++ b/Pipfile @@ -12,7 +12,7 @@ psycopg = "==3.2.4" [dev-packages] towncrier = "==24.8.0" -psycopg-binary = "==3.2.4" +psycopg-binary = {version = "==3.2.4", markers="implementation_name == 'cpython'"} pytest-cov = "==6.0.0" pytest-xdist = "==3.6.1" mock = "==5.1.0" diff --git a/newsfragments/707.misc.rst b/newsfragments/707.misc.rst new file mode 100644 index 00000000..9dfed5a7 --- /dev/null +++ b/newsfragments/707.misc.rst @@ -0,0 +1 @@ +Enable pypy builds