diff --git a/podman/__init__.py b/podman/__init__.py index 648d44b6..051d73cf 100644 --- a/podman/__init__.py +++ b/podman/__init__.py @@ -1,12 +1,7 @@ """Podman client module.""" -import sys - from podman.client import PodmanClient, from_env from podman.version import __version__ -if sys.version_info < (3, 9): - raise ImportError("Python 3.6 or greater is required.") - # isort: unique-list __all__ = ["PodmanClient", "__version__", "from_env"] diff --git a/podman/domain/images_manager.py b/podman/domain/images_manager.py index 9bfe7f17..5b2a1d02 100644 --- a/podman/domain/images_manager.py +++ b/podman/domain/images_manager.py @@ -287,7 +287,8 @@ def push( @staticmethod def _push_helper( - decode: bool, body: list[dict[str, Any]] # noqa: A003 + decode: bool, + body: list[dict[str, Any]], # noqa: A003 ) -> Iterator[Union[str, dict[str, Any]]]: """Helper needed to allow push() to return either a generator or a str.""" for entry in body: