EMMC-ASBL / oteapi-core

OTEAPI core components
https://EMMC-ASBL.github.io/oteapi-core
MIT License
7 stars 4 forks source link

Update psycopg requirement from ~=3.1.19 to >=3.1.19,<3.3.0 #492

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Updates the requirements on psycopg to permit the latest version.

Changelog

Sourced from psycopg's changelog.

.. currentmodule:: psycopg

.. index:: single: Release notes single: News

psycopg release notes

Current release

Psycopg 3.2.1 ^^^^^^^^^^^^^

  • Fix packaging metadata breaking [c], [binary] dependencies (:ticket:[#853](https://github.com/psycopg/psycopg/issues/853)).

Psycopg 3.2

.. rubric:: New top-level features

  • Add support for integer, floating point, boolean NumPy scalar types__ (:ticket:[#332](https://github.com/psycopg/psycopg/issues/332)).
  • Add !timeout and !stop_after parameters to Connection.notifies() (:ticket:340).
  • Allow dumpers to return !None, to be converted to NULL (:ticket:[#377](https://github.com/psycopg/psycopg/issues/377)).
  • Add :ref:raw-query-cursors to execute queries using placeholders in PostgreSQL format ($1, $2...) (:tickets:[#560](https://github.com/psycopg/psycopg/issues/560), [#839](https://github.com/psycopg/psycopg/issues/839)).
  • Add capabilities object to :ref:inspect the libpq capabilities <capabilities> (:ticket:[#772](https://github.com/psycopg/psycopg/issues/772)).
  • Add ~rows.scalar_row to return scalar values from a query (:ticket:[#723](https://github.com/psycopg/psycopg/issues/723)).
  • Add ~Connection.cancel_safe() for encrypted and non-blocking cancellation when using libpq v17. Use such method internally to implement !KeyboardInterrupt and ~cursor.copy termination (:ticket:[#754](https://github.com/psycopg/psycopg/issues/754)).
  • The !context parameter of sql objects ~sql.Composable.as_string() and ~sql.Composable.as_bytes() methods is now optional (:ticket:[#716](https://github.com/psycopg/psycopg/issues/716)).
  • Add ~Connection.set_autocommit() on sync connections, and similar transaction control methods available on the async connections.
  • Add a size parameter to ~Cursor.stream() to enable results retrieval in chunks instead of row-by-row (:ticket:[#794](https://github.com/psycopg/psycopg/issues/794)).

.. rubric:: New libpq wrapper features

  • Add support for libpq functions to close prepared statements and portals introduced in libpq v17 (:ticket:[#603](https://github.com/psycopg/psycopg/issues/603)).
  • Add support for libpq encrypted and non-blocking query cancellation functions introduced in libpq v17 (:ticket:[#754](https://github.com/psycopg/psycopg/issues/754)).

... (truncated)

Commits
  • bb47d39 chore: bump psycopg package version to 3.2.1
  • 55490a2 fix: fix versions in packaging metadata
  • 1cbc42a docs: fix title level of major releases
  • 06a6e5e docs: mention dropping Python 3.7 in psycopg 3.2 release
  • ea3735d docs: better organization of the 3.2 release notes
  • 896eee2 chore: bump psycopg package version to 3.2.0
  • 2e2f4d7 chore: bump psycopg package version to 3.1.20
  • 7369d3b Merge pull request #846 from eli-schwartz/tomllib
  • 6672c70 style: shorter line in pyproject.toml
  • a517bb4 build: avoid installing tomli on recent python
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.16%. Comparing base (914a91e) to head (20c5a1d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/pydantic-v1-support #492 +/- ## ============================================================ Coverage 82.16% 82.16% ============================================================ Files 44 44 Lines 1211 1211 ============================================================ Hits 995 995 Misses 216 216 ``` | [Flag](https://app.codecov.io/gh/EMMC-ASBL/oteapi-core/pull/492/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL) | Coverage Δ | | |---|---|---| | [linux](https://app.codecov.io/gh/EMMC-ASBL/oteapi-core/pull/492/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL) | `82.08% <ø> (ø)` | | | [linux-strategies](https://app.codecov.io/gh/EMMC-ASBL/oteapi-core/pull/492/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL) | `84.75% <ø> (ø)` | | | [windows](https://app.codecov.io/gh/EMMC-ASBL/oteapi-core/pull/492/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL) | `81.62% <ø> (ø)` | | | [windows-strategies](https://app.codecov.io/gh/EMMC-ASBL/oteapi-core/pull/492/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL) | `83.68% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=EMMC-ASBL#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.