Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump psycopg[binary] from 3.1.9 to 3.1.10 #413

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps psycopg[binary] from 3.1.9 to 3.1.10.

Changelog

Sourced from psycopg[binary]'s changelog.

.. currentmodule:: psycopg

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

psycopg release notes

Future releases

Psycopg 3.2 (unreleased) ^^^^^^^^^^^^^^^^^^^^^^^^

  • 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.

.. __: https://numpy.org/doc/stable/reference/arrays.scalars.html#built-in-scalar-types

Current release

Psycopg 3.1.10 ^^^^^^^^^^^^^^

  • 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
  • bb2541b chore: upgrade cibuildwheel
  • dae77cb chore: bump libpq, openssl used in binary packages
  • 144fda3 Mark two more tests as timing-sensitive
  • bb7a668 Merge branch 'pipeline-nextset-warning' into maint-3.1
  • d684f48 fix: raise a warning if nextset is used after execute in pipeline mode
  • 62e7acb docs: drop example about using nextset() in pipeline mode
  • f370f65 docs: fix release version of json bytes dump support
  • 4e5e1bd Merge branch 'py312-3.1' into maint-3.1
  • cc90fc1 docs: mention Python 3.12 support in news file
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 19.5689 1999.48 2.76553 731
Measurement #1 19.6983 1999.48 2.76553 726

📈 Energy graph:

 
 7.77 ┤                                   ╭╮                                                                                                                     ╭╮          ╭╮
 7.17 ┤                                   ││                                                                                               ╭╮                 ╭╮╭╯│         ╭╯│
 6.56 ┤        ╭╮                         ││                   ╭╮                        ╭╮                                               ╭╯╰╮       ╭╮       │││ ╰─╮   ╭──╮│ │
 5.96 ┤        ││                         ││                ╭╮ ││                        ││                                              ╭╯  │    ╭──╯│       │╰╯   ╰╮  │  ╰╯ │            ╭╮
 5.35 ┤        ││                         ││                ││╭╯│                       ╭╯│   ╭─╮                                        │   ╰╮ ╭─╯   │       │      │ ╭╯     │            │╰╮
 4.75 ┤      ╭─╯╰╮                       ╭╯│               ╭╯╰╯ │        ╭╮     ╭╮  ╭╮╭╮│ ╰╮  │ │                               ╭╮       │    │ │     │       │      │ │      │        ╭╮  │ │                                                                                                                                                                                            ╭╮                        ╭╮                                                                                                                                   ╭╮                                               ╭╮                                ╭╮                                                                                                          ╭
 4.15 ┤     ╭╯   │╭─╮ ╭─────────╮╭───────╯ ╰───────────────╯    │ ╭────╮╭╯╰───╮╭╯╰──╯││││  │  │ │╭╮   ╭─────────────╮ ╭─────────╯╰───────╯    ╰╮│     │       │      ╰╮│      │        ││╭╮│ │                                                ╭╮                                                                                                                                          ││                   ╭╮ ╭╮││                                            ╭╮ ╭╮                           ╭╮                        ╭─╮                          ││                                               ││                                ││          ╭╮                                                                  ╭╮                      ╭╮ ╭╯
 3.54 ┤     │    ╰╯ ╰─╯         ╰╯                              │ │    ╰╯     ╰╯     ││││  │  │ ││╰───╯             ╰╮│                        ││     ╰─╮    ╭╯       ││      │        │││╰╯ │         ╭╮             ╭─╮                     ││          ╭╮          ╭╮         ╭╮          ╭╮         ╭╮                     ╭─╮         ╭╮         ╭╮                     ╭╮          ╭╯│         ╭╮        ││ ││││                      ╭─╮                   ││ │╰─╮                        ╭╯│         ╭╮          ╭╮ │ │         ╭╮             ╭─╯│                         ╭╮                    ││                                ││          ││╭╮╭╮          ╭╮          ╭╮           ╭╮          ╭╮            ╭╯╰╮         ╭╮          ││ │
 2.94 ┤    ╭╯                                                   ╰─╯                  ╰╯╰╯  ╰──╯ ╰╯                   ││                        ╰╯       │    │        ╰╯      ╰╮      ╭╯││   ╰╮       ╭╯╰──╮       ╭─╮│ ╰╮        ╭─╮        ╭╯╰╮        ╭╯╰╮        ╭╯╰╮        │╰╮         ││         │╰╮        ╭──╮        │ │         ││         │╰╮        ╭─╮        ╭╯╰╮        ╭╯ │         ││        ││ │╰╯│         ╭╮       ╭─╮╭╯ ╰╮        ╭╮        ││ │  │       ╭────╮       ╭─╮╭╯ ╰╮       ╭╯╰─╮       ╭╯│ │ ╰╮       ╭╯╰──╮       ╭─╮│  │        ╭────╮       ╭─╮╭╯╰╮        ╭╮         │╰╮         ╭╮         ╭╮        ╭╯╰╮        ╭╯╰╯│││        ╭╮│╰╮        ╭╯╰─╮         │╰╮       ╭─╯│╭╮       ╭╮╭╯  ╰╮       ╭╯╰─╮        ││ │
 2.34 ┤    │                                                                                                         ╰╯                                 │╭╮ ╭╯                 │      │ ╰╯    │ ╭╮    │    │       │ ││  │   ╭╮   │ │        │  │        │  │    ╭╮  │  │        │ │       ╭─╯╰╮        │ │        │  │        │ │         │╰╮        │ │        │ │        │  │        │  │        ╭╯│        ││ │  │         ││       │ ││   │        ││       ╭╯│╭╯  │       │    │       │ ││   │       │   │       │ │╭╯  │    ╭╮ │    │       │ ││  ╰╮       │    │       │ ││  │        ││         │ │   ╭╮   ╭╯│        ╭╯│        │  │       ╭╯   ╰╯│       ╭╯││ │      ╭─╯   │       ╭╮│ │       │  ╰╯│       │││    │       │   │       ╭╯│ │
 1.73 ┼────╯                                                                                                                                            ╰╯╰─╯                  ╰──────╯       ╰─╯╰────╯    ╰───────╯ ╰╯  ╰───╯╰───╯ ╰────────╯  ╰────────╯  ╰────╯╰──╯  ╰────────╯ ╰───────╯   ╰────────╯ ╰────────╯  ╰────────╯ ╰─────────╯ ╰────────╯ ╰────────╯ ╰────────╯  ╰────────╯  ╰────────╯ ╰────────╯╰─╯  ╰─────────╯╰───────╯ ╰╯   ╰────────╯╰───────╯ ╰╯   ╰───────╯    ╰───────╯ ╰╯   ╰───────╯   ╰───────╯ ╰╯   ╰────╯╰─╯    ╰───────╯ ╰╯   ╰───────╯    ╰───────╯ ╰╯  ╰────────╯╰─────────╯ ╰───╯╰───╯ ╰────────╯ ╰────────╯  ╰───────╯      ╰───────╯ ╰╯ ╰──────╯     ╰───────╯╰╯ ╰───────╯    ╰───────╯╰╯    ╰───────╯   ╰───────╯ ╰─╯
                                                                                                                                                                                                                                                                                                                                                                         Watts over time

Bumps [psycopg[binary]](https://github.com/psycopg/psycopg) from 3.1.9 to 3.1.10.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst)
- [Commits](psycopg/psycopg@3.1.9...3.1.10)

---
updated-dependencies:
- dependency-name: psycopg[binary]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/main/psycopg-binary--3.1.10 branch from 87735de to 8d43c07 Compare August 7, 2023 07:32
@ribalba
Copy link
Member

ribalba commented Aug 7, 2023

@ArneTR is this relevant for us psycopg/psycopg#569 ? I think you implemented that functionality. Leaving open for you to merge

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 20.389 2398 3.12647 775
Measurement #1 20.5132 2398 3.12647 769

📈 Energy graph:

 
 6.84 ┤              ╭╮                                              ╭╮                                                                                                 ╭╮                  ╭──╮     ╭─╮ ╭─╮
 6.35 ┤              ││                                              ││                                               ╭╮                                              ╭─╯╰╮      ╭╮        ╭╯  ╰─╮  ╭╯ ╰╮│ │
 5.86 ┤              │╰╮    ╭╮                             ╭─╮       ││     ╭╮                                        ││                                             ╭╯   │  ╭───╯│        │     ╰╮ │   ╰╯ │
 5.37 ┤             ╭╯ │    │╰╮                            │ │      ╭╯│    ╭╯╰╮                      ╭╮              ╭╯╰╮   ╭─╮                                      │    ╰╮╭╯    │        │      │ │      │        ╭╮ ╭╮╭─╮                                                                                                                                                                                                                                                     ╭╮                                                                                                                                                                                                                                                                                                                 ╭
 4.88 ┤      ╭╮     │  ╰╮   │ ╰─────╮╭─╮     ╭──────╮╭─────╯ ╰──────╯ │  ╭╮│  ╰────╮╭╮     ╭───╮ ╭╮ ╭╯╰╮   ╭╮  ╭───╮ │  │   │ │╭╮      ╭──╮╭─────╮╭╮   ╭───╮ ╭──╮╭─╮╭╯     ││     │        │      │ │      │        ││ │││ │                                                  ╭╮          ╭╮          ╭╮          ╭╮                                                                                           ╭╮          ╭╮╭╮                                                  ││                                               ╭╮ ╭╮╭╮                                                      ╭╮                                                ╭╮                                ╭╮                                                                                ╭╮                             │
 4.39 ┤      │╰╮    │   ╰───╯       ╰╯ ╰─────╯      ╰╯                │ ╭╯╰╯       ╰╯╰─────╯   ╰─╯│ │  ╰───╯╰──╯   ╰╮│  │   │ ││╰╮╭╮╭──╯  ╰╯     ╰╯│ ╭─╯   ╰─╯  ╰╯ ╰╯      ││     │        │      │╭╯      │        ││ │││ ╰╮          ╭╮╭╮        ╭╮ ╭─╮                     ││          ││          ││          ││                                             ╭╮                                            ││          ││││         ╭╮        ╭╮ ╭╮╭╮                   ╭╮ ╭╮││                       ╭╮          ╭╮╭╮        ││ ││││                     ╭╮ ╭─╮          ╭╮╭╮        ╭╮ ╭╮││                                                ││                                │╰╮          ╭╮               ╭╮                                    ╭╮            │╰╮╭╮          ╭╮             ╭╯
 3.90 ┤      │ ╰────╯                                                 ╰╮│                         ╰─╯               ││  ╰╮╭╮│ ╰╯ ╰╯╰╯              │ │                     ││     │        │      ││       │       ╭╯│╭╯││  ╰╮         ││││        ││ │ │          ╭╮         │╰╮         │╰╮         ││          ││          ╭╮         ╭╮          ╭╮          │╰╮         ╭╮         ╭╮          ╭╮         │╰╮         │╰╯│         ││        ││ ││││                   ││ ││││                   ╭╮ ╭╯╰╮         ││││        ││ │╰╯│         ╭╮          ││ │ ╰╮         ││││        ││ │╰╯│         ╭╮╭╮        ╭╮ ╭─╮                     │╰╮                               │ │          │╰──╮            ││          ╭╮            ╭╮          ││            │ ╰╯│          ││         ╭╮ ╭╯
 3.41 ┤    ╭─╯                                                         ││                                           ╰╯   ││││                      ╰─╯                     ╰╯     ╰─╮    ╭╮│      ╰╯       │       │ ╰╯ ╰╯   │       ╭─╯╰╯│        ││ │ ╰╮        ╭╯│         │ │         │ │         │╰╮         │╰╮         ││         │╰╮        ╭╯│          │ │         ││         │╰╮         ││         │ │         │  │         ││        ││ │╰╯╰╮        ╭╮        ││ │╰╯│         ╭╮       ╭╯│╭╯  │       ╭╮││││        ││ │  │        ╭╯╰─╮        ││ │  │       ╭─╯│││        ││ │  │         │╰╯│        │╰╮│ │          ╭╮         │ │         ╭╮         ╭╮         │ ╰╮       ╭─╯   ╰─╮       ╭╮ │╰╮       ╭─╯╰─╮          │╰╮       ╭─╯╰─╮          │   ╰╮       ╭─╯│╭╮       │╰╮│
 2.92 ┤    │                                                           ╰╯                                                ╰╯││                                                       ╰╮╭─╮│╰╯               │       │         │       │    │        │╰╮│  │        │ ╰╮        │ │         │ │         │ │         │ │        ╭╯╰╮   ╭╮   │ │        │ ╰─╮        │ │         │╰╮        │ │        ╭╯│         │ │         │  │        ╭╯│       ╭╯│╭╯   │        ││       ╭╯│ │  │         ││       │ ││   │       │╰╯│││        ││ │  │       ╭╯   │       ╭╯│ │  │       │  ╰╯│       ╭╯│ │  │       ╭─╯  ╰╮       │ ││ │╭╮        │╰╮        │ │         ││         ││        ╭╯  │       │       │       ││╭╯ │       │    │       ╭╮╭╯ │       │    │       ╭╮ │    │       │  ╰╯│       │ ││
 2.43 ┤    │                                                                                                               ╰╯                                                        ╰╯ ││                 │       │         │╭╮     │    ╰╮     ╭╮│ ││  │ ╭╮     │  ╰╮       │ ╰╮    ╭╮  │ │ ╭╮      │ ╰╮   ╭─╮ ╭╯ ╰╮╭╮     │  │  ╭╯╰╮  │ │        │   │        │ ╰╮    ╭╮  │ │╭╮      │ │  ╭╮    │ ╰╮       ╭╯ │        ╭╯  │      ╭─╯ │       │ ││    │       ╭╯│    ╭╮ │ │ │  │         ││   ╭╮  │ ││   │       │  ╰╯│  ╭╮   ╭╯│ │  │       │    │       │ │╭╯  │       │    │       │ │╭╯  │       │     ╰╮      │ ││ ╰╯│        │ │        │ ╰╮       ╭╯│         ││       ╭╯   │       │       │       │││  │       │    │ ╭╮    │││  │    ╭╮ │    │       ││ │    │       │    │       │ ││
 1.94 ┼────╯                                                                                                                                                                            ╰╯                 ╰───────╯         ╰╯╰─────╯     ╰─────╯╰╯ ╰╯  ╰─╯╰─────╯   ╰───────╯  ╰────╯╰──╯ ╰─╯╰──────╯  ╰───╯ ╰─╯   ╰╯╰─────╯  ╰──╯  ╰──╯ ╰────────╯   ╰────────╯  ╰────╯╰──╯ ╰╯╰──────╯ ╰──╯╰────╯  ╰───────╯  ╰────────╯   ╰──────╯   ╰───────╯ ╰╯    ╰───────╯ ╰────╯╰─╯ ╰─╯  ╰─────────╯╰───╯╰──╯ ╰╯   ╰───────╯    ╰──╯╰───╯ ╰─╯  ╰───────╯    ╰───────╯ ╰╯   ╰───────╯    ╰───────╯ ╰╯   ╰───────╯      ╰──────╯ ╰╯   ╰────────╯ ╰────────╯  ╰───────╯ ╰─────────╯╰───────╯    ╰───────╯       ╰───────╯╰╯  ╰───────╯    ╰─╯╰────╯╰╯  ╰────╯╰─╯    ╰───────╯╰─╯    ╰───────╯    ╰───────╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                                                               Watts over time

@ArneTR
Copy link
Member

ArneTR commented Aug 7, 2023

Thanks for actually reading the change :)

This is however the other way round. It is for ingesting JSON, we made the ORJSON changes for returning it in FastAPI.

@ArneTR ArneTR merged commit b3fb8a7 into main Aug 7, 2023
@ArneTR ArneTR deleted the dependabot/pip/main/psycopg-binary--3.1.10 branch August 7, 2023 07:52
ArneTR added a commit that referenced this pull request Aug 7, 2023
* 'main' of github.com:green-coding-berlin/green-metrics-tool:
  Bump psycopg[binary] from 3.1.9 to 3.1.10 (#413)
  Bump fastapi from 0.100.1 to 0.101.0 (#414)
  Bump orjson from 3.9.2 to 3.9.3 (#415)
ArneTR added a commit that referenced this pull request Aug 8, 2023
* main: (42 commits)
  Added exception handling to client.py
  Fix and better display of SCI values in badged and dashboard
  Increased the waiting time for powermetrics to shut down
  Bugfix for non-string types replacement
  Docker prune is now the default for jobs.py
  Bump psycopg[binary] from 3.1.9 to 3.1.10 (#413)
  Bump fastapi from 0.100.1 to 0.101.0 (#414)
  Bump orjson from 3.9.2 to 3.9.3 (#415)
  Ignore filesystem paths
  Bugfix: Phases ordering was wrong way round
  eco-ci will now post the energy reading in the PR conversation (#397)
  SCI metric (#412)
  Fixes the github security errors (#411)
  API does not block returning machines, but will now return if they are available or not
  Enables empty services in the usage_scenario (#409)
  wrong import
  jobs.py now appends date
  Fixes the error on mac on which /tmp is a symlink to /private/tmp (#410)
  Fixes the metric output file becoming corrupted (#393)
  Only available machines may be listed
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants