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

Update dependency pytest-postgresql to v7 #1128

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-postgresql (changelog) ^4.1.1 || ^5.0.0 || ^6.0.0 -> ^4.1.1 || ^5.0.0 || ^6.0.0 || ^7.0.0 age adoption passing confidence

Release Notes

dbfixtures/pytest-postgresql (pytest-postgresql)

v7.0.0

Compare Source

==================

Breaking changes

  • Drop support for load parameter from client fixtures. This can be easily replaced by creating intermediary fixture between test and client fixture. (#&#8203;1087 <https://github.com/dbfixtures/pytest-postgresql/issues/1087>__)
  • Stop supporting Python 3.8 as it already reached EOL

Bugfixes

  • Passing all environment variables to the initdb.

    This helps the cases where og_ctl is replaced by custom shell script
    making additional calls, and needs all the variables, that ie server process gets. (#&#8203;1076 <https://github.com/dbfixtures/pytest-postgresql/issues/1076>__)

Features

  • If a test run ended in an error that prevented proper test cleanup,
    developer can now use --postgresql-drop-test-database command line flag,
    to delete database from noproc fixture at the start. (#&#8203;265 <https://github.com/dbfixtures/pytest-postgresql/issues/265>__)

  • DatabaseJanitor.cursor now accepts optional parameter dbname, which defaults to postgres

    This database name is used to make connection to and return a cursor. (#&#8203;265 <https://github.com/dbfixtures/pytest-postgresql/issues/265>__)

  • When running tests with xdist, pytest-postgresql now attempts to detect random ports
    selected by other nodes by writing down a .port file in session temporary directory.

    The number of tries it attempts to select unused port is configurable,
    and defaults to 0.

    In case pytest-postgresql won't be able to select unused port,
    PortForException is thrown with appropriate message. (#&#8203;872 <https://github.com/dbfixtures/pytest-postgresql/issues/872>__)

  • Mark Python 3.13 as supported.

Miscellaneus

  • #&#8203;707 <https://github.com/dbfixtures/pytest-postgresql/issues/707>, #&#8203;895 <https://github.com/dbfixtures/pytest-postgresql/issues/895>, #&#8203;1047 <https://github.com/dbfixtures/pytest-postgresql/issues/1047>, #&#8203;1048 <https://github.com/dbfixtures/pytest-postgresql/issues/1048>, #&#8203;1055 <https://github.com/dbfixtures/pytest-postgresql/issues/1055>, #&#8203;1061 <https://github.com/dbfixtures/pytest-postgresql/issues/1061>, #&#8203;1062 <https://github.com/dbfixtures/pytest-postgresql/issues/1062>, #&#8203;1063 <https://github.com/dbfixtures/pytest-postgresql/issues/1063>, #&#8203;1081 <https://github.com/dbfixtures/pytest-postgresql/issues/1081>__
  • Add PostgreSQL 17 to CI and drop 12
  • Add [bot] suffix to the pre-commit actor.
  • Adjust links after repository transfer
  • Adjust workflows for actions-reuse 3.0.1
  • Fix DatabaseJanitor documentation.
  • In Python 3.13, usage of a positional argument for maxsplit has been
    formally deprecated.
    Update code to use keyword argument maxsplit instead of positional.
  • Skip local hooks from ci
  • Skip newsfragment checks for pre-commit actor.
  • Update pre-commit configuration to use ruff instead of flake8/pydocstyle

Configuration

📅 Schedule: Branch creation - "* 0-4,22-23 * * 1-5,* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependencies Pull requests that update a dependency file python labels Feb 26, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants