From 1e1a0db5f7d511c2cddea2529c5cef34984b0cbc Mon Sep 17 00:00:00 2001 From: Torsten Kilias Date: Mon, 19 Feb 2024 07:46:25 +0100 Subject: [PATCH] Fix language definition generation under windows --- doc/changes/changelog.md | 1 + doc/changes/changes_0.10.0.md | 22 +++++++++++++++++++ .../deployment/language_container_deployer.py | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 doc/changes/changes_0.10.0.md diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 2f917c79..3902800e 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changelog +* [0.10.0](changes_0.9.0.md) * [0.9.0](changes_0.9.0.md) * [0.8.0](changes_0.8.0.md) * [0.7.0](changes_0.7.0.md) diff --git a/doc/changes/changes_0.10.0.md b/doc/changes/changes_0.10.0.md new file mode 100644 index 00000000..043562b5 --- /dev/null +++ b/doc/changes/changes_0.10.0.md @@ -0,0 +1,22 @@ +# Transformers Extension 0.10.0, T.B.D + +Code name: T.B.D + + +## Summary +T.B.D + + +### Features + + +### Bug Fixes + +- #166: Error deploying language container under Windows + +### Refactorings + + +### Security + + diff --git a/exasol_transformers_extension/deployment/language_container_deployer.py b/exasol_transformers_extension/deployment/language_container_deployer.py index d3d3170f..d56741a0 100644 --- a/exasol_transformers_extension/deployment/language_container_deployer.py +++ b/exasol_transformers_extension/deployment/language_container_deployer.py @@ -228,7 +228,7 @@ def _generate_new_language_settings(self, path_in_udf: PurePosixPath, other_definitions = [ alias_definition for alias_definition in prev_lang_aliases if not alias_definition.startswith(self._language_alias + "=")] - path_in_udf_without_bucksts = Path(*path_in_udf.parts[2:]) + path_in_udf_without_bucksts = PurePosixPath(*path_in_udf.parts[2:]) new_language_alias_definition = \ f"{self._language_alias}=localzmq+protobuf:///" \ f"{path_in_udf_without_bucksts}?lang=python#" \