AdaCore / e3-core

Core framework for developing portable automated build systems
26 stars 36 forks source link

Handle coverage module backward incompatibility #725

Closed grouigrokon closed 3 months ago

grouigrokon commented 3 months ago

The CoverageData.update() method aliases argument has been replaced by _mappath in coverage 7.5.3 release (see nedbat/coveragepy@c45ebac)

Catch the exception and call the method with old parameters if needed.

pierretr commented 3 months ago

The CoverageData.update() method is not compatible between 7.5.2 and 7.5.3.

"The CoverageData update() method aliases argument has been replaced by map_path in coverage 7.5.3 release" might be clearer.

Also, Maybe it's worth it to mention https://github.com/nedbat/coveragepy/commit/c45ebac1b83656bfdd92d6675f08fa33627785e6 ?