Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 254273b

Browse filesBrowse files
committed
Pass SYSTEMROOT env variable to fix "_Py_HashRandomization_Init" error on Windows
1 parent 4886f1b commit 254273b
Copy full SHA for 254273b

File tree

Expand file treeCollapse file tree

3 files changed

+7
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-3
lines changed
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff 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
Collapse file

‎bin/awslocal‎

Copy file name to clipboardExpand all lines: bin/awslocal
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ S3_VIRTUAL_ENDPOINT_HOSTNAME = 's3.localhost.localstack.cloud'
2828
if 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+
3134
from 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'
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.