eriwen / lcov-to-cobertura-xml

Converts lcov output to Cobertura-compatible XML for CI
https://eriwen.github.io/lcov-to-cobertura-xml/
Apache License 2.0
189 stars 73 forks source link

New release to include Python 3.12 fix #56

Open dieram3 opened 2 months ago

dieram3 commented 2 months ago

Is there any upcoming release planned? I found myself needing to run lcov_cobertura on Ubuntu 24.04, which comes with Python 3.12, and I found it doesn't work. This issue was fixed in #51, however the fix is not yet available on PyPi. A new release (2.0.3) including this fix would be much appreciated.

yoriiis commented 4 days ago

@eriwen Sorry to interrupt, do you have any news about this please? Thank you

2.0.2 is the latest tag available on https://pypi.org/project/lcov-cobertura

yoriiis commented 2 days ago

For those who need to run the latest version of the master branch while waiting for the next tag, you can use it like this.

curl -o lcov_cobertura.py https://raw.githubusercontent.com/eriwen/lcov-to-cobertura-xml/028da3798355d0260c6c6491b39347d84ca7a02d/lcov_cobertura/lcov_cobertura.py
python3 lcov_cobertura.py coverage/lcov.info --output coverage/cobertura-coverage.xml

Note: I pointed to the merge commit 028da3798355d0260c6c6491b39347d84ca7a02d rather than the master branch.