Skip to content

Commit 508cae6

Browse files
authored
Test on PostgreSQL 18 (#1290)
1 parent e534e5f commit 508cae6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
- name: Setup PostgreSQL
5757
if: "!steps.release.outputs.is_release && matrix.os == 'macos-latest'"
5858
run: |
59-
brew install postgresql
59+
POSTGRES_FORMULA="postgresql@18"
60+
brew install "$POSTGRES_FORMULA"
61+
echo "$(brew --prefix "$POSTGRES_FORMULA")/bin" >> $GITHUB_PATH
6062
6163
- name: Set up Python ${{ matrix.python-version }}
6264
uses: actions/setup-python@v6
@@ -86,7 +88,7 @@ jobs:
8688
test-postgres:
8789
strategy:
8890
matrix:
89-
postgres-version: ["9.5", "9.6", "10", "11", "12", "13", "14", "15", "16", "17"]
91+
postgres-version: ["9.5", "9.6", "10", "11", "12", "13", "14", "15", "16", "17", "18"]
9092

9193
runs-on: ubuntu-latest
9294

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ framework. You can read more about asyncpg in an introductory
1414
`blog post <http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/>`_.
1515

1616
asyncpg requires Python 3.9 or later and is supported for PostgreSQL
17-
versions 9.5 to 17. Other PostgreSQL versions or other databases
17+
versions 9.5 to 18. Other PostgreSQL versions or other databases
1818
implementing the PostgreSQL protocol *may* work, but are not being
1919
actively tested.
2020

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ of PostgreSQL server binary protocol for use with Python's ``asyncio``
1616
framework.
1717

1818
**asyncpg** requires Python 3.9 or later and is supported for PostgreSQL
19-
versions 9.5 to 17. Other PostgreSQL versions or other databases implementing
19+
versions 9.5 to 18. Other PostgreSQL versions or other databases implementing
2020
the PostgreSQL protocol *may* work, but are not being actively tested.
2121

2222
Contents

0 commit comments

Comments
 (0)