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

Lock file maintenance Python dependencies #79

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
lockFileMaintenance All locks refreshed
black (changelog) lint minor ^24.4.2 -> ^24.10.0 age adoption passing confidence
black (changelog) fmt minor ^24.4.2 -> ^24.10.0 age adoption passing confidence
codespell lint patch ^2.2.6 -> ^2.3.0 age adoption passing confidence
cosl dependencies patch ^0.0.12 -> ^0.0.42 age adoption passing confidence
coverage unit patch ^7.5.1 -> ^7.6.3 age adoption passing confidence
flake8 (changelog) lint minor ^7.0.0 -> ^7.1.1 age adoption passing confidence
ops (changelog) lint minor ^2.13.0 -> ^2.17.0 age adoption passing confidence
ops (changelog) charm-libs minor 2.15.0 -> 2.17.0 age adoption passing confidence
poetry-core charm-libs patch 1.9.0 -> 1.9.1 age adoption passing confidence
pydantic (changelog) charm-libs patch 1.10.17 -> 1.10.18 age adoption passing confidence
pydantic (changelog) dependencies patch ^1.10.17 -> ^1.10.18 age adoption passing confidence
pyright lint patch ^1.1.318 -> ^1.1.385 age adoption passing confidence
pytest (changelog) integration patch ^8.2.2 -> ^8.3.3 age adoption passing confidence
pytest (changelog) unit patch ^8.2.2 -> ^8.3.3 age adoption passing confidence
pytest-asyncio (changelog) integration minor ^0.21.2 -> ^0.24.0 age adoption passing confidence
pytest-mock (changelog) unit patch ^3.11.1 -> ^3.14.0 age adoption passing confidence
pyyaml (source) unit patch ^6.0.1 -> ^6.0.2 age adoption passing confidence
pyyaml (source) dependencies patch ^6.0.1 -> ^6.0.2 age adoption passing confidence
tenacity integration patch ^8.4.2 -> ^8.5.0 age adoption passing confidence
tenacity dependencies patch ^8.4.2 -> ^8.5.0 age adoption passing confidence
typing-extensions (changelog) lint patch ^4.9.0 -> ^4.12.2 age adoption passing confidence

🔧 This Pull Request updates lock files to use the latest dependency versions.


Release Notes

psf/black (black)

v24.10.0

Compare Source

Highlights
  • Black is now officially tested with Python 3.13 and provides Python 3.13
    mypyc-compiled wheels. (#​4436) (#​4449)
  • Black will issue an error when used with Python 3.12.5, due to an upstream memory
    safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
    use Python 3.12.6 or Python 3.12.4 instead. (#​4447)
  • Black no longer supports running with Python 3.8 (#​4452)
Stable style
  • Fix crashes involving comments in parenthesised return types or X | Y style unions.
    (#​4453)
  • Fix skipping Jupyter cells with unknown %% magic (#​4462)
Preview style
  • Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#​4440)
Caching
  • Fix bug where the cache was shared between runs with and without --unstable (#​4466)
Packaging
  • Upgrade version of mypyc used to 1.12 beta (#​4450) (#​4449)
  • blackd now requires a newer version of aiohttp. (#​4451)
Output
  • Added Python target version information on parse error (#​4378)
  • Add information about Black version to internal error messages (#​4457)
canonical/cos-lib (cosl)

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

v0.0.16

Compare Source

What's Changed

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

v0.0.15

Compare Source

What's Changed

New Contributors

Full Changelog: canonical/cos-lib@0.0.13...0.0.15

v0.0.14

Compare Source

v0.0.13

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.12...0.0.13

nedbat/coveragepy (coverage)

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

canonical/operator (ops)

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)
python-poetry/poetry-core (poetry-core)

v1.9.1

Compare Source

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

v1.10.18

Compare Source

RobertCraigie/pyright-python (pyright)

v1.1.385

Compare Source

v1.1.384

Compare Source

v1.1.383

Compare Source

v1.1.382

Compare Source

v1.1.381

Compare Source

v1.1.380

Compare Source

v1.1.379

Compare Source

v1.1.378

Compare Source

v1.1.377

Compare Source

v1.1.376

Compare Source

pytest-dev/pytest (pytest)

v8.3.3

Compare Source

pytest 8.3.3 (2024-09-09)

Bug fixes

  • #​12446: Avoid calling @property (and other instance descriptors) during fixture discovery -- by asottile{.interpreted-text role="user"}

  • #​12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.

  • #​12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.

  • #​12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by Avasam{.interpreted-text role="user"}

  • #​12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.

  • #​6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).

  • #​9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.

    -- by GTowers1{.interpreted-text role="user"}

Improved documentation

  • #​12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
  • #​12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.

Miscellaneous internal changes

  • #​12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.
pytest-dev/pytest-asyncio (pytest-asyncio)

v0.24.0: pytest-asyncio 0.24.0

Compare Source

0.24.0 (2024-08-22)
  • BREAKING: Updated minimum supported pytest version to v8.2.0
  • Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #​706, #​871
  • Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
  • Raises an error when passing scope or loop_scope as a positional argument to @pytest.mark.asyncio. #​812
  • Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #​862 #​668

v0.23.8: pytest-asyncio 0.23.8

Compare Source

0.23.8 (2024-07-17)

  • Fixes a bug that caused duplicate markers in async tests #​813

Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.7: pytest-asyncio 0.23.7

Compare Source

0.23.7 (2024-05-19)
  • Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases #​817
Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.6: pytest-asyncio 0.23.6

Compare Source

0.23.6 (2024-03-19)
  • Fix compatibility with pytest 8.2 #​800
Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.5: pytest-asyncio 0.23.5

Compare Source

0.23.5 (2024-02-09)
  • Declare compatibility with pytest 8 #​737
  • Fix typing errors with recent versions of mypy #​769
  • Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #​757
Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.4: pytest-asyncio 0.23.4

Compare Source

0.23.4 (2024-01-28)
  • pytest-asyncio no longer imports additional, unrelated packages during test collection #​729
  • Addresses further issues that caused an internal pytest error during test collection
  • Declares incompatibility with pytest 8 #​737

v0.23.3: pytest-asyncio 0.23.3

Compare Source

0.23.3 (2024-01-01)
  • Fixes a bug that caused event loops to be closed prematurely when using async generator fixtures with class scope or wider in a function-scoped test #​706
  • Fixes various bugs that caused an internal pytest error during test collection #​711 #​713 #​719
Known issues

As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #​706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.

v0.23.2: pytest-asyncio 0.23.2

[Comp


Configuration

📅 Schedule: Branch creation - "after 1am and before 3am 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.

Copy link
Contributor Author

renovate bot commented Jul 1, 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...


Because pyproject-flake8 (7.0.0) depends on flake8 (7.0.0)
 and no versions of pyproject-flake8 match >7.0.0,<8.0.0, pyproject-flake8 (>=7.0.0,<8.0.0) requires flake8 (7.0.0).
So, because charm depends on both flake8 (^7.1.1) and pyproject-flake8 (^7.0.0), version solving failed.

@renovate renovate bot requested a review from a team July 1, 2024 01:20
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from f008c48 to 4c461d3 Compare July 12, 2024 01:05
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 175104d to f1755e7 Compare July 25, 2024 01:46
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from b836e2a to 8e33986 Compare July 30, 2024 01:39
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 918aff1 to 02d060e Compare August 12, 2024 02:07
@renovate renovate bot force-pushed the renovate/python-dependencies branch 5 times, most recently from 1b77c1a to 1197eed Compare August 21, 2024 03:01
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from b3ffdc6 to 2ca6213 Compare August 29, 2024 02:46
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from acd70c0 to db3a645 Compare September 9, 2024 02:01
@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from 9b5ee18 to ad1632c Compare September 11, 2024 01:48
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 8c78db2 to 35df86a Compare September 17, 2024 01:57
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 1af6e27 to 95b8f1c Compare September 24, 2024 01:07
@renovate renovate bot changed the base branch from main to 2/edge September 25, 2024 02:12
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 88ef484 to b0f4abc Compare October 3, 2024 01:05
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 72c261d to 31acec1 Compare October 10, 2024 01:35
@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from 95552ba to c60cdc2 Compare October 15, 2024 02:10
@renovate renovate bot force-pushed the renovate/python-dependencies branch from c60cdc2 to faf012b Compare October 18, 2024 02:03
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