File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Open diff view settings
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ pip install https://github.com/boto/botocore/archive/v2.zip https://github.com/a
6363
6464## Change Log
6565
66+ * v0.18: Pass ` SYSTEMROOT ` env variable to fix "_ Py_HashRandomization_Init" error on Windows
67+ * v0.17: Remove obsolete/erroneous FORCE_V2 flag
6668* v0.16: Minor fix reading addressing_style in profile config
6769* v0.15: Fix lookup of v1/v2 AWS CLI version, apply --s3-endpoint-url only for v1
6870* v0.14: Quote file name for windows to allow folder names with spaces
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ S3_VIRTUAL_ENDPOINT_HOSTNAME = 's3.localhost.localstack.cloud'
2828if os .path .isdir (os .path .join (PARENT_FOLDER , '.venv' )):
2929 sys .path .insert (0 , PARENT_FOLDER )
3030
31+ # names of additional environment variables to pass to subprocess
32+ ENV_VARS_TO_PASS = ['PATH' , 'PYTHONPATH' , 'SYSTEMROOT' ]
33+
3134from localstack_client import config # noqa: E402
3235
3336
@@ -153,8 +156,7 @@ def run_as_separate_process():
153156 Constructs a command line string and calls "aws" as an external process.
154157 """
155158 env_dict = prepare_environment ()
156- env_vars = ['PATH' , 'PYTHONPATH' ]
157- env_dict = {k : v for k , v in env_dict .items () if k .startswith ('AWS_' ) or k in env_vars }
159+ env_dict = {k : v for k , v in env_dict .items () if k .startswith ('AWS_' ) or k in ENV_VARS_TO_PASS }
158160
159161 cmd_args = prepare_cmd_args ()
160162 cmd_args [0 ] = 'aws'
Original file line number Diff line number Diff line change 66
77 setup (
88 name = 'awscli-local' ,
9- version = '0.17 ' ,
9+ version = '0.18 ' ,
1010 description = 'Thin wrapper around the "aws" command line interface for use with LocalStack' ,
1111 author = 'Waldemar Hummer' ,
1212 author_email = 'waldemar.hummer@gmail.com' ,
You can’t perform that action at this time.
0 commit comments