Skip to content

Commit a19a761

Browse files
committed
Relocate the v2.0 warning.
1 parent 265a113 commit a19a761

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ Primarily, a high-level driver for querying databases.
66
While py-postgresql is still usable for many purposes, asyncpg and PostgREST are
77
likely more suitable for most applications:
88

9-
- http://github.com/MagicStack/asyncpg
9+
- https://github.com/MagicStack/asyncpg
1010
- https://postgrest.org
1111

1212
py-postgresql, currently, does not have direct support for high-level async
1313
interfaces provided by recent versions of Python. Future versions may change this.
1414

1515
### Advisory
1616

17+
In v2.0, support for older versions of PostgreSQL and Python will be removed.
18+
If you have automated installations using PyPI, make sure that they specify a major version.
19+
1720
In v1.3, `postgresql.driver.dbapi20.connect` will now raise `ClientCannotConnectError` directly.
1821
Exception traps around connect should still function, but the `__context__` attribute
1922
on the error instance will be `None` in the usual failure case as it is no longer
2023
incorrectly chained. Trapping `ClientCannotConnectError` ahead of `Error` should
2124
allow both cases to co-exist in the event that data is being extracted from
2225
the `ClientCannotConnectError`.
2326

24-
In v2.0, support for older versions of PostgreSQL and Python will be removed.
25-
If you have automated installations using PyPI, make sure that they specify a major version.
26-
2727
### Installation
2828

2929
Using PyPI.org:

0 commit comments

Comments
 (0)