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: bump the pip_dependencies group across 2 directories with 8 updates #519

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps the pip_dependencies group with 7 updates in the / directory:

Package From To
boto3 1.35.39 1.35.44
boto3-stubs[s3] 1.35.39 1.35.44
cosl 0.0.41 0.0.42
cryptography 43.0.1 43.0.3
coverage[toml] 7.6.3 7.6.4
pyright 1.1.384 1.1.385
ruff 0.6.9 0.7.0

Bumps the pip_dependencies group with 1 update in the /tests/integration/vault_kv_requirer_operator directory: ops.

Updates boto3 from 1.35.39 to 1.35.44

Commits
  • 1631e47 Merge branch 'release-1.35.44'
  • b209875 Bumping version to 1.35.44
  • 27e92f9 Add changelog entries from botocore
  • b5395f4 Merge branch 'release-1.35.43' into develop
  • 3664a8d Merge branch 'release-1.35.43'
  • aab8f82 Bumping version to 1.35.43
  • 9190082 Add changelog entries from botocore
  • 0e2fdc3 Merge branch 'release-1.35.42' into develop
  • ad4d48a Merge branch 'release-1.35.42'
  • 377a541 Bumping version to 1.35.42
  • Additional commits viewable in compare view

Updates boto3-stubs[s3] from 1.35.39 to 1.35.44

Commits

Updates cosl from 0.0.41 to 0.0.42

Release notes

Sourced from cosl's releases.

0.0.42

What's Changed

Full Changelog: canonical/cos-lib@0.0.41...0.0.42

Commits

Updates cryptography from 43.0.1 to 43.0.3

Changelog

Sourced from cryptography's changelog.

43.0.3 - 2024-10-18


* Fixed release metadata for ``cryptography-vectors``

.. _v43-0-2:

43.0.2 - 2024-10-18

  • Fixed compilation when using LibreSSL 4.0.0.

.. _v43-0-1:

Commits

Updates coverage[toml] from 7.6.3 to 7.6.4

Release notes

Sourced from coverage[toml]'s releases.

7.6.4

Version 7.6.4 — 2024-10-20

  • fix: multi-line with statements could cause contained branches to be incorrectly marked as missing (issue 1880). This is now fixed.

➡️  PyPI page: coverage 7.6.4. :arrow_right:  To install: python3 -m pip install coverage==7.6.4

Changelog

Sourced from coverage[toml]'s changelog.

Version 7.6.4 — 2024-10-20

  • fix: multi-line with statements could cause contained branches to be incorrectly marked as missing (issue 1880_). This is now fixed.

.. _issue 1880: nedbat/coveragepy#1880

.. _changes_7-6-3:

Commits
  • f24f76b docs: sample HTML for 7.6.4
  • 96e10f7 docs: prep for 7.6.4
  • b8c236a fix: multi-line with-statements exit correctly. #1880
  • 64b7a45 docs: another discord reference
  • 68d7427 docs: Python Discord
  • 43adcea build: include 3.14 in the usual Pythons
  • fb2b49f build: github_releases can update older releases, and pauses to get the sorti...
  • ca550ca 3.0b2 wasn't correctly titled
  • debcc77 build: bump version
  • See full diff in compare view

Updates pyright from 1.1.384 to 1.1.385

Commits

Updates ruff from 0.6.9 to 0.7.0

Release notes

Sourced from ruff's releases.

0.7.0

Release Notes

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments (#12838, #13292). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the blog post for more details.
  • The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to TRY203 (#13502). This ensures Ruff's code is consistent with the same rule in the tryceratops linter.
  • The lint.allow-unused-imports setting has been removed (#13677). Use lint.pyflakes.allow-unused-imports instead.

Formatter preview style

  • Normalize implicit concatenated f-string quotes per part (#13539)

Preview linter features

  • [refurb] implement hardcoded-string-charset (FURB156) (#13530)
  • [refurb] Count codepoints not bytes for slice-to-remove-prefix-or-suffix (FURB188) (#13631)

Rule changes

  • [pylint] Mark PLE1141 fix as unsafe (#13629)
  • [flake8-async] Consider async generators to be "checkpoints" for cancel-scope-no-checkpoint (ASYNC100) (#13639)
  • [flake8-bugbear] Do not suggest setting parameter strict= to False in B905 diagnostic message (#13656)
  • [flake8-todos] Only flag the word "TODO", not words starting with "todo" (TD006) (#13640)
  • [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231, E251) (#13704)
  • [flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files being opened from a wider range of standard-library functions (#12959).

CLI

  • Add explanation of fixable in --statistics command (#13774)

Bug fixes

  • [pyflakes] Allow ipytest cell magic (F401) (#13745)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor (#13616)
  • [flake8-bandit] Detect patterns from multi line SQL statements (S608) (#13574)
  • [flake8-pyi] - Fix dropped expressions in PYI030 autofix (#13727)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.7.0

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments (#12838, #13292). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the blog post for more details.
  • The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to TRY203 (#13502). This ensures Ruff's code is consistent with the same rule in the tryceratops linter.
  • The lint.allow-unused-imports setting has been removed (#13677). Use lint.pyflakes.allow-unused-imports instead.

Formatter preview style

  • Normalize implicit concatenated f-string quotes per part (#13539)

Preview linter features

  • [refurb] implement hardcoded-string-charset (FURB156) (#13530)
  • [refurb] Count codepoints not bytes for slice-to-remove-prefix-or-suffix (FURB188) (#13631)

Rule changes

  • [pylint] Mark PLE1141 fix as unsafe (#13629)
  • [flake8-async] Consider async generators to be "checkpoints" for cancel-scope-no-checkpoint (ASYNC100) (#13639)
  • [flake8-bugbear] Do not suggest setting parameter strict= to False in B905 diagnostic message (#13656)
  • [flake8-todos] Only flag the word "TODO", not words starting with "todo" (TD006) (#13640)
  • [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231, E251) (#13704)
  • [flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files being opened from a wider range of standard-library functions (#12959).

CLI

  • Add explanation of fixable in --statistics command (#13774)

Bug fixes

  • [pyflakes] Allow ipytest cell magic (F401) (#13745)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor (#13616)
  • [flake8-bandit] Detect patterns from multi line SQL statements (S608) (#13574)
  • [flake8-pyi] - Fix dropped expressions in PYI030 autofix (#13727)
Commits
  • 5e6de4e Changelog for Ruff v0.7 (#13794)
  • 70e5c4a Recode TRY302 to TRY203 (#13502)
  • 9218d6b Remove allow-unused-imports setting from the common lint options (#13677)
  • 1b79ae9 [ruff-0.7] Stabilise the expansion of open-file-with-context-handler to wor...
  • 2b87587 [flake8-pytest-style] Fix defaults when lint.flake8-pytest-style config s...
  • d1e15f6 Remove tab-size setting (#12835)
  • 89a8215 Remove error messages for removed CLI aliases (#12833)
  • 202c6a6 Remove output-format=text setting (#12836)
  • 5c3c0c4 [red-knot] Inference for comparison of union types (#13781)
  • 6b7a738 Add explanation of fixable in --statistics command (#13774)
  • Additional commits viewable in compare view

Updates ops from 2.16.0 to 2.17.0

Release notes

Sourced from ops's releases.

2.17.0: new unit testing API, and Secret fixes

What's Changed

This release adds a state-transition testing API for unit tests, formerly known as Scenario (many thanks to @​PietroPasotti for his work developing and maintaining the library). Harness is still available, but we encourage all charmers to use the new API for unit tests going forward. The API is an optional install, for example: pip install ops[testing], so that the test API code does not get bundled into the charms. All of the classes that you would previously find when using ops-scenario in the scenario namespace can then be found in ops.testing. For example:

from ops import testing
ctx = testing.Context(MyCharm)
state = ctx.run(ctx.on.start(), testing.State(leader=True))
assert state.unit_status == testing.ActiveStatus()

There are also two improvements to Juju Secrets: firstly, the .id of a Secret will always include the model UUID, so it can be reliably used for cross-model relations. A more significant change is that, previously, if a charm called set_contents() and set_info() in the same hook (even if not the same event handler, or in a deferred event handler) only the last call would have any effect. This is now changed so that the calls accumulate - you can set both content and metadata in the same hook, and also if you set_contents() twice the contents will be combined. The Juju team intend to make this the secret-set behaviour in the future as well.

Additionally, ops.main is now type hinted correctly and will no longer require a type: ignore directive from users!

Features

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

Fixes

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

Documentation

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

Continuous Integration

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

Testing

... (truncated)

Changelog

Sourced from ops's changelog.

2.17.0 - 26 Sep 2024

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)

2.16.1 - 5 Sep 2024

... (truncated)

Commits
  • 05af34f chore: update changelog and bump version number for 2.17.0 release (#1394)
  • dcb4d78 docs: move Pebble to a separate page (#1392)
  • d342885 ci: run the smoke tests on a schedule (#1387)
  • 4a14764 feat: optionally install Scenario with ops[testing] and expose the names in...
  • d5eadcb chore: update charm pins (#1390)
  • 7dec772 fix: Secret.set_info and Secret.set_content can be called in the same hook (#...
  • 6f90333 ci: spell-check the code as part of linting (#1388)
  • 64d9565 feat: make it an error to call CollectStatusEvent.add_status with error or un...
  • 98a4e4f refactor: deprecate StatusBase.register decorator (#1384)
  • 4bb92dd test: properly mock the environment (#1385)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…dates

Bumps the pip_dependencies group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [boto3](https://github.com/boto/boto3) | `1.35.39` | `1.35.44` |
| [boto3-stubs[s3]](https://github.com/youtype/mypy_boto3_builder) | `1.35.39` | `1.35.44` |
| [cosl](https://github.com/canonical/cos-lib) | `0.0.41` | `0.0.42` |
| [cryptography](https://github.com/pyca/cryptography) | `43.0.1` | `43.0.3` |
| [coverage[toml]](https://github.com/nedbat/coveragepy) | `7.6.3` | `7.6.4` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.384` | `1.1.385` |
| [ruff](https://github.com/astral-sh/ruff) | `0.6.9` | `0.7.0` |

Bumps the pip_dependencies group with 1 update in the /tests/integration/vault_kv_requirer_operator directory: [ops](https://github.com/canonical/operator).


Updates `boto3` from 1.35.39 to 1.35.44
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](boto/boto3@1.35.39...1.35.44)

Updates `boto3-stubs[s3]` from 1.35.39 to 1.35.44
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `cosl` from 0.0.41 to 0.0.42
- [Release notes](https://github.com/canonical/cos-lib/releases)
- [Commits](canonical/cos-lib@0.0.41...0.0.42)

Updates `cryptography` from 43.0.1 to 43.0.3
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@43.0.1...43.0.3)

Updates `coverage[toml]` from 7.6.3 to 7.6.4
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.3...7.6.4)

Updates `pyright` from 1.1.384 to 1.1.385
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.384...v1.1.385)

Updates `ruff` from 0.6.9 to 0.7.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.6.9...0.7.0)

Updates `ops` from 2.16.0 to 2.17.0
- [Release notes](https://github.com/canonical/operator/releases)
- [Changelog](https://github.com/canonical/operator/blob/main/CHANGES.md)
- [Commits](canonical/operator@2.16.0...2.17.0)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: boto3-stubs[s3]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: cosl
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: coverage[toml]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip_dependencies
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip_dependencies
- dependency-name: ops
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip_dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner October 21, 2024 09:39
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 21, 2024
@github-actions github-actions bot enabled auto-merge (squash) October 21, 2024 09:40
@github-actions github-actions bot merged commit 8c0f160 into main Oct 22, 2024
12 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pip_dependencies-6c3c631f0f branch October 22, 2024 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants