Skip to content

Commit

Permalink
Merge pull request #1191 from plone/asynpg0.29.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Dropping Support for python 3.7.0: Pinning asyncpg to >=0.28.0
  • Loading branch information
bloodbare authored Dec 6, 2023
2 parents 995e143 + f6356f1 commit e96724d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']

steps:
- name: Checkout the repository
Expand All @@ -34,7 +34,7 @@ jobs:

strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']
database: ["DUMMY", "postgres", "cockroachdb"]
db_schema: ["custom", "public"]
exclude:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGELOG
=========

7.0.0 (2023-12-06)
------------------

- BREAKING CHANGE: Passging sql_copy_from_where and jit parameters to
asyncpg.connection.ServerCapabilities and pinning asyncpg in
requirements to 0.29.0. Dropping 3.7.0 python support
[nilbacardit26]

6.4.5 (2023-11-28)
------------------

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.5.dev0
7.0.0
2 changes: 2 additions & 0 deletions guillotina/db/storages/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ def __init__(self, *args, **kwargs):
sql_reset=False,
sql_close_all=self._server_caps.sql_close_all,
plpgsql=self._server_caps.plpgsql,
jit=self._server_caps.jit,
sql_copy_from_where=self._server_caps.sql_copy_from_where,
)

async def add_listener(self, channel, callback):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Cython==0.29.24
asyncpg==0.24.0
asyncpg>=0.28.0
cffi==1.14.6
chardet==3.0.4
jsonschema==2.6.0
Expand Down

0 comments on commit e96724d

Please sign in to comment.