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

fix(deps): update python dependencies #359

Open
wants to merge 1 commit into
base: 6/edge
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cosl ^0.0.16 -> ^0.0.48 age adoption passing confidence
coverage 7.6.1 -> 7.6.9 age adoption passing confidence
data-platform-helpers 0.1.3 -> 0.1.4 age adoption passing confidence
flake8 (changelog) 7.0.0 -> 7.1.1 age adoption passing confidence
lightkube ^0.15.3 -> ^0.16.0 age adoption passing confidence
ops (changelog) ~2.15.0 -> ~2.17.0 age adoption passing confidence
ops (changelog) ==2.15.0 -> ==2.17.1 age adoption passing confidence
pep8-naming (changelog) ^0.13.3 -> ^0.14.0 age adoption passing confidence
poetry-core 1.9.0 -> 1.9.1 age adoption passing confidence
pyOpenSSL (source) 24.2.1 -> 24.3.0 age adoption passing confidence
pydantic (changelog) 1.10.18 -> 1.10.19 age adoption passing confidence
pymongo ==4.7.3 -> ==4.10.1 age adoption passing confidence
pytest (changelog) 8.3.3 -> 8.3.4 age adoption passing confidence
pytest-asyncio (changelog) ^0.21.1 -> ^0.25.0 age adoption passing confidence
pytest-operator ^0.36.0 -> ^0.39.0 age adoption passing confidence
tenacity ==8.2.3 -> ==8.5.0 age adoption passing confidence

Release Notes

canonical/cos-lib (cosl)

v0.0.48

Compare Source

What's Changed

New Contributors

Full Changelog: canonical/cos-lib@0.0.47...0.0.48

v0.0.47

Compare Source

  • remove a leaked testing dependency on cryptography

v0.0.46: DS Exchange

Compare Source

What's Changed

New Contributors

Full Changelog: canonical/cos-lib@0.0.45...0.0.46

v0.0.45

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.44...0.0.45

v0.0.43

Compare Source

What's Changed

New Contributors

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

v0.0.42

Compare Source

What's Changed

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

v0.0.41

Compare Source

Add LogForwarder in coordinator

v0.0.40

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.39...0.0.40

v0.0.39: Push root ca cert to workload container

Compare Source

v0.0.38: bump release tag to match pyproject.toml

Compare Source

v0.0.37: s3 TLS support

Compare Source

added support for s3 TLS
minor touches to coordinator status

v0.0.36

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.34...0.0.36

v0.0.34: Fixed retry logic in worker object

Compare Source

v0.0.33: refactored worker status logic

Compare Source

refactored worker status logic

v0.0.32

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.31...0.0.32

v0.0.31

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.30...0.0.31

v0.0.30: holistic worker logic

Compare Source

refactored Worker logic to use a stateless reconciler function to avoid some pod-churn related race conditions

v0.0.29

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.28...0.0.29

v0.0.28

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.27...0.0.28

v0.0.27

Compare Source

unified config accessing logic so that it can be overridden by worker subclasses if a worker charm needs to preprocess its config on a per-unit basis

v0.0.26

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.25...0.0.26

v0.0.25

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.24...0.0.25

v0.0.24

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.23...0.0.24

v0.0.23: worker status checks TLS support

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.22...0.0.23

v0.0.22: Worker service status monitoring

Compare Source

The main feature is an update to the Coordinator-Worker classes, introducing a pebble-checks-based API to monitor the health of the worker service and set application status accordingly.
This takes care of some bugs we experienced in the past where the worker would not start and the admin had no way to notice it if not to manually GET a /ready endpoint on the application IP.

What's Changed

Full Changelog: canonical/cos-lib@0.0.21...0.0.22

v0.0.21

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.20...0.0.21

v0.0.20: Fix removeprefix for python3.8

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.19...0.0.20

v0.0.19

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.18...0.0.19

v0.0.18

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.17...0.0.18

v0.0.17

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.16...0.0.17

nedbat/coveragepy (coverage)

v7.6.9

Compare Source

  • Fix: Tomas Uribe fixed <pull 1901_>_ a performance problem in the XML
    report. Large code bases should produce XML reports much faster now.

.. _pull 1901:https://github.com/nedbat/coveragepy/pull/19011

.. _changes_7-6-8:

v7.6.8

Compare Source

  • Fix: the LCOV report code assumed that a branch line that took no branches
    meant that the entire line was unexecuted. This isn't true in a few cases:
    the line might always raise an exception, or might have been optimized away.
    Fixes issue 1896_.

  • Fix: similarly, the HTML report will now explain that a line that jumps to
    none of its expected destinations must have always raised an exception.
    Previously, it would say something nonsensical like, "line 4 didn't jump to
    line 5 because line 4 was never true, and it didn't jump to line 7 because
    line 4 was always true." This was also shown in issue 1896_.

.. _issue 1896:https://github.com/nedbat/coveragepy/issues/18966

.. _changes_7-6-7:

v7.6.7

Compare Source

  • fix: ugh, the other assert from 7.6.5 can also be encountered in the wild,
    so it's been restored to a conditional. Sorry for the churn.

.. _changes_7-6-6:

v7.6.6

Compare Source

  • One of the new asserts from 7.6.5 caused problems in real projects, as
    reported in issue 1891_. The assert has been removed.

.. _issue 1891:https://github.com/nedbat/coveragepy/issues/18911

.. _changes_7-6-5:

v7.6.5

Compare Source

  • fix: fine-tuned the exact Python version (3.12.6) when exiting from with
    statements changed how they traced. This affected whether people saw the
    fix for issue 1880_.

  • fix: isolate our code more from mocking in the os module that in rare cases
    can cause bizarre behavior <pytest-cov-666_>_.

  • refactor: some code unreachable code paths in parser.py were changed to
    asserts. If you encounter any of these, please let me know!

.. _pytest-cov-666:https://github.com/pytest-dev/pytest-cov/issues/6666

.. _changes_7-6-4:

v7.6.4

Compare Source

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

.. _issue 1880:https://github.com/nedbat/coveragepy/issues/18800

.. _changes_7-6-3:

v7.6.3

Compare Source

  • Fix: nested context managers could incorrectly be analyzed to flag a missing
    branch on the last context manager, as described in issue 1876_. This is
    now fixed.

  • Fix: the missing branch message about not exiting a module had an extra
    "didn't," as described in issue 1873_. This is now fixed.

.. _issue 1873:https://github.com/nedbat/coveragepy/issues/18733
.. _issue 1876https://github.com/nedbat/coveragepy/issues/187676

.. _changes_7-6-2:

v7.6.2

Compare Source

  • Dropped support for Python 3.8 and PyPy 3.8.

  • Fix: a final wildcard match/case clause assigning to a name (case _ as value) was incorrectly marked as a missing branch. This is now fixed,
    closing issue 1860_.

  • Fewer things are considered branches now. Lambdas, comprehensions, and
    generator expressions are no longer marked as missing branches if they don't
    complete execution. Closes issue 1852_.

  • Fix: the HTML report didn't properly show multi-line f-strings that end with
    a backslash continuation. This is now fixed, closing issue 1836, thanks
    to LiuYinCarl and Marco Ricci <pull 1838_>
    .

  • Fix: the LCOV report now has correct line numbers (fixing issue 1846) and
    better branch descriptions for BRDA records (fixing issue 1850
    ). There
    are other changes to lcov also, including a new configuration option
    :ref:line_checksums <config_lcov_line_checksums> to control whether line
    checksums are included in the lcov report. The default is false. To keep
    checksums set it to true. All this work is thanks to Zack Weinberg
    (pull 1849_ and pull 1851_).

  • Fixed the docs for multi-line regex exclusions, closing issue 1863_.

  • Fixed a potential crash in the C tracer, closing issue 1835, thanks to
    Jan Kühle <pull 1843_>
    .

.. _issue 1835:https://github.com/nedbat/coveragepy/issues/18355
.. _issue 1836https://github.com/nedbat/coveragepy/issues/183636
.. _pull 183https://github.com/nedbat/coveragepy/pull/1838838
.. _pull 18https://github.com/nedbat/coveragepy/pull/18431843
.. _issue 1https://github.com/nedbat/coveragepy/issues/1846/1846
.. _pull https://github.com/nedbat/coveragepy/pull/1849l/1849
.. _issuehttps://github.com/nedbat/coveragepy/issues/1850es/1850
.. _pulhttps://github.com/nedbat/coveragepy/pull/1851ull/1851
.. _isshttps://github.com/nedbat/coveragepy/issues/1852sues/1852
.. _ishttps://github.com/nedbat/coveragepy/issues/1860ssues/1860
.. _ihttps://github.com/nedbat/coveragepy/issues/1863issues/1863

.. _changes_7-6-1:

pycqa/flake8 (flake8)

v7.1.1

Compare Source

v7.1.0

Compare Source

gtsystem/lightkube (lightkube)

v0.16.0

Compare Source

What's Changed

Bug fixes

New Contributors

Full Changelog: gtsystem/lightkube@v0.15.4...v0.16.0

v0.15.8

Compare Source

v0.15.7

Compare Source

v0.15.6

Compare Source

v0.15.5

Compare Source

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)

v2.16.1

Compare Source

Fix

  • Don't alter os.environ when creating a Harness (#​1359)

v2.16.0

Compare Source

Features

  • Add the description field to SecretInfo in (#​1338)

Refactor

  • Parse JUJU_* environment variables in one place in (#​1313)

Fixes

  • Fix reading Juju secret expiry dates in (#​1317)
  • Correct the signature of .events() in (#​1342)

Documentation

  • Security policy change to only support each active major release in (#​1297)
  • Add Juju version markers in (#​1311)
  • Use Sphinx 8 in (#​1303)
  • Live reload documentation with sphinx-autobuild in (#​1323)

Tests

  • Update the smoke test series/bases in (#​1318)
  • Run pytest in parallel with pytest xdist in (#​1319)
  • Bump Pyright to 1.1.377 in (#​1332)
  • Run tests on Python 3.12 and the install test on Python 3.13 in (#​1315)

CI

  • Add a workflow that runs the TIOBE quality checks in (#​1301)
  • Allow executing the TIOBE workflow manually in (#​1321)
  • Make Pyright report unnecessary type ignore comments in (#​1333)
  • Enable linting of docs/custom_conf.py in (#​1330)
PyCQA/pep8-naming (pep8-naming)

v0.14.1

Compare Source

  • Require Python 3.8 or later.

v0.14.0

Compare Source

  • Drop support for Python 3.7.
  • Add support for Python 3.12.
  • Ignore methods decorated by @typing.override.
  • Perform case-sensitive ignore-names globbing on all platforms.
python-poetry/poetry-core (poetry-core)

v1.9.1

Compare Source

Added
  • Add 3.13 to the list of available Python versions (#​747).
pyca/pyopenssl (pyOpenSSL)

v24.3.0

Compare Source

Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Removed the deprecated OpenSSL.crypto.CRL, OpenSSL.crypto.Revoked, OpenSSL.crypto.dump_crl, and OpenSSL.crypto.load_crl. cryptography.x509's CRL functionality should be used instead.
  • Removed the deprecated OpenSSL.crypto.sign and OpenSSL.crypto.verify. cryptography.hazmat.primitives.asymmetric's signature APIs should be used instead.

Deprecations:
^^^^^^^^^^^^^

  • Deprecated OpenSSL.rand - callers should use os.urandom() instead.
  • Deprecated add_extensions and get_extensions on OpenSSL.crypto.X509Req and OpenSSL.crypto.X509. These should have been deprecated at the same time X509Extension was. Users should use pyca/cryptography's X.509 APIs instead.
  • Deprecated OpenSSL.crypto.get_elliptic_curves and OpenSSL.crypto.get_elliptic_curve, as well as passing the reult of them to OpenSSL.SSL.Context.set_tmp_ecdh, users should instead pass curves from cryptography.
  • Deprecated passing X509 objects to OpenSSL.SSL.Context.use_certificate, OpenSSL.SSL.Connection.use_certificate, OpenSSL.SSL.Context.add_extra_chain_cert, and OpenSSL.SSL.Context.add_client_ca, users should instead pass cryptography.x509.Certificate instances. This is in preparation for deprecating pyOpenSSL's X509 entirely.
  • Deprecated passing PKey objects to OpenSSL.SSL.Context.use_privatekey and OpenSSL.SSL.Connection.use_privatekey, users should instead pass cryptography priate key instances. This is in preparation for deprecating pyOpenSSL's PKey entirely.

Changes:
^^^^^^^^

  • cryptography maximum version has been increased to 44.0.x.
  • OpenSSL.SSL.Connection.get_certificate, OpenSSL.SSL.Connection.get_peer_certificate, OpenSSL.SSL.Connection.get_peer_cert_chain, and OpenSSL.SSL.Connection.get_verified_chain now take an as_cryptography keyword-argument. When True is passed then cryptography.x509.Certificate are returned, instead of OpenSSL.crypto.X509. In the future, passing False (the default) will be deprecated.
pydantic/pydantic (pydantic)

v1.10.19

Compare Source

mongodb/mongo-python-driver (pymongo)

v4.10.1: PyMongo 4.10.1

Compare Source

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-1-released/299573

v4.10.0: PyMongo 4.10.0

Compare Source

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-10-0-released/299474

v4.9.2: PyMongo 4.9.2

Compare Source

  • Fixed a bug where pymongo.asynchronous.mongo_client.AsyncMongoClient could deadlock.
  • Fixed a bug where PyMongo could fail to import on Windows if asyncio is misconfigured.
  • Fixed a bug where pymongo.results.UpdateResult.did_upsert would raise a TypeError.

v4.9.1: PyMongo 4.9.1

Compare Source

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-9-released/297833

v4.9

Compare Source

v4.8.0: PyMongo 4.8.0

Compare Source

Changes in Version 4.8.0

PyMongo 4.8 brings a number of improvements including:

  • The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time.
  • The repr of bson.binary.Binary is now redacted when the subtype is SENSITIVE_SUBTYPE(8).
  • Secure Software Development Life Cycle automation for release process.
    GitHub Releases now include a Software Bill of Materials, and signature
    files corresponding to the distribution files released on PyPI.
  • Fixed a bug in change streams where both startAtOperationTime and resumeToken
    could be added to a retry attempt, which caused the retry to fail.
  • Fallback to stdlib ssl module when pyopenssl import fails with AttributeError.
  • Improved performance of MongoClient operations, especially when many operations are being run concurrently.

Unavoidable breaking changes

  • Since we are now using hatch as our build backend, we no longer have a usable setup.py file
    and require installation using pip. Attempts to invoke the setup.py file will raise an exception.
    Additionally, pip >= 21.3 is now required for editable installs.

Issues Resolved

See the PyMongo 4.8 release notes in JIRA for the list of resolved issues in this release.


Full Changelog: mongodb/mongo-python-driver@4.7.1...4.8.0

pytest-dev/pytest (pytest)

v8.3.4

Compare Source

pytest 8.3.4 (2024-12-01)

Bug fixes

  • #​12592: Fixed KeyError{.interpreted-text role="class"} crash when using --import-mode=importlib in a directory layout where a directory contains a child directory with the same name.

  • #​12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the AST, like executing.

  • #​12849: ANSI escape codes for colored output now handled correctly in pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.

  • #​9353: pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.

Improved documentation

  • #​10558: Fix ambiguous docstring of pytest.Config.getoption{.interpreted-text role="func"}.

  • #​10829: Improve documentation on the current handling of the --basetemp option and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).

  • #​12866: Improved cross-references concerning the recwarn{.interpreted-text role="fixture"} fixture.

  • #​12966: Clarify filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple @pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.

Contributor-facing changes

  • #​12497: Fixed two failing pdb-related tests on Python 3.13.

<detai


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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 review from delgod and MiaAltieri October 24, 2024 01:54
Copy link
Contributor Author

renovate bot commented Oct 24, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv mongodb-k8s-TPm3349i-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs

Because pytest-operator (0.39.0) depends on pytest-asyncio (<0.23)
 and no versions of pytest-operator match >0.39.0,<0.40.0, pytest-operator (>=0.39.0,<0.40.0) requires pytest-asyncio (<0.23).
So, because mongodb-k8s depends on both pytest-asyncio (^0.25.0) and pytest-operator (^0.39.0), version solving failed.

@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from 1e91c4d to b639588 Compare November 3, 2024 10:00
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 61bb785 to 77a1c39 Compare November 11, 2024 15:27
@renovate renovate bot force-pushed the renovate/python-dependencies branch 5 times, most recently from 1559bc6 to 524ae17 Compare November 21, 2024 10:55
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from f2c5747 to 9c1742c Compare November 28, 2024 11:30
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 89e55e2 to c9d6b83 Compare December 6, 2024 20:37
@renovate renovate bot changed the title chore(deps): update python dependencies fix(deps): update python dependencies Dec 10, 2024
@renovate renovate bot force-pushed the renovate/python-dependencies branch 6 times, most recently from 3e548ab to e24e488 Compare December 16, 2024 15:21
@renovate renovate bot force-pushed the renovate/python-dependencies branch from e24e488 to 5d28f46 Compare December 18, 2024 12:08
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 5d28f46 to f794aae Compare December 18, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants