Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revisit pypy sypport in psycopg 3 #746

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/single-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions newsfragments/707.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable pypy builds
Loading