Installed 70 packages in 320ms
Traceback (most recent call last):
File "/root/.cache/uv/archive-v0/P0Uct19t8BntLJuBLLj9W/bin/caper", line 5, in <module>
from caper.cli import main
File "/root/.cache/uv/archive-v0/P0Uct19t8BntLJuBLLj9W/lib/python3.12/site-packages/caper/cli.py", line 13, in <module>
from .caper_args import ResourceAnalysisReductionMethod, get_parser_and_defaults
File "/root/.cache/uv/archive-v0/P0Uct19t8BntLJuBLLj9W/lib/python3.12/site-packages/caper/caper_args.py", line 7, in <module>
from .arg_tool import update_parsers_defaults_with_conf
File "/root/.cache/uv/archive-v0/P0Uct19t8BntLJuBLLj9W/lib/python3.12/site-packages/caper/arg_tool.py", line 5, in <module>
from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils'
When running with Python 3.12, the latest version of
caperCLI (2.3.2) fails to run due to a dependency on the deprecateddistutilspackage.Reproduction: (
uvxis used to install and run a Python CLI tool in an isolated venv)Output: