Add support for integer, floating point, boolean NumPy scalar types__
(:ticket:[#332](https://github.com/psycopg/psycopg/issues/332)).
Add support for libpq functions to close prepared statements and portals
introduced in libpq v17 (:ticket:[#603](https://github.com/psycopg/psycopg/issues/603)).
Disable receiving more than one result on the same cursor in pipeline mode,
to iterate through ~Cursor.nextset(). The behaviour was different than
in non-pipeline mode and not totally reliable (:ticket:[#604](https://github.com/psycopg/psycopg/issues/604)).
The Cursor now only preserves the results set of the last
~Cursor.execute(), consistently with non-pipeline mode.
Allow JSON dumpers to dump bytes directly instead of str,
for better compatibility with libraries like orjson and msgspec
(:ticket:[#569](https://github.com/psycopg/psycopg/issues/569))
Fix prepared statement cache validation when exiting pipeline mode (or
~Cursor.executemany()) in case an error occurred within the pipeline
(:ticket:[#585](https://github.com/psycopg/psycopg/issues/585)).
Fix connect() to avoid "leaking" an open ~pq.PGconn attached to the
OperationalError in case of connection failure. Error.pgconn is now a
shallow copy of the real libpq connection, and the latter is closed before
the exception propagates (:ticket:[#565](https://github.com/psycopg/psycopg/issues/565)).
Fix possible (ignored) exception on objects deletion (:ticket:[#591](https://github.com/psycopg/psycopg/issues/591)).
Don't clobber a Python exception raised during COPY FROM with the resulting
!QueryCanceled raised as a consequence (:ticket:[#593](https://github.com/psycopg/psycopg/issues/593)).
Fix resetting Connection.read_only and ~Connection.deferrable to their
default value using !None (:ticket:[#612](https://github.com/psycopg/psycopg/issues/612)).
Add support for Python 3.12.
... (truncated)
Commits
8d2ba2d chore: bump psycopg package version to 3.1.10
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps psycopg from 3.1.9 to 3.1.10.
Changelog
Sourced from psycopg's changelog.
... (truncated)
Commits
8d2ba2d
chore: bump psycopg package version to 3.1.10bb2541b
chore: upgrade cibuildwheeldae77cb
chore: bump libpq, openssl used in binary packages144fda3
Mark two more tests as timing-sensitivebb7a668
Merge branch 'pipeline-nextset-warning' into maint-3.1d684f48
fix: raise a warning if nextset is used after execute in pipeline mode62e7acb
docs: drop example about using nextset() in pipeline modef370f65
docs: fix release version of json bytes dump support4e5e1bd
Merge branch 'py312-3.1' into maint-3.1cc90fc1
docs: mention Python 3.12 support in news fileDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)