diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b3d12b0..ac2c053 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,16 @@ See the fragment files in the `changelog.d directory`_. .. scriv-insert-here +.. _changelog-0.3.0: + +0.3.0 — 2024-12-31 +================== + +Fixed +----- + +- Remove directories from /bin when building layers + .. _changelog-0.2.1: 0.2.1 — 2024-12-05 diff --git a/src/venvstacks/stacks.py b/src/venvstacks/stacks.py index d70a554..ad9ac5a 100755 --- a/src/venvstacks/stacks.py +++ b/src/venvstacks/stacks.py @@ -1390,6 +1390,7 @@ def _ensure_portability(self) -> None: # so drop them entirely rather than making them portable for item in self.executables_path.iterdir(): if item.is_dir(): + print(f" Dropping directory {str(item)!r}") shutil.rmtree(item) elif not item.name.lower().startswith("python"): print(f" Dropping potentially non-portable file {str(item)!r}")