diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 64aa6c35bd..39823477d7 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -4,6 +4,13 @@ "reviewers": ["dragomirp", "marceloneppel", "taurus-forever"], "packageRules": [ // Later rules override earlier rules + { + "matchPackageNames": ["pydantic"], + "allowedVersions": "<2.0.0" + }, { + "matchPackageNames": ["python"], + "allowedVersions": "<3.11.0" + } ], "regexManagers": [ { diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6b48f22b97..4d1f3bb997 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,8 +9,7 @@ on: paths-ignore: - 'tests/**' - 'docs/**' - - renovate.json - - poetry.lock + - .github/renovate.json5 - pyproject.toml - '.github/workflows/ci.yaml' - '.github/workflows/lib-check.yaml' diff --git a/src/backups.py b/src/backups.py index 6c6c940e2d..f440265998 100644 --- a/src/backups.py +++ b/src/backups.py @@ -89,7 +89,7 @@ def _are_backup_settings_ok(self) -> Tuple[bool, Optional[str]]: "Relation with s3-integrator charm missing, cannot create/restore backup.", ) - s3_parameters, missing_parameters = self._retrieve_s3_parameters() + _, missing_parameters = self._retrieve_s3_parameters() if missing_parameters: return False, f"Missing S3 parameters: {missing_parameters}" diff --git a/src/relations/db.py b/src/relations/db.py index cd59d06aaa..e5b231b04b 100644 --- a/src/relations/db.py +++ b/src/relations/db.py @@ -131,7 +131,7 @@ def set_up_relation(self, relation: Relation) -> bool: """Set up the relation to be used by the application charm.""" # Do not allow apps requesting extensions to be installed # (let them now about config options). - required_extensions, disabled_extensions = self._get_extensions(relation) + _, disabled_extensions = self._get_extensions(relation) if disabled_extensions: logger.error( f"ERROR - `extensions` ({', '.join(disabled_extensions)}) cannot be requested through relations"