Update Python dependencies (major) #28
Open
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.9.0
->>=3.2.0
^6.0.3, <6.0.4
->^8.2.0, <8.2.1
Release Notes
canonical/operator (ops)
v3.2.0
Compare Source
Features
Documentation
Layer
instead of aLayerDict
in the httpbin charm (#2003)CI
v3.1.0
Compare Source
Features
Fixes
Documentation
ops
version in Charmcraft profiles (#1872)Tests
CI
v3.0.0
Compare Source
The minimum version of Python for Ops 3.x is 3.10.
Documentation
CI
v2.23.1
: : Add the remote unit to Relation.data, but not Relation.unitsCompare Source
This is a small bug-fix release for the 2.x series that addresses issues with the recent feature making relation data available in relation-departed events. Rather than inserting the remote unit into
Relation.units
, the data is available fromRelation.data
, without changingRelation.units
.What's Changed
Fixes
Relation.data
but notRelation.units
in #1928Documentation
self.app
andself.unit
in #1856CI
Full Changelog: canonical/operator@2.23.0...2.23.1
v2.23.0
Compare Source
Features
Fixes
Documentation
CI
v2.22.0
Compare Source
Features
Fixes
__init__
(#1737)ops.testing
(#1754)Documentation
CI
ops[tracing]
integration tests (#1686)alertmanager-k8s-operator
in observability charm tests (#1753)ops[tracing]
addition (#1755)v2.21.1
Compare Source
Reverted
Documentation
v2.21.0
Compare Source
Features
Fixes
Documentation
CI
Tests
v2.20.0
Compare Source
Features
remove_revision()
method toSecretRemoveEvent
andSecretExpiredEvent
(#1624)Relation.remote_model
property (#1610)RelationDataContent.update
(#1586)CharmMeta
(#1648)testing.Container
match the plan (#1630)ops.testing.State
components are less mutable (#1617)Fixes
Documentation
ops.testing.Container
(#1637)CI
v2.19.4
: ops 2.19.4 and ops-scenario 7.19.4 Synchronise ops and ops-scenario versionsCompare Source
No changes since 2.19.3 and 7.19.3. This is to push packages to PyPI only.
Full Changelog: canonical/operator@2.19.3...2.19.4
v2.19.0
Compare Source
Features
Documentation
CI
v2.18.1
Compare Source
Fixes
Documentation
v2.18.0
Compare Source
Features
Fixes
Documentation
Continuous Integration
Testing
v2.17.1
Compare Source
Fixes
push_path
open in binary mode so it works on non-text files (#1458)Documentation
MaintenanceStatus
for local issues (#1397)collect-status
is is run on every hook (#1399)ogp:url
properties Sphinx generates (#1411)READTHEDOCS
context variable (#1410)StoredState
is stored, and the upgrade behaviour (#1416)stop_services
docstring (#1457)Continuous Integration
Refactoring
v2.17.0
Compare Source
Features
ops[testing]
and expose the names in ops.testing (#1381)type: ignore
it (#1345)InvalidStatusError
instead of waiting for Juju:CollectStatusEvent.add_status
with error or unknown (#1386)_ModelBackend.set_status
(#1354)Fixes
StatusBase
subclasses by callingStatusBase.register
in__init_subclass__
(#1383)Secret.set_info
andSecret.set_content
can be called in the same hook (#1373)Documentation
config-changed
is triggered by Juju trust (#1357)CharmBase
inheritance example by @theofpa (#1349)Continuous Integration
Testing
Refactoring
ops.testing
toops._private.harness
(#1369)unittest.mock
names in the 'mock' namespace (#1379)StatusBase.register
decorator (#1384)Chores
v2.16.1
Compare Source
Fix
v2.16.0
Compare Source
Features
Refactor
Fixes
Documentation
Tests
CI
v2.15.0
Compare Source
Features
Fixes
Documentation
CI
v2.14.1
Compare Source
Fixes
Tests
Documentation
CI
v2.14.0
Compare Source
Features
__str__
to ActionFailed, for better unexpected failure output (#1209)Fixes
other
argument toRelatationDataContent.update(...)
should be optional (#1226)Documentation
Refactoring
ruff
formatter and reformat all code (#1224)v2.13.0
Compare Source
Features
Fixes
Documentation
tox -e docs-deps
to compile requirements.txt (#1172)Tests
pebble.CheckInfo.change_id
field (#1197)v2.12.0
Compare Source
Features
Model.get_cloud_spec
which uses thecredential-get
hook tool to get details of the cloud where the model is deployed (#1152)Fixes
get_notices
parameter name tousers=all
(previouslyselect=all
) (#1146)Model.relation.app
type fromApplication|None
toApplication
(#1151)begin
(#1150)pebble.Client.exec
might leak asocket.timeout
(builtins.TimeoutError
) exception (#1155)add_relation
(#1138)get_relation
behaviour inleader-elected
(#1156)type: secret
for config options (#1167)Refactoring
_Manager
class (#1085)Documentation
ops.testing
from unittest to pytest style (#1157)Harness.add_relation
docstring (#1168)v2.11.0
Compare Source
Features
StopEvent
,RemoveEvent
, and allLifecycleEvent
s are no longer deferrable, and will raise aRuntimeError
ifdefer()
is called on the event object (#1122)ActionEvent.id
, exposing the JUJU_ACTION_UUID environment variable (#1124)pebble.Plan
objects by passing in apebble.PlanDict
, theability to compare two
Plan
objects with==
, and the ability to create an empty Plan withPlan()
(#1134)Fixes
Documentation
can_connect()
API documentation (#1123)Tooling
v2.10.0
Compare Source
Features
PebbleCustomNoticeEvent
,get_notices
, and so on) (#1086, #1100)Relation.active
, and excluded inactive relations fromModel.relations
(#1091)ContainerMeta
,and various info links in
CharmMeta
) (#1106)ModelError
in Harness if an invalid status is set (#1107)Fixes
Documentation
Tooling
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.
This PR was generated by Mend Renovate. View the repository job log.