Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pywavelets = "^1.6.0"
pre-commit = { version = "^4.0.0", python = "^3.6.1" }
black = "^25.0.0"
ipykernel = "^6.9.1"
pytest-cov = "^6.0.0"
pytest-cov = "^7.0.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The update of pytest-cov to version 7.0.0 introduces a significant breaking change: support for automatic subprocess coverage measurement has been dropped.

Previously, pytest-cov would automatically measure coverage in subprocesses. This is no longer the case. If your test suite spawns subprocesses and you rely on their coverage being measured, you must now explicitly enable it in your coverage configuration.

As per the pytest-cov v7.0.0 release notes, you should add the following configuration to your pyproject.toml to restore this functionality:

[tool.coverage.run]
patch = ["subprocess"]

Without this change, you may see a silent drop in your code coverage metrics if your tests involve subprocesses. This is a critical change to be aware of when upgrading.

commitizen = "^4.0.0"
jupyter-contrib-nbextensions = "^0.7.0"
jupyter_nbextensions_configurator = "^0.6.0"
Expand All @@ -52,7 +52,7 @@ optional = true
[tool.poetry.group.docs.dependencies]
ipykernel = "^6.9.1"
matplotlib = "^3.4.0"
pytest-cov = "^6.0.0"
pytest-cov = "^7.0.0"
commitizen = "^4.0.0"
jupyter-contrib-nbextensions = "^0.7.0"
jupyter_nbextensions_configurator = "^0.6.0"
Expand Down
Loading