Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ops to v2.17.1 #200

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ops (changelog) ==2.16.1 -> ==2.17.1 age adoption passing confidence

Release Notes

canonical/operator (ops)

v2.17.1

Compare Source

Fixes

  • Make push_path open in binary mode so it works on non-text files (#​1458)

Documentation

  • Use MaintenanceStatus for local issues (#​1397)
  • Explicitly document that collect-status is is run on every hook (#​1399)
  • Use our docs URL for the ogp:url properties Sphinx generates (#​1411)
  • Set the READTHEDOCS context variable (#​1410)
  • Fix Read the Docs ad placement (#​1414)
  • Clarify where StoredState is stored, and the upgrade behaviour (#​1416)
  • Fix copy 'n' paste error in stop_services docstring (#​1457)

Continuous Integration

  • Configure the labels for dependabot PRs (#​1407)
  • Disable the automatic ops[testing] releasing (#​1415)
  • Use the actual poetry command, rather than manually tweaking the file (#​1443)
  • Fix broken GitHub variable expansion (#​1446)
  • Coverage report generation should also include testing/src/scenario (#​1453)
  • Fix PR title CI job concurrency (#​1451)
  • Adjust the release process to handle publishing ops and ops[testing] (#​1432)
  • A better way than commenting out external repos (#​1463)
  • Use more descriptive names for the publish workflows (#​1464)
  • Move the XML coverage report to .report (#​1465)

Refactoring

  • Import the ops[testing] repository (#​1406)
  • Update linting with the latest ruff (#​1441)

v2.17.0

Compare Source

Features

  • Optionally install Scenario with ops[testing] and expose the names in ops.testing (#​1381)
  • Change ops.main() so that you don't need to type: ignore it (#​1345)
  • Expand the secret ID out to the full URI when only given the ID (#​1358)
  • Add a JujuVersion property for Pebble log forwarding to Loki (#​1370)
  • Pre-emptively raise InvalidStatusError instead of waiting for Juju:
    • Make it an error to call CollectStatusEvent.add_status with error or unknown (#​1386)
    • Document and validate settable status values in _ModelBackend.set_status (#​1354)

Fixes

  • Fix type of StatusBase subclasses by calling StatusBase.register in __init_subclass__ (#​1383)
  • Secret.set_info and Secret.set_content can be called in the same hook (#​1373)

Documentation

  • Add top-level intro and module-level intros (#​1320)
  • Update the links to the Pebble docs (#​1362)
  • Note about repeatedly setting secret value in Juju 3.6 (#​1366)
  • config-changed is triggered by Juju trust (#​1357)
  • Typo on CharmBase inheritance example by @​theofpa (#​1349)
  • Docs: move Pebble to a separate page (#​1392)

Continuous Integration

  • Periodically run the unit tests of all GitHub-hosted published charms (#​1365)
  • Update the TIOBE reporting for the changes in coverage calculation (#​1367)
  • Spell-check the code as part of linting (#​1388)
  • Run the smoke tests on a schedule (#​1387)

Testing

  • Fix tests that leaked environment variables (#​1385)

Refactoring

  • Move the content of ops.testing to ops._private.harness (#​1369)
  • Keep the unittest.mock names in the 'mock' namespace (#​1379)
  • Deprecate StatusBase.register decorator (#​1384)

Chores

  • Note Juju version on legacy workaround (#​1355)
  • Re-enable test now that Pebble directory permissions are fixed (#​1363)
  • Generate warnings for events that will be removed in Juju 4.0 (#​1374)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 requested a review from a team as a code owner December 10, 2024 05:15
Copy link
Contributor

Test coverage for 2fdacef

Name                Stmts   Miss Branch BrPart  Cover   Missing
---------------------------------------------------------------
src/actions.py         29      0      4      0   100%
src/agent.py          119      0     20      0   100%
src/auth_proxy.py      52      0      8      0   100%
src/charm.py           89      0     10      0   100%
src/cos.py             20      0      0      0   100%
src/ingress.py         16      0      4      0   100%
src/jenkins.py        377      0     50      0   100%
src/pebble.py          25      0      0      0   100%
src/state.py          109      0     16      0   100%
src/timerange.py       30      0      4      0   100%
---------------------------------------------------------------
TOTAL                 866      0    116      0   100%

Static code analysis report

Run started:2024-12-10 05:17:41.265465

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 7617
  Total lines skipped (#nosec): 6
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@amandahla amandahla merged commit 1ec9756 into main Dec 10, 2024
28 checks passed
@amandahla amandahla deleted the renovate/ops-2.x branch December 10, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant