Skip to content

Commit

Permalink
#166: Fix language definition generation under Windows (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias authored Feb 20, 2024
1 parent 1fdc673 commit dba0115
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 21 deletions.
1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog

* [0.10.0](changes_0.10.0.md)
* [0.9.2](changes_0.9.2.md)
* [0.9.1](changes_0.9.1.md)
* [0.9.0](changes_0.9.0.md)
Expand Down
22 changes: 22 additions & 0 deletions doc/changes/changes_0.10.0.md
Original file line number Diff line number Diff line change
@@ -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


Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ 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_buckets = PurePosixPath(*path_in_udf.parts[2:])
new_language_alias_definition = \
f"{self._language_alias}=localzmq+protobuf:///" \
f"{path_in_udf_without_bucksts}?lang=python#" \
f"{path_in_udf_without_buckets}?lang=python#" \
f"{path_in_udf}/exaudf/exaudfclient_py3"
new_definitions = other_definitions + [new_language_alias_definition]
new_definitions_str = " ".join(new_definitions)
Expand Down
Loading

0 comments on commit dba0115

Please sign in to comment.