Skip to content

Update Docker Compose integration to use v2 CLI and get container name#168

Open
Luladjiev wants to merge 6 commits intomasterfrom
support_compose_v2
Open

Update Docker Compose integration to use v2 CLI and get container name#168
Luladjiev wants to merge 6 commits intomasterfrom
support_compose_v2

Conversation

@Luladjiev
Copy link
Member

@Luladjiev Luladjiev commented Dec 12, 2025

from labels

This pull request introduces several important updates in preparation for version 14.0.0, including support for Docker Compose v2, removal of Python 3.7 support, and modernization of some dependencies and internal APIs. The changes also update the GitHub Actions test matrix and streamline Docker Compose integration.

Key changes:

Docker Compose v2 support and related improvements:

  • Updated Docker Compose integration to use the docker compose CLI (instead of the Python module or docker-compose), enabling support for Docker Compose v2. This includes changing how compose processes are run and how container service names are extracted, ensuring compatibility across Compose versions. [1] [2] [3]
  • Removed the docker-compose<2 dependency and related comments from setup.py, reflecting the move to Compose v2 and the CLI approach.

Python version and dependency updates:

  • Dropped support for Python 3.7 and updated the GitHub Actions test matrix to test only supported Python versions (3.8+), and updated the tested Ubuntu versions. [1] [2]

Dependency and import modernization:

  • Replaced deprecated pkg_resources usage with importlib.metadata for version retrieval in __init__.py.
  • Switched from pkg_resources.parse_version to packaging.version.parse for version parsing in config.py.

Changelog:

  • Added a new section for v14.0.0 in CHANGELOG.md documenting Docker Compose v2 support and Python 3.7 deprecation.

@Luladjiev Luladjiev marked this pull request as ready for review February 6, 2026 10:25
@Luladjiev Luladjiev requested a review from a team February 6, 2026 10:25
@Luladjiev
Copy link
Member Author

@EDITD/platform This PR allows developers using Podman to use Kubetools for development. It was tested by some of the developers already and we didn't stumble upon any issues.

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

Successfully merging this pull request may close these issues.

1 participant