Skip to content

build(deps-dev): update django-dbbackup requirement from ~=5.3.0 to ~=5.4.2 - #684

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/django-dbbackup-approx-eq-5.4.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/django-dbbackup-approx-eq-5.4.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on django-dbbackup to permit the latest version.

Release notes

Sourced from django-dbbackup's releases.

5.4.2

Added

  • The DBBACKUP_ADMIN setting is now accepted as an alias for DBBACKUP_ADMINS due to previously conflicting spelling in the documentation versus the source code.

Deprecated

  • Admin recipients configured as (name, address) pairs now emit Django's RemovedInDjango2028Warning on Django 6.0 and later. Use a list of email address strings instead.

Fixed

  • Failure emails no longer go to the second character of each address when ADMINS lists plain email address strings, the format Django 6.0 documents.
  • Invalid ADMINS or DBBACKUP_ADMINS values now raise ImproperlyConfigured instead of silently sending failure emails to mangled recipients.
Changelog

Sourced from django-dbbackup's changelog.

[5.4.2] - 2026-11-24

Added

  • The DBBACKUP_ADMIN setting is now accepted as an alias for DBBACKUP_ADMINS due to previously conflicting spelling in the documentation versus the source code.

Deprecated

  • Admin recipients configured as (name, address) pairs now emit Django's RemovedInDjango2028Warning on Django 6.0 and later. Use a list of email address strings instead.

Fixed

  • Failure emails no longer go to the second character of each address when ADMINS lists plain email address strings, the format Django 6.0 documents.
  • Invalid ADMINS or DBBACKUP_ADMINS values now raise ImproperlyConfigured instead of silently sending failure emails to mangled recipients.

[5.4.1] - 2026-11-14

Fixed

  • PostgreSQL restores of a backup taken while a column used a serial default no longer fail with column "…" of relation "…" is an identity column when the target table now uses an identity column. The connectors drop the identity property before the dump's DROP DEFAULT statement, within a single transaction when SINGLE_TRANSACTION is enabled (the default) or PG_OPTIONS contains --single-transaction. The binary connector falls back to its previous behavior when PG_OPTIONS contains --jobs, --dbname, --file, or --role (or their short forms), which cannot be combined with SQL generation, and applies --single-transaction and section filters from PG_OPTIONS.
  • Command line connectors no longer strip the backslashes from Windows paths, so DUMP_CMD and RESTORE_CMD can point to an executable such as C:\pgsql\bin\pg_dump.exe. It used to run as C:pgsqlbinpg_dump.exe and fail with "Database command not found".
  • Failed dbbackup and mediabackup runs on Django 6.1 no longer end in AttributeError: 'DbbackupAdminEmailHandler' object has no attribute 'connection', which hid the original error and stopped the failure email.

[5.4.0] - 2026-10-24

Added

  • PostgreSQL connectors now forward the sslmode, sslrootcert, sslcert, sslkey, passfile and service keys of the Django database OPTIONS setting to pg_dump, psql and pg_restore as their matching libpq environment variable, the same way Django forwards them to its own command line tools. Backups and restores now use the TLS and client certificate configuration of the ORM, including the PostGIS activation step.

Changed

  • A value set in the PostgreSQL OPTIONS setting now takes precedence over the same variable configured through ENV, DUMP_ENV or RESTORE_ENV, where the environment used to win.

Fixed

  • ADMIN_PASSWORD is now passed to the PostGIS activation step, it had no effect until now.
  • PgDumpBinaryConnector now applies RESTORE_ENV to pg_restore, which was receiving DUMP_ENV instead. DUMP_ENV no longer leaks into the restore phase, put in RESTORE_ENV the variables which were reaching pg_restore from it.
  • DBBACKUP_GPG_ALWAYS_TRUST setting is now respected instead of being enabled whenever DBBACKUP_GPG_RECIPIENT is set. Encrypting to a public key that GPG does not trust will now fail, as documented, unless the key is trusted or DBBACKUP_GPG_ALWAYS_TRUST = True is set.
  • Pass configured DBBACKUP_CONNECTORS settings when instantiating connector from backup metadata in dbrestore.
  • dbrestore no longer discards the DROP and PG_OPTIONS values configured in DBBACKUP_CONNECTORS. --no-drop and --pg-options still take precedence when passed.
  • Connector options holding a list or a dict (EXCLUDE, SCHEMAS, ENV, DUMP_ENV, RESTORE_ENV) are now copied per connector. dbbackup --exclude-tables used to append to the class default, silently excluding those tables from every other database of the same run and from connectors created afterwards.

[5.3.1] - 2026-09-10

Changed

  • PostgreSQL HOST that are Unix/Windows socket paths will now be automatically URI-encoded to uphold pg_restore command line requirements.

Fixed

... (truncated)

Commits

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 show <dependency name> 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)

Updates the requirements on [django-dbbackup](https://github.com/Archmonger/django-dbbackup) to permit the latest version.
- [Release notes](https://github.com/Archmonger/django-dbbackup/releases)
- [Changelog](https://github.com/Archmonger/django-dbbackup/blob/master/CHANGELOG.md)
- [Commits](Archmonger/django-dbbackup@5.3.0...5.4.2)

---
updated-dependencies:
- dependency-name: django-dbbackup
  dependency-version: 5.4.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 30, 2026
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.

0 participants