Skip to content

Commit 31f85f2

Browse files
Lock file maintenance Python dependencies (#284)
This PR contains the following updates: | Package | Type | Update | Change | Age | Confidence | |---|---|---|---|---|---| | | | lockFileMaintenance | All locks refreshed | | | | [allure-pytest](https://allurereport.org/) ([source](https://redirect.github.com/allure-framework/allure-python)) | integration | minor | `^2.13.5` -> `^2.14.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/allure-pytest/2.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/allure-pytest/2.13.5/2.14.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [allure-pytest-default-results](https://redirect.github.com/canonical/allure-pytest-default-results) | integration | patch | `^0.1.2` -> `^0.1.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/allure-pytest-default-results/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/allure-pytest-default-results/0.1.2/0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [codespell](https://redirect.github.com/codespell-project/codespell) | lint | minor | `^2.3.0` -> `^2.4.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/codespell/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/codespell/2.3.0/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [jinja2](https://redirect.github.com/pallets/jinja) ([changelog](https://jinja.palletsprojects.com/changes/)) | dependencies | patch | `^3.1.4` -> `^3.1.6` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/jinja2/3.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/jinja2/3.1.6/3.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lightkube](https://redirect.github.com/gtsystem/lightkube) | dependencies | minor | `^0.15.3` -> `^0.17.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/lightkube/0.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lightkube/0.15.8/0.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://redirect.github.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | integration | minor | `^8.2.2` -> `^8.4.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/8.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/8.2.2/8.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://redirect.github.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | unit | minor | `^8.2.2` -> `^8.4.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/8.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/8.2.2/8.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest-operator](https://redirect.github.com/charmed-kubernetes/pytest-operator) | integration | minor | `^0.35.0` -> `^0.43.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-operator/0.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-operator/0.35.0/0.43.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest-xdist](https://redirect.github.com/pytest-dev/pytest-xdist) ([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html)) | unit | minor | `^3.6.1` -> `^3.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-xdist/3.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-xdist/3.6.1/3.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pyyaml](https://pyyaml.org/) ([source](https://redirect.github.com/yaml/pyyaml)) | integration | patch | `^6.0.1` -> `^6.0.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pyyaml/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pyyaml/6.0.1/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [requests](https://requests.readthedocs.io) ([source](https://redirect.github.com/psf/requests), [changelog](https://redirect.github.com/psf/requests/blob/master/HISTORY.md)) | dependencies | patch | `^2.32.3` -> `^2.32.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/requests/2.32.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/requests/2.32.4/2.32.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | lint | minor | `^0.4.5` -> `^0.12.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.4.10/0.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | format | minor | `^0.4.5` -> `^0.12.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.4.10/0.12.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Release Notes <details> <summary>allure-framework/allure-python (allure-pytest)</summary> ### [`v2.14.3`](https://redirect.github.com/allure-framework/allure-python/releases/tag/2.14.3) [Compare Source](https://redirect.github.com/allure-framework/allure-python/compare/2.14.2...2.14.3) #### 🔬 Improvements - Don't convert built-in (reserved) pytest markers to allure tags (fix [#&#8203;817](https://redirect.github.com/allure-framework/allure-python/issues/817)) (via [#&#8203;862](https://redirect.github.com/allure-framework/allure-python/issues/862)) - [@&#8203;sharovd](https://redirect.github.com/sharovd) #### 🐞 Bug Fixes - fix(pytest): can't change a fixture's title in pytest 8.4 or later (via [#&#8203;866](https://redirect.github.com/allure-framework/allure-python/issues/866)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) #### 👀 Links [Commits since 2.14.2](https://redirect.github.com/allure-framework/allure-python/compare/2.14.2...master) ### [`v2.14.2`](https://redirect.github.com/allure-framework/allure-python/releases/tag/2.14.2) [Compare Source](https://redirect.github.com/allure-framework/allure-python/compare/2.14.1...2.14.2) This release fixes a couple of issues with Allure Behave. #### 🐞 Bug Fixes - extra test results generated after consecutive in-process runs of Behave ([#&#8203;858](https://redirect.github.com/allure-framework/allure-python/issues/858), via [#&#8203;860](https://redirect.github.com/allure-framework/allure-python/issues/860)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - AttributeError is raised if Allure Behave is set up via AllureHooks ([#&#8203;629](https://redirect.github.com/allure-framework/allure-python/issues/629), via [#&#8203;860](https://redirect.github.com/allure-framework/allure-python/issues/860)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) #### 👀 Links [Commits since 2.14.1](https://redirect.github.com/allure-framework/allure-python/compare/2.14.1...master) ### [`v2.14.1`](https://redirect.github.com/allure-framework/allure-python/releases/tag/2.14.1) [Compare Source](https://redirect.github.com/allure-framework/allure-python/compare/2.14.0...2.14.1) - Set the correct detail message for passed steps (fix [#&#8203;835](https://redirect.github.com/allure-framework/allure-python/issues/835)) (via [#&#8203;853](https://redirect.github.com/allure-framework/allure-python/issues/853)) - [@&#8203;sharovd](https://redirect.github.com/sharovd) #### 👀 Links [Commits since 2.14.0](https://redirect.github.com/allure-framework/allure-python/compare/2.14.0...master) ### [`v2.14.0`](https://redirect.github.com/allure-framework/allure-python/releases/tag/2.14.0) [Compare Source](https://redirect.github.com/allure-framework/allure-python/compare/2.13.5...2.14.0) #### 🚀 New Features - **allure-pytest-bdd:** the Allure API is now fully supported (implements [#&#8203;726](https://redirect.github.com/allure-framework/allure-python/issues/726) via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** expected failures (xfail) are supported (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** steps can be renamed at runtime with `@allure.title` (implements [#&#8203;737](https://redirect.github.com/allure-framework/allure-python/issues/737) via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** gherkin tags are converted to test result tags (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** fill test result descriptions from feature and scenario descriptions (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** convert data tables and doc strings to attachments (implements [#&#8203;844](https://redirect.github.com/allure-framework/allure-python/issues/844) via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** lint templates are supported via the `--allure-link-pattern` CLI argument. The syntax is similar to [`allure-pytest`](https://allurereport.org/docs/pytest-configuration/#allure-link-pattern-%E2%9F%A8type%E2%9F%A9-%E2%9F%A8pattern%E2%9F%A9) (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **commons:** enable type checking for `allure` and `allure_commons` packages (implements [#&#8203;731](https://redirect.github.com/allure-framework/allure-python/issues/731) via [#&#8203;850](https://redirect.github.com/allure-framework/allure-python/issues/850)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **commons:** add type annotations for `allure.step` (implements [#&#8203;759](https://redirect.github.com/allure-framework/allure-python/issues/759) and [#&#8203;828](https://redirect.github.com/allure-framework/allure-python/issues/828) # via [#&#8203;830](https://redirect.github.com/allure-framework/allure-python/issues/830)) - [@&#8203;starod00m](https://redirect.github.com/starod00m) #### 🔬 Improvements - **allure-pytest-bdd:** unexpected errors make tests and steps broken instead of failed (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** pytest parameters of a test are now not duplicated in the test's name (via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) #### 🐞 Bug Fixes - **commons:** invalid SVG media type in `allure.attachment_type.SVG` ([#&#8203;840](https://redirect.github.com/allure-framework/allure-python/issues/840); fixed via [#&#8203;841](https://redirect.github.com/allure-framework/allure-python/issues/841)) - [@&#8203;harmin-parra](https://redirect.github.com/harmin-parra) - **allure-pytest-bdd:** invalid test results are generated for scenarios with pytest parameters ([#&#8203;655](https://redirect.github.com/allure-framework/allure-python/issues/655); fixed via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **allure-pytest-bdd:** a skipped teardown overwrite the test's status (fixed via [#&#8203;845](https://redirect.github.com/allure-framework/allure-python/issues/845)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **commons:** cleaning the Allure Resuts directory causes FileNotFoundError when running in a parallel environment ([#&#8203;807](https://redirect.github.com/allure-framework/allure-python/issues/807); fixed via [#&#8203;809](https://redirect.github.com/allure-framework/allure-python/issues/809)) - [@&#8203;hokor](https://redirect.github.com/hokor) #### ⬆️ Dependency Updates - **allure-pytest-bdd:** drop the official support for pytest-bdd 3 and 4 (via [#&#8203;849](https://redirect.github.com/allure-framework/allure-python/issues/849)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **commons:** drop the official support for Python 3.7 - [@&#8203;delatrie](https://redirect.github.com/delatrie) #### 📖 Documentation improvements - **allure-pytest:** add a dynamic severity example (via [#&#8203;758](https://redirect.github.com/allure-framework/allure-python/issues/758)) - [@&#8203;suhaibasaeed](https://redirect.github.com/suhaibasaeed) #### 👻 Internal changes - **build:** fix a caching issue with the build workflow (via [#&#8203;810](https://redirect.github.com/allure-framework/allure-python/issues/810)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) - **build:** update python versions to test against (via [#&#8203;842](https://redirect.github.com/allure-framework/allure-python/issues/842)) - [@&#8203;delatrie](https://redirect.github.com/delatrie) #### 👀 Links [Commits since 2.13.5](https://redirect.github.com/allure-framework/allure-python/compare/2.13.5...master) </details> <details> <summary>canonical/allure-pytest-default-results (allure-pytest-default-results)</summary> ### [`v0.1.3`](https://redirect.github.com/canonical/allure-pytest-default-results/releases/tag/v0.1.3) [Compare Source](https://redirect.github.com/canonical/allure-pytest-default-results/compare/v0.1.2...v0.1.3) **Full Changelog**: https://github.com/canonical/allure-pytest-default-results/compare/v0.1.2...v0.1.3 </details> <details> <summary>codespell-project/codespell (codespell)</summary> ### [`v2.4.1`](https://redirect.github.com/codespell-project/codespell/releases/tag/v2.4.1) [Compare Source](https://redirect.github.com/codespell-project/codespell/compare/v2.4.0...v2.4.1) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed - Revert `hep->heap, help,` in dictionary\_rare.txt from [#&#8203;3461](https://redirect.github.com/codespell-project/codespell/issues/3461) by [@&#8203;jpivarski](https://redirect.github.com/jpivarski) in [https://github.com/codespell-project/codespell/pull/3624](https://redirect.github.com/codespell-project/codespell/pull/3624) #### New Contributors - [@&#8203;jpivarski](https://redirect.github.com/jpivarski) made their first contribution in [https://github.com/codespell-project/codespell/pull/3624](https://redirect.github.com/codespell-project/codespell/pull/3624) **Full Changelog**: https://github.com/codespell-project/codespell/compare/v2.4.0...v2.4.1 ### [`v2.4.0`](https://redirect.github.com/codespell-project/codespell/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed - Exclude bots from generated release notes by [@&#8203;hugovk](https://redirect.github.com/hugovk) in [https://github.com/codespell-project/codespell/pull/3432](https://redirect.github.com/codespell-project/codespell/pull/3432) - Refactor: Move some code to new files for reuse by [@&#8203;nthykier](https://redirect.github.com/nthykier) in [https://github.com/codespell-project/codespell/pull/3434](https://redirect.github.com/codespell-project/codespell/pull/3434) - Add `equipmnet->equipment` by [@&#8203;korverdev](https://redirect.github.com/korverdev) in [https://github.com/codespell-project/codespell/pull/3438](https://redirect.github.com/codespell-project/codespell/pull/3438) - Set better project description by [@&#8203;mtelka](https://redirect.github.com/mtelka) in [https://github.com/codespell-project/codespell/pull/3435](https://redirect.github.com/codespell-project/codespell/pull/3435) - Additional en-GB → en-US entries by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3058](https://redirect.github.com/codespell-project/codespell/pull/3058) - Consistent error messages by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3440](https://redirect.github.com/codespell-project/codespell/pull/3440) - Add 'driven' as 'drivin' variant by [@&#8203;korverdev](https://redirect.github.com/korverdev) in [https://github.com/codespell-project/codespell/pull/3441](https://redirect.github.com/codespell-project/codespell/pull/3441) - More typos by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3439](https://redirect.github.com/codespell-project/codespell/pull/3439) - Add reusing misspelling and variants by [@&#8203;korverdev](https://redirect.github.com/korverdev) in [https://github.com/codespell-project/codespell/pull/3445](https://redirect.github.com/codespell-project/codespell/pull/3445) - Add typos found in Emacs and elsewhere by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3447](https://redirect.github.com/codespell-project/codespell/pull/3447) - MAINT: Fix codecov by [@&#8203;larsoner](https://redirect.github.com/larsoner) in [https://github.com/codespell-project/codespell/pull/3451](https://redirect.github.com/codespell-project/codespell/pull/3451) - Add typos found in GNU Guile by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3448](https://redirect.github.com/codespell-project/codespell/pull/3448) - Add corrections from Aspell (fix [#&#8203;3356](https://redirect.github.com/codespell-project/codespell/issues/3356)) by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3453](https://redirect.github.com/codespell-project/codespell/pull/3453) - Add entries to dictionary\_informal.txt by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3456](https://redirect.github.com/codespell-project/codespell/pull/3456) - Add rare typo `lien->line` by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3460](https://redirect.github.com/codespell-project/codespell/pull/3460) - Add rare typo `firs->first` by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3459](https://redirect.github.com/codespell-project/codespell/pull/3459) - Add rare typo `hep->heap, help,` by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3461](https://redirect.github.com/codespell-project/codespell/pull/3461) - Add rare typo `brunch->branch` by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3458](https://redirect.github.com/codespell-project/codespell/pull/3458) - Add corrections from `typos` dictionary (A1) by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3450](https://redirect.github.com/codespell-project/codespell/pull/3450) - Add timestmp->timestamp and its variations by [@&#8203;fkmy](https://redirect.github.com/fkmy) in [https://github.com/codespell-project/codespell/pull/3464](https://redirect.github.com/codespell-project/codespell/pull/3464) - Add .venv to .gitignore by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3466](https://redirect.github.com/codespell-project/codespell/pull/3466) - Only accept documented choices after `-i` and `-q` by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3344](https://redirect.github.com/codespell-project/codespell/pull/3344) - Move assertIn to the code dictionary as it's a Python test function by [@&#8203;peternewman](https://redirect.github.com/peternewman) in [https://github.com/codespell-project/codespell/pull/3469](https://redirect.github.com/codespell-project/codespell/pull/3469) - Add some more typos by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3468](https://redirect.github.com/codespell-project/codespell/pull/3468) - Add some typos from Emacs by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3471](https://redirect.github.com/codespell-project/codespell/pull/3471) - Add corrections from `typos` dictionary (A2) by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3454](https://redirect.github.com/codespell-project/codespell/pull/3454) - Add variations for words starting with `non-` by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3467](https://redirect.github.com/codespell-project/codespell/pull/3467) - Update "Using a config file" README entry by [@&#8203;oddhack](https://redirect.github.com/oddhack) in [https://github.com/codespell-project/codespell/pull/3478](https://redirect.github.com/codespell-project/codespell/pull/3478) - Add two choices for verision typo fix by [@&#8203;yarikoptic](https://redirect.github.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/3252](https://redirect.github.com/codespell-project/codespell/pull/3252) - fix typo by [@&#8203;spaette](https://redirect.github.com/spaette) in [https://github.com/codespell-project/codespell/pull/3479](https://redirect.github.com/codespell-project/codespell/pull/3479) - \[pre-commit.ci] pre-commit manual update (ruff 0.5.0) by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3481](https://redirect.github.com/codespell-project/codespell/pull/3481) - Add trusthworth(y|iness)->trustworth(y|iness) correction. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3482](https://redirect.github.com/codespell-project/codespell/pull/3482) - Add thrustworth(y|iness)->trustworth(y|iness). by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3483](https://redirect.github.com/codespell-project/codespell/pull/3483) - New typos by [@&#8203;gforcada](https://redirect.github.com/gforcada) in [https://github.com/codespell-project/codespell/pull/3484](https://redirect.github.com/codespell-project/codespell/pull/3484) - add enrol->enroll to en-GB to en-US dictionary by [@&#8203;slitvackwinkler](https://redirect.github.com/slitvackwinkler) in [https://github.com/codespell-project/codespell/pull/3485](https://redirect.github.com/codespell-project/codespell/pull/3485) - Add --ignore-multiline-regex option. by [@&#8203;julian-smith-artifex-com](https://redirect.github.com/julian-smith-artifex-com) in [https://github.com/codespell-project/codespell/pull/3476](https://redirect.github.com/codespell-project/codespell/pull/3476) - Add spelling correction for separately. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3487](https://redirect.github.com/codespell-project/codespell/pull/3487) - Start testing with Python 3.13 by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3488](https://redirect.github.com/codespell-project/codespell/pull/3488) - Missing typo in dictionary by [@&#8203;matlupi](https://redirect.github.com/matlupi) in [https://github.com/codespell-project/codespell/pull/3497](https://redirect.github.com/codespell-project/codespell/pull/3497) - Add enterpris->enterprise spelling correction. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3498](https://redirect.github.com/codespell-project/codespell/pull/3498) - Add spelling correction for proir and variant. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3499](https://redirect.github.com/codespell-project/codespell/pull/3499) - fix issue [#&#8203;3220](https://redirect.github.com/codespell-project/codespell/issues/3220): interactive model & write-changes by [@&#8203;MercuryDemo](https://redirect.github.com/MercuryDemo) in [https://github.com/codespell-project/codespell/pull/3340](https://redirect.github.com/codespell-project/codespell/pull/3340) - infastructure typo (15.6k hits on github) by [@&#8203;yarikoptic](https://redirect.github.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/3501](https://redirect.github.com/codespell-project/codespell/pull/3501) - Add several spelling corrections by [@&#8203;luzpaz](https://redirect.github.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3500](https://redirect.github.com/codespell-project/codespell/pull/3500) - Add "releaseds->released, releases," spelling correction by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3503](https://redirect.github.com/codespell-project/codespell/pull/3503) - Several spelling suggestions by [@&#8203;mdeweerd](https://redirect.github.com/mdeweerd) in [https://github.com/codespell-project/codespell/pull/3504](https://redirect.github.com/codespell-project/codespell/pull/3504) - Add favilitate->facilitate and its variations by [@&#8203;luzpaz](https://redirect.github.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3505](https://redirect.github.com/codespell-project/codespell/pull/3505) - Add seemd -> seemed by [@&#8203;fishilico](https://redirect.github.com/fishilico) in [https://github.com/codespell-project/codespell/pull/3508](https://redirect.github.com/codespell-project/codespell/pull/3508) - feat: add typo spelling for capabilities by [@&#8203;IndexSeek](https://redirect.github.com/IndexSeek) in [https://github.com/codespell-project/codespell/pull/3507](https://redirect.github.com/codespell-project/codespell/pull/3507) - entirerly -> entirely by [@&#8203;matlupi](https://redirect.github.com/matlupi) in [https://github.com/codespell-project/codespell/pull/3512](https://redirect.github.com/codespell-project/codespell/pull/3512) - Add stuty -> study and variations by [@&#8203;fishilico](https://redirect.github.com/fishilico) in [https://github.com/codespell-project/codespell/pull/3514](https://redirect.github.com/codespell-project/codespell/pull/3514) - readibly->readably by [@&#8203;claydugo](https://redirect.github.com/claydugo) in [https://github.com/codespell-project/codespell/pull/3518](https://redirect.github.com/codespell-project/codespell/pull/3518) - Add clapse->collapse to dictionary.txt by [@&#8203;Runtemund](https://redirect.github.com/Runtemund) in [https://github.com/codespell-project/codespell/pull/3513](https://redirect.github.com/codespell-project/codespell/pull/3513) - fix(rare): remove loath->loathe, as loath is as common as loathe by [@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer) in [https://github.com/codespell-project/codespell/pull/3523](https://redirect.github.com/codespell-project/codespell/pull/3523) - Add variations of 'symetriy' typo by [@&#8203;luzpaz](https://redirect.github.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3528](https://redirect.github.com/codespell-project/codespell/pull/3528) - Add distriute->distribute (and variations) to dictionary.txt by [@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer) in [https://github.com/codespell-project/codespell/pull/3517](https://redirect.github.com/codespell-project/codespell/pull/3517) - Some extra spelling suggestions for the dictionnary (aumatically, ...) by [@&#8203;mdeweerd](https://redirect.github.com/mdeweerd) in [https://github.com/codespell-project/codespell/pull/3516](https://redirect.github.com/codespell-project/codespell/pull/3516) - More typos by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3465](https://redirect.github.com/codespell-project/codespell/pull/3465) - Add a spelling correction by [@&#8203;fxlb](https://redirect.github.com/fxlb) in [https://github.com/codespell-project/codespell/pull/3533](https://redirect.github.com/codespell-project/codespell/pull/3533) - Move `hom` to code dictionary by [@&#8203;skangas](https://redirect.github.com/skangas) in [https://github.com/codespell-project/codespell/pull/3490](https://redirect.github.com/codespell-project/codespell/pull/3490) - Add `realtd->related`, `prediced->predicted` by [@&#8203;janosh](https://redirect.github.com/janosh) in [https://github.com/codespell-project/codespell/pull/3536](https://redirect.github.com/codespell-project/codespell/pull/3536) - Handle CTRL+C by showing a better message by [@&#8203;mwtoews](https://redirect.github.com/mwtoews) in [https://github.com/codespell-project/codespell/pull/3511](https://redirect.github.com/codespell-project/codespell/pull/3511) - Move crate->create to code dictionary by [@&#8203;luzpaz](https://redirect.github.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3537](https://redirect.github.com/codespell-project/codespell/pull/3537) - More typos by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3535](https://redirect.github.com/codespell-project/codespell/pull/3535) - Add cirumvent -> circumvent suggestion by [@&#8203;algonell](https://redirect.github.com/algonell) in [https://github.com/codespell-project/codespell/pull/3540](https://redirect.github.com/codespell-project/codespell/pull/3540) - More typos found in numpy by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3541](https://redirect.github.com/codespell-project/codespell/pull/3541) - Add spelling correction for appliance and variants. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3544](https://redirect.github.com/codespell-project/codespell/pull/3544) - Workaround for Python issue by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3546](https://redirect.github.com/codespell-project/codespell/pull/3546) - Partially undo [`293bec1`](https://redirect.github.com/codespell-project/codespell/commit/293bec1) / [#&#8203;3465](https://redirect.github.com/codespell-project/codespell/issues/3465) by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3548](https://redirect.github.com/codespell-project/codespell/pull/3548) - master → main by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3555](https://redirect.github.com/codespell-project/codespell/pull/3555) - Add a spelling correction by [@&#8203;fxlb](https://redirect.github.com/fxlb) in [https://github.com/codespell-project/codespell/pull/3552](https://redirect.github.com/codespell-project/codespell/pull/3552) - Add spelling corrections for remote and variants. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3551](https://redirect.github.com/codespell-project/codespell/pull/3551) - Add spelling correction for revert and variants. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3553](https://redirect.github.com/codespell-project/codespell/pull/3553) - workdlow->workflow by [@&#8203;peterjc](https://redirect.github.com/peterjc) in [https://github.com/codespell-project/codespell/pull/3556](https://redirect.github.com/codespell-project/codespell/pull/3556) - More typos found in Scipy by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3547](https://redirect.github.com/codespell-project/codespell/pull/3547) - Update ruff settings by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3558](https://redirect.github.com/codespell-project/codespell/pull/3558) - Improve config file documentation in README by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3495](https://redirect.github.com/codespell-project/codespell/pull/3495) - Support Python 3.13 by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3560](https://redirect.github.com/codespell-project/codespell/pull/3560) - feat: add typo for override and overridden by [@&#8203;IndexSeek](https://redirect.github.com/IndexSeek) in [https://github.com/codespell-project/codespell/pull/3564](https://redirect.github.com/codespell-project/codespell/pull/3564) - feat: add strring entry for string and stirring by [@&#8203;IndexSeek](https://redirect.github.com/IndexSeek) in [https://github.com/codespell-project/codespell/pull/3565](https://redirect.github.com/codespell-project/codespell/pull/3565) - Add spelling correction for credential and variant. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3567](https://redirect.github.com/codespell-project/codespell/pull/3567) - Typo from filesystem\_spec by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3559](https://redirect.github.com/codespell-project/codespell/pull/3559) - Add zarr as a fix for zar. by [@&#8203;yarikoptic](https://redirect.github.com/yarikoptic) in [https://github.com/codespell-project/codespell/pull/3568](https://redirect.github.com/codespell-project/codespell/pull/3568) - Add multiple spellings by [@&#8203;mdeweerd](https://redirect.github.com/mdeweerd) in [https://github.com/codespell-project/codespell/pull/3569](https://redirect.github.com/codespell-project/codespell/pull/3569) - acceleratored->accelerated by [@&#8203;SpookyYomo](https://redirect.github.com/SpookyYomo) in [https://github.com/codespell-project/codespell/pull/3571](https://redirect.github.com/codespell-project/codespell/pull/3571) - Add correction for seens->seems, seen, scenes, by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3572](https://redirect.github.com/codespell-project/codespell/pull/3572) - Add generaml->general spelling correction. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3573](https://redirect.github.com/codespell-project/codespell/pull/3573) - Add forach->foreach, orach, spelling correction by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3576](https://redirect.github.com/codespell-project/codespell/pull/3576) - Add spelling correction for leadin. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3578](https://redirect.github.com/codespell-project/codespell/pull/3578) - Minor typo fix in README by [@&#8203;DanielYang59](https://redirect.github.com/DanielYang59) in [https://github.com/codespell-project/codespell/pull/3580](https://redirect.github.com/codespell-project/codespell/pull/3580) - Add pauload->payload and friend by [@&#8203;peternewman](https://redirect.github.com/peternewman) in [https://github.com/codespell-project/codespell/pull/3581](https://redirect.github.com/codespell-project/codespell/pull/3581) - These typos do not belong to code, do they? by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3470](https://redirect.github.com/codespell-project/codespell/pull/3470) - Add spelling correction for "agos". by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3586](https://redirect.github.com/codespell-project/codespell/pull/3586) - If `writeable` is OK, so is `overwriteable` by [@&#8203;DimitriPapadopoulos](https://redirect.github.com/DimitriPapadopoulos) in [https://github.com/codespell-project/codespell/pull/3593](https://redirect.github.com/codespell-project/codespell/pull/3593) - Add `atfer`->`after` and variations by [@&#8203;fishilico](https://redirect.github.com/fishilico) in [https://github.com/codespell-project/codespell/pull/3598](https://redirect.github.com/codespell-project/codespell/pull/3598) - Add poduce->produce and friends by [@&#8203;peternewman](https://redirect.github.com/peternewman) in [https://github.com/codespell-project/codespell/pull/3599](https://redirect.github.com/codespell-project/codespell/pull/3599) - Add variations for correction: reurn->return by [@&#8203;jdufresne](https://redirect.github.com/jdufresne) in [https://github.com/codespell-project/codespell/pull/3600](https://redirect.github.com/codespell-project/codespell/pull/3600) - Add spelling correction for various variants of everything. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3601](https://redirect.github.com/codespell-project/codespell/pull/3601) - Add "sems->seems, stems, semis, sens, seams," correction by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3603](https://redirect.github.com/codespell-project/codespell/pull/3603) - Add replacements for complasance and complisance by [@&#8203;TheGiraffe3](https://redirect.github.com/TheGiraffe3) in [https://github.com/codespell-project/codespell/pull/3597](https://redirect.github.com/codespell-project/codespell/pull/3597) - Add typos found in software projects by [@&#8203;mwtoews](https://redirect.github.com/mwtoews) in [https://github.com/codespell-project/codespell/pull/3595](https://redirect.github.com/codespell-project/codespell/pull/3595) - Add distinghish->distinguish and variations by [@&#8203;fishilico](https://redirect.github.com/fishilico) in [https://github.com/codespell-project/codespell/pull/3604](https://redirect.github.com/codespell-project/codespell/pull/3604) - docs: typo in an example by [@&#8203;12rambau](https://redirect.github.com/12rambau) in [https://github.com/codespell-project/codespell/pull/3610](https://redirect.github.com/codespell-project/codespell/pull/3610) - Add typos found in various software projects by [@&#8203;luzpaz](https://redirect.github.com/luzpaz) in [https://github.com/codespell-project/codespell/pull/3612](https://redirect.github.com/codespell-project/codespell/pull/3612) - Add spelling correction for denila and variant. by [@&#8203;cfi-gb](https://redirect.github.com/cfi-gb) in [https://github.com/codespell-project/codespell/pull/3616](https://redirect.github.com/codespell-project/codespell/pull/3616) - Remove socioeconomic entries by [@&#8203;isaak654](https://redirect.github.com/isaak654) in [https://github.com/codespell-project/codespell/pull/3353](https://redirect.github.com/codespell-project/codespell/pull/3353) - Run pytest GitHub Action on an ARM processor by [@&#8203;cclauss](https://redirect.github.com/cclauss) in [https://github.com/codespell-project/codespell/pull/3619](https://redirect.github.com/codespell-project/codespell/pull/3619) #### New Contributors - [@&#8203;nthykier](https://redirect.github.com/nthykier) made their first contribution in [https://github.com/codespell-project/codespell/pull/3434](https://redirect.github.com/codespell-project/codespell/pull/3434) - [@&#8203;mtelka](https://redirect.github.com/mtelka) made their first contribution in [https://github.com/codespell-project/codespell/pull/3435](https://redirect.github.com/codespell-project/codespell/pull/3435) - [@&#8203;fkmy](https://redirect.github.com/fkmy) made their first contribution in [https://github.com/codespell-project/codespell/pull/3464](https://redirect.github.com/codespell-project/codespell/pull/3464) - [@&#8203;oddhack](https://redirect.github.com/oddhack) made their first contribution in [https://github.com/codespell-project/codespell/pull/3478](https://redirect.github.com/codespell-project/codespell/pull/3478) - [@&#8203;spaette](https://redirect.github.com/spaette) made their first contribution in [https://github.com/codespell-project/codespell/pull/3479](https://redirect.github.com/codespell-project/codespell/pull/3479) - [@&#8203;slitvackwinkler](https://redirect.github.com/slitvackwinkler) made their first contribution in [https://github.com/codespell-project/codespell/pull/3485](https://redirect.github.com/codespell-project/codespell/pull/3485) - [@&#8203;julian-smith-artifex-com](https://redirect.github.com/julian-smith-artifex-com) made their first contribution in [https://github.com/codespell-project/codespell/pull/3476](https://redirect.github.com/codespell-project/codespell/pull/3476) - [@&#8203;Runtemund](https://redirect.github.com/Runtemund) made their first contribution in [https://github.com/codespell-project/codespell/pull/3513](https://redirect.github.com/codespell-project/codespell/pull/3513) - [@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer) made their first contribution in [https://github.com/codespell-project/codespell/pull/3523](https://redirect.github.com/codespell-project/codespell/pull/3523) - [@&#8203;mwtoews](https://redirect.github.com/mwtoews) made their first contribution in [https://github.com/codespell-project/codespell/pull/3511](https://redirect.github.com/codespell-project/codespell/pull/3511) - [@&#8203;algonell](https://redirect.github.com/algonell) made their first contribution in [https://github.com/codespell-project/codespell/pull/3540](https://redirect.github.com/codespell-project/codespell/pull/3540) - [@&#8203;peterjc](https://redirect.github.com/peterjc) made their first contribution in [https://github.com/codespell-project/codespell/pull/3556](https://redirect.github.com/codespell-project/codespell/pull/3556) - [@&#8203;SpookyYomo](https://redirect.github.com/SpookyYomo) made their first contribution in [https://github.com/codespell-project/codespell/pull/3571](https://redirect.github.com/codespell-project/codespell/pull/3571) - [@&#8203;DanielYang59](https://redirect.github.com/DanielYang59) made their first contribution in [https://github.com/codespell-project/codespell/pull/3580](https://redirect.github.com/codespell-project/codespell/pull/3580) - [@&#8203;TheGiraffe3](https://redirect.github.com/TheGiraffe3) made their first contribution in [https://github.com/codespell-project/codespell/pull/3597](https://redirect.github.com/codespell-project/codespell/pull/3597) **Full Changelog**: https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0 </details> <details> <summary>canonical/cos-lib (cosl)</summary> ### [`v0.1.1`](https://redirect.github.com/canonical/cos-lib/releases/tag/0.1.1) [Compare Source](https://redirect.github.com/canonical/cos-lib/compare/0.1.0...0.1.1) #### What's Changed - Deprecate `coordinated_workers` module by [@&#8203;michaeldmitry](https://redirect.github.com/michaeldmitry) in [https://github.com/canonical/cos-lib/pull/148](https://redirect.github.com/canonical/cos-lib/pull/148) **Full Changelog**: https://github.com/canonical/cos-lib/compare/0.1.0...0.1.1 ### [`v0.1.0`](https://redirect.github.com/canonical/cos-lib/releases/tag/0.1.0) [Compare Source](https://redirect.github.com/canonical/cos-lib/compare/0.0.57...0.1.0) #### What's Changed - Add SECURITY.md file by [@&#8203;simskij](https://redirect.github.com/simskij) in [https://github.com/canonical/cos-lib/pull/137](https://redirect.github.com/canonical/cos-lib/pull/137) - Add Tiobe TiCS to the CI by [@&#8203;michaeldmitry](https://redirect.github.com/michaeldmitry) in [https://github.com/canonical/cos-lib/pull/141](https://redirect.github.com/canonical/cos-lib/pull/141) - Lift coordinators' nginx config generation to cosl by [@&#8203;michaeldmitry](https://redirect.github.com/michaeldmitry) in [https://github.com/canonical/cos-lib/pull/143](https://redirect.github.com/canonical/cos-lib/pull/143) **Full Changelog**: https://github.com/canonical/cos-lib/compare/0.0.57...0.1.0 ### [`v0.0.57`](https://redirect.github.com/canonical/cos-lib/releases/tag/0.0.57) [Compare Source](https://redirect.github.com/canonical/cos-lib/compare/0.0.56...0.0.57) Surface an otherwise hard-to-spot issue, where the ingress is handing the coordinated workers an HTTPS endpoint, but the coordinator and workers themselves don't have a certificates relation. Workers and coordinator now set blocked on TLS misconfiguration. #### What's Changed - Fix `test-distributed-charms` CI workflow by [@&#8203;michaeldmitry](https://redirect.github.com/michaeldmitry) in [https://github.com/canonical/cos-lib/pull/134](https://redirect.github.com/canonical/cos-lib/pull/134) - worker and coordinator block on tls misconfiguration by [@&#8203;PietroPasotti](https://redirect.github.com/PietroPasotti) in [https://github.com/canonical/cos-lib/pull/133](https://redirect.github.com/canonical/cos-lib/pull/133) - vbump by [@&#8203;PietroPasotti](https://redirect.github.com/PietroPasotti) in [https://github.com/canonical/cos-lib/pull/135](https://redirect.github.com/canonical/cos-lib/pull/135) **Full Changelog**: https://github.com/canonical/cos-lib/compare/0.0.56...0.0.57 ### [`v0.0.56`](https://redirect.github.com/canonical/cos-lib/releases/tag/0.0.56) [Compare Source](https://redirect.github.com/canonical/cos-lib/compare/0.0.55...0.0.56) #### What's Changed - Feat/open specific worker ports by [@&#8203;PietroPasotti](https://redirect.github.com/PietroPasotti) in [https://github.com/canonical/cos-lib/pull/131](https://redirect.github.com/canonical/cos-lib/pull/131) **Full Changelog**: https://github.com/canonical/cos-lib/compare/0.0.55...0.0.56 </details> <details> <summary>pyca/cryptography (cryptography)</summary> ### [`v44.0.3`](https://redirect.github.com/pyca/cryptography/compare/44.0.2...44.0.3) [Compare Source](https://redirect.github.com/pyca/cryptography/compare/44.0.2...44.0.3) </details> <details> <summary>python-jsonschema/jsonschema (jsonschema)</summary> ### [`v4.25.0`](https://redirect.github.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4250) [Compare Source](https://redirect.github.com/python-jsonschema/jsonschema/compare/v4.24.1...v4.25.0) \======= - Add support for the `iri` and `iri-reference` formats to the `format-nongpl` extra via the MIT-licensed `rfc3987-syntax`. They were alread supported by the `format` extra. ([#&#8203;1388](https://redirect.github.com/python-jsonschema/jsonschema/issues/1388)). ### [`v4.24.1`](https://redirect.github.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4241) [Compare Source](https://redirect.github.com/python-jsonschema/jsonschema/compare/v4.24.0...v4.24.1) \======= - Properly escape segments in `ValidationError.json_path` ([#&#8203;139](https://redirect.github.com/python-jsonschema/jsonschema/issues/139)). ### [`v4.24.0`](https://redirect.github.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4240) [Compare Source](https://redirect.github.com/python-jsonschema/jsonschema/compare/v4.23.0...v4.24.0) \======= - Fix improper handling of `unevaluatedProperties` in the presence of `additionalProperties` ([#&#8203;1351](https://redirect.github.com/python-jsonschema/jsonschema/issues/1351)). - Support for Python 3.8 has been dropped, as it is end-of-life. ### [`v4.23.0`](https://redirect.github.com/python-jsonschema/jsonschema/blob/HEAD/CHANGELOG.rst#v4230) [Compare Source](https://redirect.github.com/python-jsonschema/jsonschema/compare/v4.22.0...v4.23.0) \======= - Do not reorder dictionaries (schemas, instances) that are printed as part of validation errors. - Declare support for Py3.13 </details> <details> <summary>gtsystem/lightkube (lightkube)</summary> ### [`v0.17.2`](https://redirect.github.com/gtsystem/lightkube/releases/tag/v0.17.2) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.17.1...v0.17.2) #### What's Changed - From kubernetes-models v1.33, resource models will have `apiVersion` and `kind` automatically set as post init. - Rename `List(Async)Iterator` to `List(Async)Iterable` to reflect the corr… by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/89](https://redirect.github.com/gtsystem/lightkube/pull/89) - Fixes [#&#8203;72](https://redirect.github.com/gtsystem/lightkube/issues/72): Document potential exceptions when calling the client methods by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/91](https://redirect.github.com/gtsystem/lightkube/pull/91) - Add more documentation. by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/92](https://redirect.github.com/gtsystem/lightkube/pull/92) and ttps:[//github.com/gtsystem/lightkube/pull/98](//redirect.github.com/gtsystem/lightkube/pull/98) - Add example of updating Status subresource by [@&#8203;mortenlj](https://redirect.github.com/mortenlj) in [https://github.com/gtsystem/lightkube/pull/95](https://redirect.github.com/gtsystem/lightkube/pull/95) - Add minimal documentation for working with Custom Resources by [@&#8203;mortenlj](https://redirect.github.com/mortenlj) in [https://github.com/gtsystem/lightkube/pull/94](https://redirect.github.com/gtsystem/lightkube/pull/94) - Support httpx `proxy` configuration by [@&#8203;Akustav](https://redirect.github.com/Akustav) in [https://github.com/gtsystem/lightkube/pull/96](https://redirect.github.com/gtsystem/lightkube/pull/96) - Document support for Kubernetes v1.33. Drop support for Kubernetes v1.17 by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/99](https://redirect.github.com/gtsystem/lightkube/pull/99) #### New Contributors - [@&#8203;mortenlj](https://redirect.github.com/mortenlj) made their first contribution in [https://github.com/gtsystem/lightkube/pull/95](https://redirect.github.com/gtsystem/lightkube/pull/95) - [@&#8203;Akustav](https://redirect.github.com/Akustav) made their first contribution in [https://github.com/gtsystem/lightkube/pull/96](https://redirect.github.com/gtsystem/lightkube/pull/96) **Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.17.0...v0.17.2 ### [`v0.17.1`](https://redirect.github.com/gtsystem/lightkube/compare/v0.17.0...v0.17.1) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.17.0...v0.17.1) ### [`v0.17.0`](https://redirect.github.com/gtsystem/lightkube/releases/tag/v0.17.0) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.16.2...v0.17.0) #### New features - `client.list()` now returns an iterable with a special property `resourceVersion` to implement list + watch pattern by [@&#8203;XeCycle](https://redirect.github.com/XeCycle) in [https://github.com/gtsystem/lightkube/pull/88](https://redirect.github.com/gtsystem/lightkube/pull/88) #### Bug fixes - Httpx 0.28.x compatibility by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/82](https://redirect.github.com/gtsystem/lightkube/pull/82) - Fix autocomplete regression in vscode introduced in [#&#8203;74](https://redirect.github.com/gtsystem/lightkube/issues/74) by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/85](https://redirect.github.com/gtsystem/lightkube/pull/85) #### Breaking changes - As part of the new feature above, `client.list()` now returns an Iteratable instead of an Iterator. If you are consuming the list using `next()` you will need to get an iterator first calling `iter(list)`. No changes are needed If you are consuming the returned data via a for loop. **Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.16.0...v0.17.0 ### [`v0.16.2`](https://redirect.github.com/gtsystem/lightkube/compare/v0.16.1...v0.16.2) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.16.1...v0.16.2) ### [`v0.16.1`](https://redirect.github.com/gtsystem/lightkube/compare/v0.16.0...v0.16.1) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.16.0...v0.16.1) ### [`v0.16.0`](https://redirect.github.com/gtsystem/lightkube/releases/tag/v0.16.0) [Compare Source](https://redirect.github.com/gtsystem/lightkube/compare/v0.15.8...v0.16.0) #### What's Changed - Document support for k8s v1.32 and remove v1.16 by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/83](https://redirect.github.com/gtsystem/lightkube/pull/83) - Document support for python 3.13 and remove official support for python 3.8 by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/83](https://redirect.github.com/gtsystem/lightkube/pull/83) - Support custom httpx transports by [@&#8203;XeCycle](https://redirect.github.com/XeCycle) in [https://github.com/gtsystem/lightkube/pull/77](https://redirect.github.com/gtsystem/lightkube/pull/77) #### Bug fixes - [#&#8203;78](https://redirect.github.com/gtsystem/lightkube/issues/78): Limit max httpx version to < 0.28.0 as 0.28.0 introduces a not documented breaking change by [@&#8203;gtsystem](https://redirect.github.com/gtsystem) in [https://github.com/gtsystem/lightkube/pull/81](https://redirect.github.com/gtsystem/lightkube/pull/81) - When loading kubeconfig files configured with `ExecCredential`, lightkube now accepts the `env` parameter when set to null explicitly (Azure kubelogin compatiblity) by [@&#8203;raminqaf](https://redirect.github.com/raminqaf) in [https://github.com/gtsystem/lightkube/pull/80](https://redirect.github.com/gtsystem/lightkube/pull/80) #### New Contributors - [@&#8203;XeCycle](https://redirect.github.com/XeCycle) made their first contribution in [https://github.com/gtsystem/lightkube/pull/77](https://redirect.github.com/gtsystem/lightkube/pull/77) - [@&#8203;raminqaf](https://redirect.github.com/raminqaf) made their first contribution in [https://github.com/gtsystem/lightkube/pull/80](https://redirect.github.com/gtsystem/lightkube/pull/80) **Full Changelog**: https://github.com/gtsystem/lightkube/compare/v0.15.4...v0.16.0 </details> <details> <summary>pydantic/pydantic (pydantic)</summary> ### [`v2.11.7`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2117-2025-06-14) [Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.11.6...v2.11.7) [GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.11.7) ##### What's Changed ##### Fixes - Copy `FieldInfo` instance if necessary during `FieldInfo` build by [@&#8203;Viicos](https://redirect.github.com/Viicos) in [#&#8203;11898](https://redirect.github.com/pydantic/pydantic/pull/11898) ### [`v2.11.6`](https://redirect.github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2116-2025-06-13) [Compare Source](https://redirect.github.com/pydantic/pydantic/compare/v2.11.5...v2.11.6) [GitHub release](https://redirect.github.com/pydantic/pydantic/releases/tag/v2.11.6) ##### What's Changed ##### Fixes - Rebuild dataclass fields before schema generation by [@&#8203;Viicos](https://redirect.github.com/Vii --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Carl Csaposs <[email protected]>
1 parent deb6f6f commit 31f85f2

File tree

11 files changed

+197
-182
lines changed

11 files changed

+197
-182
lines changed

poetry.lock

Lines changed: 115 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ requires-poetry = ">=2.0.0"
99
python = "^3.10"
1010
# breaking change in ops 2.10.0: https://github.com/canonical/operator/pull/1091#issuecomment-1888644075
1111
ops = "^2.9.0, <2.10"
12-
lightkube = "^0.15.3"
12+
lightkube = "^0.17.2"
1313
tenacity = "^9.1.2"
14-
jinja2 = "^3.1.4"
14+
jinja2 = "^3.1.6"
1515
poetry-core = "^2.1.3"
16-
requests = "^2.32.3"
16+
requests = "^2.32.4"
1717

1818
[tool.poetry.group.charm-libs.dependencies]
1919
# data_platform_libs/v0/data_interfaces.py
@@ -32,32 +32,32 @@ jsonschema = "*"
3232
optional = true
3333

3434
[tool.poetry.group.format.dependencies]
35-
ruff = "^0.4.5"
35+
ruff = "^0.12.4"
3636

3737
[tool.poetry.group.lint]
3838
optional = true
3939

4040
[tool.poetry.group.lint.dependencies]
41-
ruff = "^0.4.5"
42-
codespell = "^2.3.0"
41+
ruff = "^0.12.4"
42+
codespell = "^2.4.1"
4343

4444
[tool.poetry.group.unit.dependencies]
45-
pytest = "^8.2.2"
46-
pytest-xdist = "^3.6.1"
45+
pytest = "^8.4.1"
46+
pytest-xdist = "^3.8.0"
4747
pytest-forked = "^1.6.0" # Workaround to deal with memory leaks in scenario tests
4848
pytest-cov = "^6.2.1"
4949
ops-scenario = "^6.0.3, <6.0.4" # 6.0.4 requires ops >= 2.12
5050
ops = "^2.9.0"
5151

5252
[tool.poetry.group.integration.dependencies]
53-
pytest = "^8.2.2"
53+
pytest = "^8.4.1"
5454
pytest-operator = "^0.35.0"
5555
juju = "^3.6.0.0"
5656
mysql-connector-python = "^9.3.0"
57-
pyyaml = "^6.0.1"
57+
pyyaml = "^6.0.2"
5858
tenacity = "^9.1.2"
59-
allure-pytest = "^2.13.5"
60-
allure-pytest-default-results = "^0.1.2"
59+
allure-pytest = "^2.14.3"
60+
allure-pytest-default-results = "^0.1.3"
6161

6262
[tool.coverage.run]
6363
branch = true

src/kubernetes_upgrade.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ def _get_unit_healthy_status(
8787
):
8888
if isinstance(workload_status, ops.WaitingStatus):
8989
return ops.WaitingStatus(
90-
f'Router {self._current_versions["workload"]}; Charmed operator {self._current_versions["charm"]}'
90+
f"Router {self._current_versions['workload']}; Charmed operator {self._current_versions['charm']}"
9191
)
9292
return ops.ActiveStatus(
93-
f'Router {self._current_versions["workload"]} running; Charmed operator {self._current_versions["charm"]}'
93+
f"Router {self._current_versions['workload']} running; Charmed operator {self._current_versions['charm']}"
9494
)
9595
if isinstance(workload_status, ops.WaitingStatus):
9696
return ops.WaitingStatus(
97-
f'Router {self._current_versions["workload"]}; Charmed operator {self._current_versions["charm"]}'
97+
f"Router {self._current_versions['workload']}; Charmed operator {self._current_versions['charm']}"
9898
)
9999
# During a rollback, non-upgraded units will restart
100100
# (Juju bug: https://bugs.launchpad.net/juju/+bug/2036246)
@@ -103,7 +103,7 @@ def _get_unit_healthy_status(
103103
# since the Kubernetes controller revision hash is different, the unit (pod) will restart
104104
# during rollback.
105105
return ops.ActiveStatus(
106-
f'Router {self._current_versions["workload"]} running (restart pending); Charmed operator {self._current_versions["charm"]}'
106+
f"Router {self._current_versions['workload']} running (restart pending); Charmed operator {self._current_versions['charm']}"
107107
)
108108

109109
@property
@@ -144,7 +144,7 @@ def _unit_workload_container_versions(self) -> dict[str, str]:
144144

145145
def get_unit_name(pod_name: str) -> str:
146146
*app_name, unit_number = pod_name.split("-")
147-
return f'{"-".join(app_name)}/{unit_number}'
147+
return f"{'-'.join(app_name)}/{unit_number}"
148148

149149
return {
150150
get_unit_name(pod.metadata.name): pod.metadata.labels["controller-revision-hash"]

tests/integration/helpers.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,9 @@ async def ensure_all_units_continuous_writes_incrementing(
592592
max_written_value = await get_max_written_value_in_database(
593593
ops_test, unit, server_config_credentials
594594
)
595-
assert (
596-
max_written_value > last_max_written_value
597-
), "Continuous writes not incrementing"
595+
assert max_written_value > last_max_written_value, (
596+
"Continuous writes not incrementing"
597+
)
598598

599599
# ensure that the unit contains all values up to the max written value
600600
all_written_values = set(
@@ -606,9 +606,9 @@ async def ensure_all_units_continuous_writes_incrementing(
606606
)
607607
)
608608
numbers = set(range(1, max_written_value))
609-
assert (
610-
numbers <= all_written_values
611-
), f"Missing numbers in database for unit {unit.name}"
609+
assert numbers <= all_written_values, (
610+
f"Missing numbers in database for unit {unit.name}"
611+
)
612612

613613
last_max_written_value = max_written_value
614614

tests/integration/test_exporter.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
136136
with attempt:
137137
response = requests.get(f"http://{unit_address}:9152/metrics", stream=False)
138138
response.raise_for_status()
139-
assert (
140-
"mysqlrouter_route_health" in response.text
141-
), "❌ did not find expected metric in response"
139+
assert "mysqlrouter_route_health" in response.text, (
140+
"❌ did not find expected metric in response"
141+
)
142142
response.close()
143143

144144
logger.info("Removing relation between mysqlrouter and grafana agent")
@@ -155,8 +155,8 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
155155
try:
156156
requests.get(f"http://{unit_address}:9152/metrics", stream=False)
157157
except requests.exceptions.ConnectionError as e:
158-
assert "[Errno 111] Connection refused" in str(
159-
e
160-
), "❌ expected connection refused error"
158+
assert "[Errno 111] Connection refused" in str(e), (
159+
"❌ expected connection refused error"
160+
)
161161
else:
162162
assert False, "❌ can connect to metrics endpoint without relation with cos"

tests/integration/test_exporter_with_tls.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
128128
host="127.0.0.1",
129129
port=6446,
130130
)
131-
assert (
132-
"Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer
133-
), "Expected mysqlrouter autogenerated certificate"
131+
assert "Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer, (
132+
"Expected mysqlrouter autogenerated certificate"
133+
)
134134

135135
logger.info(f"Deploying {tls_app_name}")
136136
await ops_test.model.deploy(
@@ -160,9 +160,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
160160
try:
161161
requests.get(f"http://{unit_address}:9152/metrics", stream=False)
162162
except requests.exceptions.ConnectionError as e:
163-
assert "[Errno 111] Connection refused" in str(
164-
e
165-
), "❌ expected connection refused error"
163+
assert "[Errno 111] Connection refused" in str(e), (
164+
"❌ expected connection refused error"
165+
)
166166
else:
167167
assert False, "❌ can connect to metrics endpoint without relation with cos"
168168

@@ -186,9 +186,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
186186
with attempt:
187187
response = requests.get(f"http://{unit_address}:9152/metrics", stream=False)
188188
response.raise_for_status()
189-
assert (
190-
"mysqlrouter_route_health" in response.text
191-
), "❌ did not find expected metric in response"
189+
assert "mysqlrouter_route_health" in response.text, (
190+
"❌ did not find expected metric in response"
191+
)
192192
response.close()
193193

194194
for attempt in tenacity.Retrying(
@@ -203,9 +203,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
203203
host="127.0.0.1",
204204
port=6446,
205205
)
206-
assert (
207-
"CN = Test CA" in issuer
208-
), f"Expected mysqlrouter certificate from {tls_app_name}"
206+
assert "CN = Test CA" in issuer, (
207+
f"Expected mysqlrouter certificate from {tls_app_name}"
208+
)
209209

210210
logger.info("Removing relation between mysqlrouter and grafana agent")
211211
await mysql_router_app.remove_relation(
@@ -221,9 +221,9 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
221221
try:
222222
requests.get(f"http://{unit_address}:9152/metrics", stream=False)
223223
except requests.exceptions.ConnectionError as e:
224-
assert "[Errno 111] Connection refused" in str(
225-
e
226-
), "❌ expected connection refused error"
224+
assert "[Errno 111] Connection refused" in str(e), (
225+
"❌ expected connection refused error"
226+
)
227227
else:
228228
assert False, "❌ can connect to metrics endpoint without relation with cos"
229229

@@ -244,6 +244,6 @@ async def test_exporter_endpoint(ops_test: OpsTest, charm) -> None:
244244
host="127.0.0.1",
245245
port=6446,
246246
)
247-
assert (
248-
"Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer
249-
), "Expected mysqlrouter autogenerated certificate"
247+
assert "Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer, (
248+
"Expected mysqlrouter autogenerated certificate"
249+
)

tests/integration/test_expose_external.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ async def confirm_cluster_ip_endpoints(ops_test: OpsTest) -> None:
6767

6868
endpoint_name = f"mysql-router-k8s-service.{ops_test.model.name}.svc.cluster.local."
6969
assert credentials["mysql"]["endpoints"] == f"{endpoint_name}:6446", "Endpoint is unexpected"
70-
assert (
71-
credentials["mysql"]["read-only-endpoints"] == f"{endpoint_name}:6447"
72-
), "Read-only endpoint is unexpected"
70+
assert credentials["mysql"]["read-only-endpoints"] == f"{endpoint_name}:6447", (
71+
"Read-only endpoint is unexpected"
72+
)
7373

7474

7575
async def confirm_endpoint_connectivity(ops_test: OpsTest) -> None:
@@ -95,9 +95,9 @@ async def confirm_endpoint_connectivity(ops_test: OpsTest) -> None:
9595
"ssl_disabled": False,
9696
}
9797

98-
assert is_connection_possible(
99-
connection_config, **extra_connection_options
100-
), "Connection not possible through endpoints"
98+
assert is_connection_possible(connection_config, **extra_connection_options), (
99+
"Connection not possible through endpoints"
100+
)
101101

102102

103103
@pytest.mark.abort_on_fail

tests/integration/test_log_rotation.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ async def test_log_rotation(ops_test: OpsTest, charm):
123123

124124
assert len(ls_la_output) == 1, f"❌ files other than log files exist {ls_la_output}"
125125
directories = [line.split()[-1] for line in ls_la_output]
126-
assert directories == [
127-
"mysqlrouter.log"
128-
], f"❌ file other than logs files exist: {ls_la_output}"
126+
assert directories == ["mysqlrouter.log"], (
127+
f"❌ file other than logs files exist: {ls_la_output}"
128+
)
129129

130130
logger.info("Executing logrotate")
131131
await rotate_mysqlrouter_logs(ops_test, unit.name)
132132

133133
logger.info("Ensuring log files and archive directories exist")
134134
ls_la_output = await ls_la_in_unit(ops_test, unit.name, "/var/log/mysqlrouter/")
135135

136-
assert (
137-
len(ls_la_output) == 2
138-
), f"❌ unexpected files/directories in log directory: {ls_la_output}"
136+
assert len(ls_la_output) == 2, (
137+
f"❌ unexpected files/directories in log directory: {ls_la_output}"
138+
)
139139
directories = [line.split()[-1] for line in ls_la_output]
140140
assert sorted(directories) == sorted([
141141
"mysqlrouter.log",
@@ -146,9 +146,9 @@ async def test_log_rotation(ops_test: OpsTest, charm):
146146
file_contents = await read_contents_from_file_in_unit(
147147
ops_test, unit, "/var/log/mysqlrouter/mysqlrouter.log"
148148
)
149-
assert (
150-
"test mysqlrouter content" not in file_contents
151-
), "❌ log file mysqlrouter.log not rotated"
149+
assert "test mysqlrouter content" not in file_contents, (
150+
"❌ log file mysqlrouter.log not rotated"
151+
)
152152

153153
ls_la_output = await ls_la_in_unit(
154154
ops_test,

tests/integration/test_tls.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ async def test_connected_encryption(ops_test: OpsTest) -> None:
119119
host="127.0.0.1",
120120
port=6446,
121121
)
122-
assert (
123-
"Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer
124-
), "Expected mysqlrouter autogenerated certificate"
122+
assert "Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer, (
123+
"Expected mysqlrouter autogenerated certificate"
124+
)
125125

126126
logger.info("Relating TLS with mysqlrouter")
127127
await ops_test.model.relate(tls_app_name, MYSQL_ROUTER_APP_NAME)
@@ -139,9 +139,9 @@ async def test_connected_encryption(ops_test: OpsTest) -> None:
139139
host="127.0.0.1",
140140
port=6446,
141141
)
142-
assert (
143-
"CN = Test CA" in issuer
144-
), f"Expected mysqlrouter certificate from {tls_app_name}"
142+
assert "CN = Test CA" in issuer, (
143+
f"Expected mysqlrouter certificate from {tls_app_name}"
144+
)
145145

146146
logger.info("Removing relation TLS with mysqlrouter")
147147
await ops_test.model.applications[MYSQL_ROUTER_APP_NAME].remove_relation(
@@ -160,6 +160,6 @@ async def test_connected_encryption(ops_test: OpsTest) -> None:
160160
host="127.0.0.1",
161161
port=6446,
162162
)
163-
assert (
164-
"Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer
165-
), "Expected mysqlrouter autogenerated CA certificate"
163+
assert "Issuer: CN = MySQL_Router_Auto_Generated_CA_Certificate" in issuer, (
164+
"Expected mysqlrouter autogenerated CA certificate"
165+
)

tests/integration/test_upgrade.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,19 @@ async def test_upgrade_from_edge(ops_test: OpsTest, charm) -> None:
113113
await ops_test.model.block_until(
114114
lambda: mysql_router_application.status == "blocked", timeout=TIMEOUT
115115
)
116-
assert (
117-
"resume-upgrade" in mysql_router_application.status_message
118-
), "mysql router application status not indicating that user should resume upgrade"
116+
assert "resume-upgrade" in mysql_router_application.status_message, (
117+
"mysql router application status not indicating that user should resume upgrade"
118+
)
119119

120120
for attempt in tenacity.Retrying(
121121
reraise=True,
122122
stop=tenacity.stop_after_delay(SMALL_TIMEOUT),
123123
wait=tenacity.wait_fixed(10),
124124
):
125125
with attempt:
126-
assert "+testupgrade" in get_juju_status(
127-
ops_test.model.name
128-
), "None of the units are upgraded"
126+
assert "+testupgrade" in get_juju_status(ops_test.model.name), (
127+
"None of the units are upgraded"
128+
)
129129

130130
mysql_router_leader_unit = await get_leader_unit(ops_test, MYSQL_ROUTER_APP_NAME)
131131

@@ -181,9 +181,9 @@ async def test_fail_and_rollback(ops_test: OpsTest, charm, continuous_writes) ->
181181
wait=tenacity.wait_fixed(10),
182182
):
183183
with attempt:
184-
assert "Upgrade incompatible" in get_juju_status(
185-
ops_test.model.name
186-
), "mysql router application status not indicating faulty charm incompatible"
184+
assert "Upgrade incompatible" in get_juju_status(ops_test.model.name), (
185+
"mysql router application status not indicating faulty charm incompatible"
186+
)
187187

188188
logger.info("Ensure continuous writes while in failure state")
189189
await ensure_all_units_continuous_writes_incrementing(ops_test)

0 commit comments

Comments
 (0)