Skip to content

Commit 623a539

Browse files
committed
Bump release to 5.4.0.1
The podman pyproject.toml was updated to fix a packaging issue that prevented the `import podman.api` to work. This caused an issue in the package versioning. Python-podman cannot be bumped to version 5.4.1 since it will try to use the libpod/v5.4.1/ endpoint which is not released yet. Python-podman uses the same versioning scheme and so the package need to add a fourth digi in the version scheme to be released on PyPI. This can be avoided in distribution packages with the option of a new release or a patch downstream, but on GitHub and PyPI this is the workaround. Source for packaging Python software https://packaging.python.org/en/latest/specifications/version-specifiers/#version-specifiers Signed-off-by: Nicola Sella <[email protected]>
1 parent 49d8827 commit 623a539

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "podman"
7-
dynamic = ["version"]
7+
# TODO: remove the line version = ... on podman-py > 5.4.0 releases
8+
# dynamic = ["version"]
9+
version = "5.4.0.1"
810
description = "Bindings for Podman RESTful API"
911
readme = "README.md"
1012
license = {file = "LICENSE"}
@@ -70,8 +72,9 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S"
7072
where = ["."]
7173
include = ["podman*"]
7274

73-
[tool.setuptools.dynamic]
74-
version = {attr = "podman.version.__version__"}
75+
# TODO: remove the line version = ... on podman-py > 5.4.0 releases
76+
# [tool.setuptools.dynamic]
77+
# version = {attr = "podman.version.__version__"}
7578

7679
[tool.ruff]
7780
line-length = 100

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = podman
3-
version = 5.4.0
3+
version = 5.4.0.1
44
author = Brent Baude, Jhon Honce, Urvashi Mohnani, Nicola Sella
55
author_email = [email protected]
66
description = Bindings for Podman RESTful API

0 commit comments

Comments
 (0)