chore(deps): update dependency pytest-postgresql to v9 - #1316
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/pytest-postgresql-9.x
branch
from
September 7, 2026 15:11
cf5793d to
b01b855
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.1.1 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0→^4.1.1 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0Release Notes
dbfixtures/pytest-postgresql (pytest-postgresql)
v9.1.0Compare Source
====================================
Features
pg_ctldiscovery now finds a Windows PostgreSQL install without--postgresql-exec.The default executable path is empty on Windows, and discovery probes
%ProgramFiles%\PostgreSQL\*\bin\pg_ctl.exe(newest version first) andPATHafterpg_config --bindir. (#​1399 <https://github.com/dbfixtures/pytest-postgresql/issues/1399>__)Miscellaneous
actions-reusenew composite actionuv-pytest-coverage(#​1424 <https://github.com/dbfixtures/pytest-postgresql/issues/1424>__)v9.0.0Compare Source
====================================
Breaking changes
autocommitargument. (#​902 <https://github.com/dbfixtures/pytest-postgresql/issues/902>__)postgresql_noprochas an additional parameterload_autocommitwhich is grouped together withloadmakingpositional arguments filled till
depends_onincompatible. (#​902 <https://github.com/dbfixtures/pytest-postgresql/issues/902>__)dbnameinpostgresql_noprocare now keyword-only. Update callers that passoptions,load,load_autocommitordepends_onpositionally. (#​1387 <https://github.com/dbfixtures/pytest-postgresql/issues/1387>__)dbnameinpostgresql_procare now keyword-only. Update callers that passoptions,startparams,unixsocketdir,postgres_options,loadorload_autocommitpositionally. (#​1387 <https://github.com/dbfixtures/pytest-postgresql/issues/1387>__)dbnameinPostgreSQLExecutor. Update callers that pass+
shell,timeout,sleep,user,password,+
options, orpostgres_optionspositionally. (#​1387 <https://github.com/dbfixtures/pytest-postgresql/issues/1387>__)Deprecations
versionargument ofDatabaseJanitorandAsyncDatabaseJanitor. (#​1393 <https://github.com/dbfixtures/pytest-postgresql/issues/1393>__)Features
postgres. Set it with thepostgresql_maintenance_dbnameini option, the--postgresql-maintenance-dbnamecommand line option, or themaintenance_dbnameargument offactories.postgresql_noprocandDatabaseJanitor/AsyncDatabaseJanitor. Defaults topostgres. (#​653 <https://github.com/dbfixtures/pytest-postgresql/issues/653>__).sqlfiles containing statements that cannot run inside a transaction block (such asCREATE DATABASE) can be loaded. This is configurable without a custom loader in three ways: thepostgresql_load_autocommitini option, the--postgresql-load-autocommitcommand line flag, or theload_autocommitargument of thepostgresql_proc/postgresql_noprocfactories (which also maps to anautocommitargument onDatabaseJanitor/AsyncDatabaseJanitor). (#​902 <https://github.com/dbfixtures/pytest-postgresql/issues/902>__)postgresql_asyncfactory andAsyncDatabaseJanitor.Added optional
asyncextra (pip install pytest-postgresql[async]) providingpytest-asyncio(>= 1.4) andaiofilesdependencies. (#​1235 <https://github.com/dbfixtures/pytest-postgresql/issues/1235>__)Bugfixes
pg_ctldiscovery no longer hands back a path that does not exist. A client-only PostgreSQLinstall (Debian/Ubuntu's
libpq-devwithout the matching server package) makespg_config --bindirpoint at a directory holding nopg_ctl; that path used to be returnedunchecked, and the failure only surfaced later as
Could not found ...when the executor read theserver version. The path is now verified up front, and the
ExecutableMissingExceptionnames thelocations that were checked along with the ways to fix it: install the server package, point at a
pg_ctlwith--postgresql-exec, or usepostgresql_noprocagainst a server you run yourself.A broken
pg_configis reported the same way. OnlyFileNotFoundErrorused to be handled, so anon-executable or failing
pg_configescaped as a rawPermissionError/CalledProcessError. (#​1031 <https://github.com/dbfixtures/pytest-postgresql/issues/1031>__)Fixed
DeprecationWarningon Python 3.14 from deprecated asyncio event-loop policy usage on Windows; use pytest-asyncio loop factories instead. (#​1295 <https://github.com/dbfixtures/pytest-postgresql/issues/1295>__)Documentation
pg_ctlis located — it listed the discovery steps inthe wrong order — and spelled out that
postgresql_procneeds a local PostgreSQL server, pointingat
postgresql_noprocfor dockerised or otherwise externally managed servers. (#​1031 <https://github.com/dbfixtures/pytest-postgresql/issues/1031>__)Miscellaneous
Pin GitHub Actions to immutable commit SHAs (
#​1331 <https://github.com/dbfixtures/pytest-postgresql/issues/1331>__)Enabled Ruff's
FBT <https://docs.astral.sh/ruff/rules/#flake8-boolean-trap-fbt>_ rules to detect boolean positional arguments. (#​1387 <https://github.com/dbfixtures/pytest-postgresql/issues/1387>__)postgresql_procnow tears down through a fixtureyieldinstead ofrequest.addfinalizer.Consuming it as a pytest fixture is unaffected. (
#​1397 <https://github.com/dbfixtures/pytest-postgresql/issues/1397>__)Enabled Ruff's
PT <https://docs.astral.sh/ruff/rules/#flake8-pytest-style-pt>_ rulesto keep pytest usage consistent across the plugin and its test suite. (
#​1397 <https://github.com/dbfixtures/pytest-postgresql/issues/1397>__)Gathered all executors under common executors package. (
#​1402 <https://github.com/dbfixtures/pytest-postgresql/issues/1402>__)Add release-schedule workflow replacing manual release workflow. (
#​1410 <https://github.com/dbfixtures/pytest-postgresql/issues/1410>__)Migrated the Automerge workflow to
fizyk/actions-reuseversion 5.5.0. (#​1411 <https://github.com/dbfixtures/pytest-postgresql/issues/1411>__)Add actionlint to pre-commit (
#​1414 <https://github.com/dbfixtures/pytest-postgresql/issues/1414>__)Configure Dependabot to update pre-commit dependencies. (
#​1415 <https://github.com/dbfixtures/pytest-postgresql/issues/1415>__)Add Python 3.15 to CI
Add pyproject-fmt to pre-commit tools.
Add zizmor to pre-commit and harden GitHub Actions workflow permissions.
Deduplicate DatabaseJanitor codebase after async introduction.
Extended coderabbit configuration
Migrate developer environment from pipenv to uv
Scope the
test_postgres_terminate_connection(and async) connection checkto the test's own database via
datname = current_database().So a transient, already-closed janitor connection on the
postgresmaintenancedatabase no longer causes spurious timeouts on macOS CI.
Set CodeRabbit review profile to assertive for stricter pull request reviews.
Update automerge to new 5.x version and change app id to client id
Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.