File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 6161 pip install awscli-local[ver1]
6262 pip install terraform-local
6363
64+ # Note: Install the same boto3 version as installed in the image. This is a small fix to avoid
65+ # assertion errors (missing `BucketArn` in S3 responses). TODO: to be fixed in a future iteration!
66+ version=$(docker run --entrypoint= --rm localstack/localstack-pro bash -c '. .venv/bin/activate; pip show boto3 | grep Version | cut -d" " -f2')
67+ (. .venv/bin/activate; pip install "boto3==$version")
68+
6469 find /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws*
6570 ls -la /home/runner/.cache/localstack/volume/lib/extensions/python_venv/lib/python3.*/site-packages/aws*
6671 DEBUG=1 GATEWAY_SERVER=hypercorn localstack start -d
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ dependencies = [
1818
1919[project .optional-dependencies ]
2020test =[
21- # Note: Currently requires a version pin, to avoid assertion errors (missing
22- # `BucketARN` response property) TODO: to be fixed in a future iteration!
23- " boto3==1.40.55" ,
2421 # couple of dependencies required to import localstack test tools
2522 " localstack-core[base-runtime]>4.9" ,
2623 " moto-ext" ,
You can’t perform that action at this time.
0 commit comments