Update config.py by tanaydin · Pull Request #1754 · nedbat/coveragepy (original) (raw)

Mend
Renovate

This PR contains the following updates:

| Package | Type | Update | Change | Age | Adoption | Passing |

Confidence | |---|---|---|---|---|---|---|---| | astral-sh/ruff-pre-commit | repository | minor | v0.2.1 -> v0.3.3 | age | adoption | passing | confidence | | docs/MarkDown (changelog) | project.optional-dependencies | minor | ==3.5.2 -> ==3.6 | age | adoption | passing | confidence | | docs/mkdocs-material | project.optional-dependencies | patch | ==9.5.8 -> ==9.5.13 | age | adoption | passing | confidence | | docs/mkdocstrings (changelog) | project.optional-dependencies | patch | ==0.24.0 -> ==0.24.1 | age | adoption | passing | confidence | | docs/mkdocstrings-python (changelog) | project.optional-dependencies | minor | ==1.8.0 -> ==1.9.0 | age | adoption | passing | confidence | | misc-lint/ruff (source, changelog) | project.optional-dependencies | minor | ==0.2.1 -> ==0.3.3 | age | adoption | passing | confidence | | pytest/coverage | project.optional-dependencies | patch | ==7.4.1 -> ==7.4.4 | age | adoption | passing | confidence | | pytest/pytest (changelog) | project.optional-dependencies | minor | ==8.0.0 -> ==8.1.1 | age | adoption | passing | confidence | | pytest/pytest-asyncio (changelog) | project.optional-dependencies | patch | ==0.23.5 -> ==0.23.5.post1 | age | adoption | passing | confidence | | pytest/pytest-subtests | project.optional-dependencies | minor | ==0.11.0 -> ==0.12.1 | age | adoption | passing | confidence | | typecheck/mypy (source, changelog) | project.optional-dependencies | minor | ==1.8.0 -> ==1.9.0 | age | adoption | passing | confidence | | typecheck/types-Markdown (changelog) | project.optional-dependencies | minor | ==3.5.0.20240129 -> ==3.6.0.20240316 | age | adoption | passing | confidence | | typecheck/types-beautifulsoup4 (changelog) | project.optional-dependencies | patch | ==4.12.0.20240106 -> ==4.12.0.20240229 | age | adoption | passing | confidence |

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)

v0.3.3

Compare Source

v0.3.2

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.3.2

v0.3.1

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.3.1

v0.3.0

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.3.0

v0.2.2

Compare Source

See: https://github.com/astral-sh/ruff/releases/tag/v0.2.2

Python-Markdown/markdown (docs/MarkDown)

v3.6

Compare Source

squidfunk/mkdocs-material (docs/mkdocs-material)

v9.5.13: mkdocs-material-9.5.13

Compare Source

Thanks to @​kamilkrzyskow and @​scepka for their contributions

v9.5.12: mkdocs-material-9.5.12

Compare Source

v9.5.11: mkdocs-material-9.5.11

Compare Source

v9.5.10: mkdocs-material-9.5.10

Compare Source

v9.5.9: mkdocs-material-9.5.9

Compare Source

mkdocstrings/mkdocstrings (docs/mkdocstrings)

v0.24.1

Compare Source

Compare with 0.24.0

Code Refactoring
mkdocstrings/python (docs/mkdocstrings-python)

v1.9.0

Compare Source

Compare with 1.8.0

Dependencies
Features

#​120](https://togithub.com/mkdocstrings/python/issues/120), PR #​130

#​128](https://togithub.com/mkdocstrings/python/pull/128), PR griffe#221: : https://github.com/mkdocstrings/griffe/pull/221

Code Refactoring
astral-sh/ruff (misc-lint/ruff)

v0.3.3

Compare Source

Preview features
Rule changes
CLI
Bug fixes
Documentation

v0.3.2

Compare Source

Preview features
Rule changes
Bug fixes

v0.3.1

Compare Source

Preview features
Rule changes

(#​10194)

CLI
Configuration
Bug fixes

v0.3.0

Compare Source

This release introduces the new Ruff formatter 2024.2 style and adds a new lint rule to detect invalid formatter suppression comments.

Preview features
Rule changes
Formatter

This release introduces the Ruff 2024.2 style, stabilizing the following changes:

CLI
Bug fixes
Performance
Documentation

v0.2.2

Compare Source

Highlights include:

Preview features
Rule changes
Formatter
CLI
Bug fixes
Performance
nedbat/coveragepy (pytest/coverage)

v7.4.4

Compare Source

.. _issue 1752:https://github.com/nedbat/coveragepy/issues/17522 .. _pull 1754https://github.com/nedbat/coveragepy/pull/175454

.. _changes_7-4-3:

v7.4.3

Compare Source

.. _issue 1733:https://github.com/nedbat/coveragepy/issues/17333

.. _changes_7-4-2:

v7.4.2

Compare Source

.. _pull 1747:https://github.com/nedbat/coveragepy/pull/17477

.. _changes_7-4-1:

pytest-dev/pytest (pytest/pytest)

v8.1.1

Compare Source

pytest 8.1.1 (2024-03-08)

::: {.note} ::: {.title} Note :::

This release is not a usual bug fix release -- it contains features and improvements, being a follow up to 8.1.0, which has been yanked from PyPI. :::

Features

If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.

Improvements

#​103577](https://togithub.com/python/cpython/issues/103577) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.

Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.

This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).

Previously, the mode was hard-coded to be "w" which truncates the file before logging.

Bug Fixes

This change improves the collection tree for tests specified using --pyargs, see 12043{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.

Improved Documentation

Trivial/Internal Changes

If you really need to, copy the function from the previous pytest release.

It was discovered after 8.1.0 was released that the warnings about the impeding removal were not being displayed, so the team decided to revert the removal.

This is the reason for `8.1.0` being yanked.

pytest 8.1.0 (YANKED)

::: {.note} ::: {.title} Note :::

This release has been yanked: it broke some plugins without the proper warning period, due to some warnings not showing up as expected.

See #​12069. :::

v8.1.0

Compare Source

pytest 8.1.0 (YANKED)

[!IMPORTANT]
This release has been yanked: it broke some plugins without the proper warning period, due to some warnings not showing up as expected. See #​12069.

Features

If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.

Improvements

#​103577](https://togithub.com/python/cpython/issues/103577) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.

Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.

This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).

Previously, the mode was hard-coded to be "w" which truncates the file before logging.

Bug Fixes

This change improves the collection tree for tests specified using --pyargs, see 12043{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.

Improved Documentation

Trivial/Internal Changes

If you really need to, copy the function from the previous pytest release.

v8.0.2

Compare Source

pytest 8.0.2 (2024-02-24)

Bug Fixes

v8.0.1

Compare Source

pytest 8.0.1 (2024-02-16)

Bug Fixes

pytest-dev/pytest-asyncio (pytest/pytest-asyncio)

v0.23.5.post1: pytest-asyncio 0.23.5.post1

Compare Source

0.23.5 (2024-02-09)

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.

pytest-dev/pytest-subtests (pytest/pytest-subtests)

v0.12.1

Compare Source

.. _#125:https://github.com/pytest-dev/pytest-subtests/issues/1255

v0.12.0

Compare Source

.. _#113:https://github.com/pytest-dev/pytest-subtests/pull/1133 .. _#115https://github.com/pytest-dev/pytest-subtests/pull/11515

python/mypy (typecheck/mypy)

v1.9.0

Compare Source


Configuration

📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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 has been generated by Mend Renovate. View repository job log here.


Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com