Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils.spawn is deprecated, gonna be removed #47

Open
nolange opened this issue Jul 27, 2022 · 2 comments
Open

distutils.spawn is deprecated, gonna be removed #47

nolange opened this issue Jul 27, 2022 · 2 comments

Comments

@nolange
Copy link

nolange commented Jul 27, 2022

/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
@ktnishide
Copy link

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

@chinloyal
Copy link
Contributor

Fixed with #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants