Update Docker Compose integration to use v2 CLI and get container name#168
Open
Update Docker Compose integration to use v2 CLI and get container name#168
Conversation
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
docker composeCLI (instead of the Python module ordocker-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]docker-compose<2dependency and related comments fromsetup.py, reflecting the move to Compose v2 and the CLI approach.Python version and dependency updates:
Dependency and import modernization:
pkg_resourcesusage withimportlib.metadatafor version retrieval in__init__.py.pkg_resources.parse_versiontopackaging.version.parsefor version parsing inconfig.py.Changelog:
CHANGELOG.mddocumenting Docker Compose v2 support and Python 3.7 deprecation.