Skip to content

Upgrading pytest-cov 3 to 4

Breaking3.0.0 → 4.1.0Breaking4Platform1New2Changed2Fixed3Other2

BreakingUpgrade verdict

4 breaking changes and a platform requirement change.

  • Removed rsyncdir support.
  • --cov-fail-under no longer causes pytest --collect-only to fail Contributed by Zac Hatfield-Dodds in.
  • Dropped support for multiprocessing (mostly because issue 82408).
  • Removed undesirable new lines that were displayed while reporting was disabled.
Top 4 of 5 that need code or config changes

Python requirement changed in 4.1.0: >=3.6 → >=3.7.

Breaking4
Removed rsyncdir support.
--cov-fail-under no longer causes pytest --collect-only to fail Contributed by Zac Hatfield-Dodds in.
--cov-fail-under
Dropped support for multiprocessing (mostly because issue 82408).
.coveragerc
Removed undesirable new lines that were displayed while reporting was disabled.
Platform1
Dropped support for Python 3.6.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: variable hookwrapper
  • removed: function multiprocessing_start(_)
  • removed: variable multiprocessing_finish