diff --git a/c2cciutils/__init__.py b/c2cciutils/__init__.py index bcfce41ed..287ebaa31 100644 --- a/c2cciutils/__init__.py +++ b/c2cciutils/__init__.py @@ -189,17 +189,13 @@ def get_config(branch: Optional[str] = None) -> c2cciutils.configuration.Configu "print_versions": { "versions": [ {"name": "c2cciutils", "cmd": ["c2cciutils", "--version"]}, - {"name": "codespell", "cmd": ["codespell", "--version"], "prefix": "codespell "}, {"name": "java", "cmd": ["java", "-version"]}, {"name": "python", "cmd": ["python3", "--version"]}, {"name": "pip", "cmd": ["python3", "-m", "pip", "--version"]}, - {"name": "pipenv", "cmd": ["pipenv", "--version"]}, {"name": "node", "prefix": "node ", "cmd": ["node", "--version"]}, {"name": "npm", "prefix": "npm ", "cmd": ["npm", "--version"]}, {"name": "docker", "cmd": ["docker", "--version"]}, - {"name": "docker-compose", "cmd": ["docker-compose", "--version"]}, - {"name": "kubectl", "cmd": ["kubectl", "version"]}, - {"name": "k3d/k3s", "cmd": ["k3d", "--version"]}, + {"name": "docker compose", "cmd": ["docker", "compose", "version"]}, ] }, "print_config": True, diff --git a/c2cciutils/scripts/main.py b/c2cciutils/scripts/main.py index 90a7b9f07..36ce43935 100644 --- a/c2cciutils/scripts/main.py +++ b/c2cciutils/scripts/main.py @@ -27,7 +27,7 @@ def main() -> None: print(yaml.dump(c2cciutils.get_config(), default_flow_style=False, Dumper=yaml.SafeDumper)) if args.version: - for pkg in ("c2cciutils", "black", "isort"): + for pkg in ("c2cciutils", "black", "isort", "codespell", "pipenv"): try: print(f"{pkg} {pkg_resources.get_distribution(pkg).version}") except pkg_resources.DistributionNotFound: