Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.1
->2.6.0
==2.5.1
->==2.6.0
==0.9.2
->==0.10.0
0.0.285
->0.0.286
==1.6.1
->==1.6.2
Release Notes
canonical/operator (ops)
v2.6.0
: : Harness.handle_exec, Harness.add_relation improvements, and moreCompare Source
This release has two significant improvements to
testing.Harness
:Harness.handle_exec
to allow charm tests to simulateContainer.exec
calls (Pebble one-shot commands) and provide expected output. Thanks @weiiwang01 for the design and implementation (PR 993).app_data
andunit_data
parameters toHarness.add_relation
. Previously, charm tests would have to calladd_relation
followed byadd_relation_unit
andupdate_relation_data
-- now only a singleadd_relation
call is required. Implemented in PR 994.In addition, several small improvements and fixes are included:
Secret.unique_identifier
(XID part); improve id/label docs in https://github.com/canonical/operator/pull/986push()
encoding if source is a binary file or stream in https://github.com/canonical/operator/pull/991cgi
module in Pebble code in https://github.com/canonical/operator/pull/996See all changes from 2.5.0 to 2.6.0.
crate-py/rpds (rpds-py)
v0.10.0
Compare Source
This release contains no real functional changes but corresponds to
bumping rpds (the upstream dependency) to v1.0.0
Full Changelog: crate-py/rpds@v0.9.2...v0.10.0
astral-sh/ruff (ruff)
v0.0.286
Compare Source
What's Changed
New Rules
flake8-bugbear
] Updatefunction-call-in-argument-default
(B008
) to ignore arguments with immutable annotations by @zanieb in https://github.com/astral-sh/ruff/pull/6784flake8-bugbear
] Updatemutable-argument-default
(B006
) to useextend-immutable-calls
when determining if annotations are immutable by @zanieb in https://github.com/astral-sh/ruff/pull/6781flake8-pie
] Implementunnecessary-range-start
(PIE808
) by @harupy in https://github.com/astral-sh/ruff/pull/6690flake8-pytest-style
] Add autofix forPT014
by @harupy in https://github.com/astral-sh/ruff/pull/6698pylint
] Implementno-self-use
(R6301
) by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6574pylint
] Extendrepeated-equality-comparison-target
to check for mixed orderings and Yoda conditions. by @tjkuson in https://github.com/astral-sh/ruff/pull/6691Settings
detect-same-package
behavior configurable by @charliermarsh in https://github.com/astral-sh/ruff/pull/6833Bug Fixes
typing_extensions.TypeAlias
for PYI026 fixes on pre-3.10 by @charliermarsh in https://github.com/astral-sh/ruff/pull/6696repeated-equality-comparison-target
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6705ctypes.WinError()
in flake8-raise by @charliermarsh in https://github.com/astral-sh/ruff/pull/6731eq-without-hash
when__hash__
is explicitly set toNone
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6739native-literals
handling of int literal with attribute access by @zanieb in https://github.com/astral-sh/ruff/pull/6792uncessary-coding-comment
fix when there's leading content by @zanieb in https://github.com/astral-sh/ruff/pull/6775C417
forlambda
with default and variadic parameters by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6752networkx
to conventional aliases by @zanieb in https://github.com/astral-sh/ruff/pull/6778Full Changelog: astral-sh/ruff@v0.0.285...v0.0.286
websocket-client/websocket-client (websocket-client)
v1.6.2
Compare Source
1.6.2
Configuration
📅 Schedule: Branch creation - "after 1am and before 2am every weekday" 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.
This PR has been generated by Mend Renovate. View repository job log here.