Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2025

This PR contains the following updates:

Package Type Update Change Age Confidence
lockFileMaintenance All locks refreshed
boto3 dependencies patch ^1.40.17 -> ^1.40.21 age confidence
coverage unit patch ^7.10.5 -> ^7.10.6 age confidence
cryptography (changelog) charm-libs patch 45.0.6 -> 45.0.7 age confidence
ruff (source, changelog) format patch ^0.12.10 -> ^0.12.11 age confidence

🔧 This Pull Request updates lock files to use the latest dependency versions.


Release Notes

boto/boto3 (boto3)

v1.40.21

Compare Source

=======

  • api-change:bedrock-runtime: [botocore] Fixed stop sequence limit for converse API.
  • api-change:ec2: [botocore] Release shows new route types such as filtered and advertisement.
  • api-change:xray: [botocore] AWS X-Ray Features: Support Sampling Rate Boost On Anomaly

v1.40.20

Compare Source

=======

  • api-change:applicationcostprofiler: [botocore] Remove incorrect endpoint tests
  • api-change:apprunner: [botocore] Doc only updates for APIs and and datatypes related to IPAddressType and Subnets for IPv6 dualstack support.
  • api-change:autoscaling-plans: [botocore] Remove incorrect endpoint tests
  • api-change:cloud9: [botocore] Remove incorrect endpoint tests
  • api-change:cloudhsmv2: [botocore] Remove incorrect endpoint tests
  • api-change:cloudsearchdomain: [botocore] Remove incorrect endpoint tests
  • api-change:codedeploy: [botocore] Remove incorrect endpoint tests
  • api-change:codeguru-reviewer: [botocore] Remove incorrect endpoint tests
  • api-change:connect: [botocore] AgentStatusDrillDown feature in GetCurrentMetricData API. Adding AGENT_STATUS as filter and grouping in GetCurrentMetricData API
  • api-change:databrew: [botocore] Remove incorrect endpoint tests
  • api-change:dynamodb: [botocore] Remove incorrect endpoint tests
  • api-change:ec2: [botocore] This release adds support for copying Amazon EBS snapshot and AMIs to and from Local Zones.
  • api-change:ec2-instance-connect: [botocore] Remove incorrect endpoint tests
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version
  • api-change:fis: [botocore] Remove incorrect endpoint tests
  • api-change:fms: [botocore] Remove incorrect endpoint tests
  • api-change:geo-maps: [botocore] Remove incorrect endpoint tests
  • api-change:glue: [botocore] Adding support to fetch TargetDatabase field during GetDatabases with AttributesToGet
  • api-change:healthlake: [botocore] Add ValidationLevel parameter to StartFHIRImportJob API, allowing users to specify a FHIR validation level for their asynchronous import jobs.
  • api-change:machinelearning: [botocore] Remove incorrect endpoint tests
  • api-change:mediastore-data: [botocore] Remove incorrect endpoint tests
  • api-change:mturk: [botocore] Remove incorrect endpoint tests
  • api-change:omics: [botocore] Adds Amazon ECR pull through cache support to AWS HealthOmics, so you can more easily use container images from external sources.
  • api-change:osis: [botocore] Remove incorrect endpoint tests
  • api-change:pinpoint-sms-voice: [botocore] Remove incorrect endpoint tests
  • api-change:rds: [botocore] Added RDS HTTP Endpoint feature support flag to DescribeOrderableDBInstanceOptions API
  • api-change:route53domains: [botocore] Remove incorrect endpoint tests
  • api-change:savingsplans: [botocore] Remove incorrect endpoint tests
  • api-change:scheduler: [botocore] Remove incorrect endpoint tests
  • api-change:ses: [botocore] Remove incorrect endpoint tests
  • api-change:ssm-sap: [botocore] Added support for Configuration Checks on SAP HANA Applications.
  • api-change:sso: [botocore] Remove incorrect endpoint tests
  • api-change:timestream-query: [botocore] Remove incorrect endpoint tests
  • api-change:waf: [botocore] Remove incorrect endpoint tests
  • api-change:workmailmessageflow: [botocore] Remove incorrect endpoint tests
  • api-change:xray: [botocore] Remove incorrect endpoint tests

v1.40.19

Compare Source

=======

  • api-change:amplifybackend: [botocore] Remove incorrect endpoint tests
  • api-change:application-insights: [botocore] Remove incorrect endpoint tests
  • api-change:batch: [botocore] Added ECS_AL2023_NVIDIA as an option for Ec2Configuration.imageType.
  • api-change:chime: [botocore] Remove incorrect endpoint tests
  • api-change:chime-sdk-identity: [botocore] Remove incorrect endpoint tests
  • api-change:chime-sdk-meetings: [botocore] Remove incorrect endpoint tests
  • api-change:chime-sdk-voice: [botocore] Remove incorrect endpoint tests
  • api-change:codeguruprofiler: [botocore] Remove incorrect endpoint tests
  • api-change:datapipeline: [botocore] Remove incorrect endpoint tests
  • api-change:discovery: [botocore] Remove incorrect endpoint tests
  • api-change:ds: [botocore] Add APIs for CA AutoEnrollment support: DescribeCAEnrollmentPolicy, EnableCAEnrollmentPolicy and DisableCAEnrollmentPolicy.
  • api-change:eks: [botocore] Add support for on-demand refresh of EKS cluster insights
  • api-change:elasticache: [botocore] Remove incorrect endpoint tests
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version
  • api-change:evidently: [botocore] Remove incorrect endpoint tests
  • api-change:frauddetector: [botocore] Remove incorrect endpoint tests
  • api-change:inspector: [botocore] Remove incorrect endpoint tests
  • api-change:kinesisvideo: [botocore] Remove incorrect endpoint tests
  • api-change:kinesis-video-media: [botocore] Remove incorrect endpoint tests
  • api-change:lakeformation: [botocore] Remove incorrect endpoint tests
  • api-change:lex-models: [botocore] Remove incorrect endpoint tests
  • api-change:migrationhub-config: [botocore] Remove incorrect endpoint tests
  • api-change:neptune-graph: [botocore] Add StartGraph and StopGraph operations to Neptune Analytics
  • api-change:opsworks: [botocore] The opsworks client has been removed following the deprecation of the service.
  • api-change:opsworkscm: [botocore] The opsworkscm client has been removed following the deprecation of the service.
  • api-change:personalize: [botocore] Remove incorrect endpoint tests
  • api-change:pi: [botocore] Remove incorrect endpoint tests
  • api-change:qldb-session: [botocore] Remove incorrect endpoint tests
  • api-change:redshift: [botocore] Remove incorrect endpoint tests
  • api-change:robomaker: [botocore] Remove incorrect endpoint tests
  • api-change:sagemaker: [botocore] This release adds support for AutoScaling on SageMaker HyperPod.
  • api-change:schemas: [botocore] Remove incorrect endpoint tests
  • api-change:snow-device-management: [botocore] Remove incorrect endpoint tests
  • api-change:timestream-write: [botocore] Remove incorrect endpoint tests
  • api-change:voice-id: [botocore] Remove incorrect endpoint tests
  • api-change:workdocs: [botocore] Remove incorrect endpoint tests
  • api-change:workmail: [botocore] Remove incorrect endpoint tests

v1.40.18

Compare Source

=======

  • api-change:apprunner: [botocore] Remove incorrect endpoint tests
  • api-change:arc-zonal-shift: [botocore] This release adds new API options to enable allowed windows and multiple alarms for practice runs.
  • api-change:codecommit: [botocore] Remove incorrect endpoint tests
  • api-change:codestar-connections: [botocore] Remove incorrect endpoint tests
  • api-change:comprehendmedical: [botocore] Remove incorrect endpoint tests
  • api-change:connectparticipant: [botocore] Amazon Connect Participant Service: Remove unused fields from WebRTCConnection
  • api-change:dlm: [botocore] Remove incorrect endpoint tests
  • api-change:ec2: [botocore] Add new APIs for viewing how your shared AMIs are used by other accounts, and identify resources in your account that are dependent on particular AMIs
  • api-change:elastictranscoder: [botocore] Remove incorrect endpoint tests
  • api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version
  • api-change:finspace: [botocore] Remove incorrect endpoint tests
  • api-change:geo-routes: [botocore] Added RouteFerryNotice PotentialViolatedVehicleRestrictionUsage value for CalculateRoutes. This value indicates when the Route is potentially forbidden for the given vehicle profile.
  • api-change:glacier: [botocore] Remove incorrect endpoint tests
  • api-change:globalaccelerator: [botocore] Remove incorrect endpoint tests
  • api-change:greengrass: [botocore] Remove incorrect endpoint tests
  • api-change:identitystore: [botocore] Remove incorrect endpoint tests
  • api-change:imagebuilder: [botocore] Remove incorrect endpoint tests
  • api-change:iotsecuretunneling: [botocore] Remove incorrect endpoint tests
  • api-change:kafka: [botocore] Remove incorrect endpoint tests
  • api-change:lookoutvision: [botocore] Remove incorrect endpoint tests
  • api-change:mgh: [botocore] Remove incorrect endpoint tests
  • api-change:migration-hub-refactor-spaces: [botocore] Remove incorrect endpoint tests
  • api-change:mq: [botocore] Remove incorrect endpoint tests
  • api-change:personalize-events: [botocore] Remove incorrect endpoint tests
  • api-change:pinpoint: [botocore] Remove incorrect endpoint tests
  • api-change:ram: [botocore] Remove incorrect endpoint tests
  • api-change:rbin: [botocore] Remove incorrect endpoint tests
  • api-change:route53-recovery-cluster: [botocore] Remove incorrect endpoint tests
  • api-change:sagemaker-geospatial: [botocore] Remove incorrect endpoint tests
  • api-change:servicecatalog-appregistry: [botocore] Remove incorrect endpoint tests
  • api-change:signer: [botocore] Remove incorrect endpoint tests
  • api-change:waf-regional: [botocore] Remove incorrect endpoint tests
nedbat/coveragepy (coverage)

v7.10.6

Compare Source

  • Fix: source directories were not properly communicated to subprocesses
    that ran in different directories, as reported in issue 1499_. This is now
    fixed.

  • Performance: Alex Gaynor continues fine-tuning <pull 2038_>_ the speed of
    combination, especially with many contexts.

.. _issue 1499: #​1499
.. _pull 2038: #​2038

.. _changes_7-10-5:

pyca/cryptography (cryptography)

v45.0.7

Compare Source

astral-sh/ruff (ruff)

v0.12.11

Compare Source

Preview features
  • [airflow] Extend AIR311 and AIR312 rules (#​20082)
  • [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) (#​20081)
  • [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) (#​20091)
  • [flake8-logging-format] Add auto-fix for f-string logging calls (G004) (#​19303)
  • [flake8-use-pathlib] Add autofix for PTH211 (#​20009)
  • [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior (#​20100)
Bug fixes
  • [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) (#​20048)
  • [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) (#​20115)
  • [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) (#​20032)
  • [ruff] Preserve relative whitespace in multi-line expressions (RUF033) (#​19647)
Rule changes
  • [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) (#​20045)
Documentation
  • Fix incorrect D413 links in docstrings convention FAQ (#​20089)
  • [flake8-use-pathlib] Update links to the table showing the correspondence between os and pathlib (#​20103)

Configuration

📅 Schedule: Branch creation - Between 01:00 AM and 05:59 AM, only on Tuesday ( * 1-5 * * 2 ) in timezone Etc/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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate bot added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Sep 2, 2025
@renovate renovate bot requested review from a team, dragomirp, marceloneppel and taurus-forever and removed request for a team September 2, 2025 02:08
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (5f56ec9) to head (bf94150).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1131   +/-   ##
=======================================
  Coverage   75.74%   75.74%           
=======================================
  Files          16       16           
  Lines        4156     4156           
  Branches      628      628           
=======================================
  Hits         3148     3148           
  Misses        786      786           
  Partials      222      222           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dragomirp dragomirp merged commit cc1a623 into main Sep 3, 2025
809 of 839 checks passed
@dragomirp dragomirp deleted the renovate/main-python-dependencies branch September 3, 2025 01:14
dragomirp added a commit that referenced this pull request Oct 16, 2025
* [MISC] Use latest/stable lxd (#804)

* Use latest stable lxd

* Test tweaks

* Test tweaks

* Update canonical/data-platform-workflows action to v31.0.1 (#805)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [DPE-6874] Poll all members in the cluster topology script (#810)

* Poll all members in the cluster topology script

* Dual branch config

* Unit tests and bugfixes

* Add peers when starting the observer

* Retry sync up checks

* [DPE-6572] Add wal_keep_size config option (#799)

* Add wal_keep_size config option

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Remove parameter addition

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Reset durability_wal_keep_size value to PG default

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Create pull_request_template.md (#814)

* Create SECURITY.md (#822)

* Update README file's security section (#827)

* Refactor headings for syntax best practice

* Update the Security section

* Sync docs from Discourse (#796)

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

* [MISC] Conditional checksum calculation (#812)

* Bump boto

* Conditional checksum calculation

* [DPE-6218] Static code analysis (#828)

* Create tiobe_scan.yaml

* Remove push trigger

* [MISC] Disable landscape subordinate test lxd (#831)

* Set series for ubuntu-advantage test and disable the landscape test

* Revert to LTS LXD

* Update charmcraft.yaml build tools (#815)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [MISC] Update snapped PostgreSQL (#832)

* [DPE-6345] LDAP I: Create access groups (#823)

* [DPE-6345] LDAP II: Include charm libs (#824)

* [DPE-6345] LDAP III: Define config and handlers (#825)

* [DPE-6345] LDAP IV: Define snap service (#838)

* [DPE-6345] LDAP V: Define mapping option (#849)

* [MISC] Disable network cut tests on arm (#844)

* Disable network cut tests on arm

* Back to LXD 5

* [DPE-6815] disable pgaudit during extensions changes (#842)

* disable pgaudit during extensions changes

* Bump libs

* Lock file maintenance Python dependencies (main) (#816)

* Lock file maintenance Python dependencies

* Fix linting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com>

* Update dependency uv to v0.6.16 (#847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [DPE-6664] Make username mandatory in set-password (#846)

* Make username mandatory

* Second get password method

* Default in get-password

* Add conditional expose directive (#853)

* Lock file maintenance Python dependencies (#854)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Mandatory scope for promote action (#856)

* Update charmcraft.yaml build tools (#860)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance Python dependencies (#861)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Sync docs from Discourse (#850)

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

* [MISC] Extend relation-user listing syntax (#868)

* Sync libs (#884)

* Remove runner password (#913)

* [DPE-6898] User->databases pg_hba rules (#885)

* Restrict each user to their allowed databases

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix unit tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix sync users on replicas

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix unit test

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Add default landscape user permission

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Increase sleep time in pg_hba test, fix user->database mapping for upgrade from stable and skip event trigger function code when not a superuser

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Improve users list check

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix raft reinitialisation in tests

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Decrease the amount of API calls by one

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Check users list directly

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Tweak test fast interval

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Improvements to avoid replica restart while syncing from primary

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix linting

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Update charmcraft.yaml build tools (#871)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [MISC] Remove JujuVersion warning in 14/edge (#933)

* Remove JujuVersion warning

* Update libs

* Refactor v14 documentation for Sphinx (#919)

* initial starter pack transfer
* update conf.py
* import processed discourse pages
* fix internal references and some broken URLs
* fix some style errors
* organize navigation
* remove h1 heading anchors
* add images to repository
* edit home page
* update .readthedocs.yaml
* remove docs/requirements.txt from .gitignore scope
* fix incorrect paths
* remove shell syntax from code blocks
* remove juju 2 banners
* fix dropdown formatting
* fix and polish admonitions, collapsible, and misc formatting
* remove v16 docs
* remove reference to nonexistant page
* Join all tutorial pages
* rename how-to-guides to how-to
* polish cloud deployment guides and rename leftover how-to-guide references
* polish and sync how-to guides with k8s
* remove discourse sync workflow
* specify channel on all deploy commands
* misc polishing, add version to side nav
* add pg 16 admonitions
* ignore docs folder in charm workflows
* sync misc. pages with k8s
* Minor README update with new documentation link
* add new section to CLI-helpers reference
* pin commit for v16 tag on markdown lint workflow for added security
* Update README.md
* remove sphinx python dependency check workflow
* Update index.md: add link to roles.md (#928)

---------

Co-authored-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: Alex Lutay <1928266+taurus-forever@users.noreply.github.com>

* [DPE-7511] Fix the auth username pattern (#941)

* Fix auth username pattern

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix another ocurrence of the pattern

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Update PG to 14.18 (#943)

* [DPE-7521] Fix HBA rules for Landscape related through PgBouncer (#946)

* Fix HBA rules for Landscape related through PgBouncer

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Update comment

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Order users and databases

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Add unit test for relations_user_databases_map property

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Fix typo

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* DPE-6662 Fix pgbackrest logs names on logs rotation (#939) (#949)

The pgBackRest activity (backup creation, stanza initialisation, etc) could take minutes,
as a result every minute logs rotation could move the current log A.log to A.log_$date.log
and will be moved further as logrorate rule operates all *.log files in the folder:

> /var/snap/charmed-postgresql/common/var/log/pgbackrest/*.log { ...

It results in:

-rw------- 1 postgres postgres     0 Feb 18 09:25 all-server.log
-rw------- 1 postgres postgres     0 Feb 18 09:19 all-server.log-20250218_09:18.log
-rw------- 1 postgres postgres     0 Feb 18 09:20 all-server.log-20250218_09:18.log-20250218_09:19.log
-rw------- 1 postgres postgres     0 Feb 18 09:21 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log
-rw------- 1 postgres postgres     0 Feb 18 09:22 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log
-rw------- 1 postgres postgres     0 Feb 18 09:23 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log-20250218_09:22.log
-rw------- 1 postgres postgres  1793 Feb 18 09:24 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log-20250218_09:22.log-20250218_09:23.log

The poposed fix:
 * move the log file to the new name without .log suffix.
 * use datetime format matching MySQL charms

Example:

-rw------- 1 postgres postgres    12 Feb 18 09:28 all-server.log
-rw------- 1 postgres postgres   322 Feb 18 09:29 all-server.log-20250218_0918
-rw------- 1 postgres postgres  7344 Feb 18 09:30 all-server.log-20250218_0918

(cherry picked from commit ffa77b2)

* Update Python dependencies (#904)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update canonical/data-platform-workflows action to v31.1.1 (#872)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add redirects for all charmhub pages (14) (#961)

* feat: add rediraffe sphinx extension and discourse redirects for each page

* convert tabs to single space

* fix: minor style issues in README.md and CONTRIBUTING.md

* comment out old redirect extension to avoid confusion

* Update dependency requests to v2.32.4 [SECURITY] (#956)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Backport #959 to 14/edge (#963)

* Lock file maintenance Python dependencies (#874)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: add forward slash to redirect paths (#964)

* fix typo (#965)

* Update dependency uv to v0.7.13 (#951)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Rename team (#972)

* [MISC] Check is_user_in_hba output (#973)

* Check is_user_in_hba output

* Drop extra parameter

* Update canonical/data-platform-workflows action to v32 (main) (#873)

* Update canonical/data-platform-workflows action to v32

* Update libs and release flow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com>

* Lock file maintenance Python dependencies (#976)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency uv to v0.7.14 (#995)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance Python dependencies (#996)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [MISC] Don't restart during initial sync (#1000)

* Don't restart during initial sync

* Catch relations map exceptions

* Lock file maintenance Python dependencies (#1011)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [DPE-7549] Add compression and restore max-process (#1009)

* Add compression and restore max-process

* Update libs

* typo: "chances" to "changes" (#1018)

* remove markdown linter action (#1028)

* Fix automatic doc checks (#1006)

* Fix spellcheck

* Fix some broken URLs

* fix remaining broken urls

* add missing backticks to toctrees

* small spellcheck fix

* DPE-7723: Update releases.md: fix arch for revs 429/430 (#1046)

## Issue

https://canonical-charmed-postgresql.readthedocs-hosted.com/14/reference/releases/ says
rev 430 is amd64
rev 429 is arm64

This is wrong:
```
juju download postgresql --revision 429
unp ./postgresql_r429.charm -d ./r429
grep amd ./r429/manifest.yaml 
  - amd64
```
 
## Solution

Update docs with proper pinning.
Fixes: #1045

* [DPE-6259] pgbackrest config perms (#1038)

* Remove read access to pgbackrest conf file

* Update libs

* Set extra user roles config for the test app

* Fix data-int base

* Set channel and series in ne rel tests

* Fix MicroStack links (#1063)

* [DPE-7594] Sync up pg_hba changes and remove trigger (#1070)

* Port user hash

* Blocking test app

* Update canonical/data-platform-workflows action to v32.2.1 (#1065)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance Python dependencies (#1020)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Migrate config .github/renovate.json5 (#1074)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update charmcraft.yaml build tools (#1010)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [DPE-7871] Reorder map logic (#1075)

* Reorder map logic

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Remove unneeded check

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* [DPE-7594] Add custom users to pg_hba filter (#1073)

* Add custom users to pg_hba filter

* Fix unit test

* Tests for async replication.py (#1033)

* def test_can_promote_cluster():

* test_handle_database_start

* _on_async_relation_changed

* test_on_secret_changed first if

* change a lit bit

* add tests for stop database function

* still need some upgrades

* add this

* add learning

* test__configure_primary_cluster

* clean up

* we don't need import application

* start test__on_async_relation_departed

* format

* done test__on_async_relation_departed

* test_on_async_relation_joined

* test_on_create_replication

* test_promote_to_primary

* add test

* test_wait_for_standby_leader

* formatize

* formatize 2.0

* test_get_partner_addresses

* test_handle_replication_change

* test_handle_forceful_promotion

* add tests

* test_on_async_relation_broken

* formatize

* finishing

* need some help

* date

* add aplications

* format

* promote_standby_cluster is none

* add unit name

---------

Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com>

* Lock file maintenance Python dependencies (#1077)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add SNAP revisions to Releases page (#1086)

* Add SNAP revisions to Releases page

For end-users, it is hard to find the proper/expected SNAP revison for
the specific Charm revision in Git. This should simplify it.

* fix broken URLs

---------

Co-authored-by: andreia <andreia.velasco@canonical.com>

* Update canonical/data-platform-workflows action to v32.2.2 (#1088)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update GitHub actions to v5 (#1090)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance Python dependencies (#1091)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update charmcraft.yaml build tools (#1089)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency uv to v0.8.12 (#1103)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* DPE-7968 Bump snap revision (remove python3-boto3 for CVE-2023-37920) (#1109)

* Lock file maintenance Python dependencies (#1104)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update canonical/data-platform-workflows action to v32.2.3 (#1102)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Charmhub home page (14) (#1110)

* Update metadata.yaml

* Update VM terminology

* Lock file maintenance Python dependencies (#1121)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency uv to v0.8.13 (#1119)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update charm libs (#1127)

* Update canonical/data-platform-workflows action to v35 (#1120)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Enable ceph test on arm (#1129)

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Update dependency uv to v0.8.14 (#1130)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Don't block if the snap cannot be installed (#1136)

* Lock file maintenance Python dependencies (#1131)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add back raft encryption check (#1146)

* DPE-8299 Bump disk cleanup timeout 1=>10 (#1148)

* [DPE-8005] Handle empty region (#1157)

* Handle empty region

* Handle invalid stanza name

* DPE-8296 Bump PostgreSQL to 14.19 (#1147)

* Lock file maintenance Python dependencies (#1143)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* DPE-8296 Downgrade promote.yaml to _promote_charm.yaml@v31.1.1 (#1161)

D-p-w v32+ requires refresh v3 versioning, otherwise:
https://github.com/canonical/postgresql-operator/actions/runs/17777132580

> Invalid workflow file: .github/workflows/promote.yaml#L28
> error parsing called workflow ".github/workflows/promote.yaml" ->
> "canonical/data-platform-workflows/.github/workflows/_promote_charm.yaml@v35.0.2":
> failed to fetch workflow: workflow was not found.

* Remove reinits (#1168)

* [MISC] Config hash (#1166)

* Use Patroni API for is_restart_pending

* Cached props

* Magic sleep and legacy rel names

* Hash config value and restart only on change

* Tweaks

* Legacy interface fix

* Fix legacy test

* Increase idle period

* Wrong username

* Remove copypasta

* Update versions and release documentation (14) (#1158)

* Refactor charm version explanation pages

* refactor releases reference pages

* Move all legacy information to legacy charm page

* Add feature lists back to modern charm versions page

* fix broken references

* [MISC] Fix smoke test (#1184)

* Volume tests

* Manually deploying

* [DPE-8337] Disable Patroni config to prevent possible data loss (#1173)

* DPE-8337 Disable Patroni config to prevent possible dataloose

Disable Patroni config options explecitely:
remove_data_directory_on_rewind_failure and
remove_data_directory_on_diverged_timelines.

P.S. they are disabled by default in Patroni.

* DPE-8337 Fix integration tests

* Force set the rewind config

---------

Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com>

* Lock file maintenance Python dependencies (#1176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [DPE-8430][DPE-8427] Mute error message to debug and creation of access roles (#1186)

* Mute error message to debug

* Create access roles

* Move setup of access roles to upgrade granted

* Try to use mnt for storage

* Skip disk cleanup

* Update charmcraft.yaml build tools (#1142)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* DPE-8470 Bump snap for Patroni to 3.3.8 (#1197)

* [MISC] Set strict sync mode (#1196)

* Set strict sync mode

* Try bootstrapping with false strict mode

* Move increase writes check

* Try to cleanup only if the test didn't fail

* Add checks for strict mode

* Revert "Add checks for strict mode"

This reverts commit 85b7f61.

* Try using env to detect test failure

* Remove redundant arg

* Try stopping instead of cleaning

* Only set strict mode if there are multiple active units

* Check sync units as well

* Update dependency ops to v3 (#1019)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Lock file maintenance Python dependencies (#1203)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* DPE-8395 Remove old revision of Juju Secret (#1195)

* Remove old revision of secret

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Remove secrets' old revision on upgrade

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Remove all previous secret revisions

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Handle juju/juju#20782

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Revert "Handle juju/juju#20782"

This reverts commit 0e29e0e.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Reapply "Handle juju/juju#20782"

This reverts commit 0e23c96.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Handle juju/juju#20794

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Consider all secrets created by the charm

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Check for secrets support

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* Remove upgrade logic

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>

* DPE-8470 Temporary revert to Ops 2 (#1208)

Issue: 

Some tests start failing ops v3 (especially self-healing). It requires investigation,
but 14/stable is long waited for PS6 fixes.

Solution:

Temporary reverting ops to previous version 2 to release the next 14/stable

* Revert self healing 3

---------

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: Andreia <andreia.velasco@canonical.com>
Co-authored-by: Vladimir Izmalkov <48120135+izmalk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sinclert Pérez <sinclert.perez@canonical.com>
Co-authored-by: swetha1654 <swetha.swaminathan@canonical.com>
Co-authored-by: Alex Lutay <1928266+taurus-forever@users.noreply.github.com>
Co-authored-by: Mykola Marzhan <303592+delgod@users.noreply.github.com>
Co-authored-by: Tushar <30565750+tushar5526@users.noreply.github.com>
Co-authored-by: Gere_X <52193900+Gere321123@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Libraries: Out of sync not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants