lcov-to-cobertura-xml
lcov-to-cobertura-xml copied to clipboard
distutils.spawn is deprecated, gonna be removed
trafficstars
/tmp/./lcov_cobertura.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.spawn import find_executable
Having issues on Azure pipelines:
Starting: lcov to cobertura
==============================================================================
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.229.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
========================== Starting Command Output ===========================
/bin/bash --noprofile --norc /Users/runner/work/_temp/b8eef4a9-c1cd-43bf-ad8c-dc5c99920dd7.sh
Cloning into 'lcov-to-cobertura-xml'...
Traceback (most recent call last):
File "/Users/runner/work/1/s/lcov-to-cobertura-xml/lcov_cobertura/lcov_cobertura.py", line 21, in <module>
from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils'
##[error]Bash exited with code '1'.
Finishing: lcov to cobertura
Fixed with #51