From d2cff40b5ab8a90063606af087621c456e74a579 Mon Sep 17 00:00:00 2001 From: Athanasios Tasoglou Date: Thu, 19 Sep 2024 16:30:04 +0200 Subject: [PATCH 1/2] Fix bug in _get_item_from_extra_packages() causing extra packages to return always the latest version --- turludock/generate_dockerfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turludock/generate_dockerfile.py b/turludock/generate_dockerfile.py index b35642f..1806b88 100644 --- a/turludock/generate_dockerfile.py +++ b/turludock/generate_dockerfile.py @@ -65,7 +65,7 @@ def _get_item_from_extra_packages(extra_packages: list, package_name: str) -> Op return item if isinstance(item, str) and item == package_name: return item - return None + return None def _generate_description(yaml_config: Dict[str, Any]) -> str: From 5b4f20f3bd8830658248a5bd4249b95b6cca7d19 Mon Sep 17 00:00:00 2001 From: Athanasios Tasoglou Date: Thu, 19 Sep 2024 16:39:13 +0200 Subject: [PATCH 2/2] Bump version to 3.0.3 --- CHANGELOG | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 45234f5..70b5886 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.3] - 2024-09-19 + +### Fixed +- Fixed issue in the parsing of the "extra packages" where, if a custom version was specified, it was neglected and always the latest was being picked. + ## [3.0.2] - 2024-07-14 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 18911ad..d4713c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "turludock" -version = "3.0.2" +version = "3.0.3" description = "Builds ROS docker images that support GUI with either X11 or Wayland." authors = [ "Athanasios ",