Skip to content

Commit 2ea4869

Browse files
committed
Add boto3 for localstack doctests.
1 parent dda2b45 commit 2ea4869

File tree

7 files changed

+87
-15
lines changed

7 files changed

+87
-15
lines changed

localstack/testcontainers/localstack/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class LocalStackContainer(DockerContainer):
3232
3333
.. doctest::
3434
35+
>>> import boto3
3536
>>> from testcontainers.localstack import LocalStackContainer
3637
3738
>>> with LocalStackContainer(image="localstack/localstack:0.11.4") as localstack:

requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
-e file:rabbitmq
2222
-e file:redis
2323
-e file:selenium
24+
boto3 # Required for localstack doctest.
2425
cryptography<37
2526
flake8<3.8.0 # 3.8.0 adds a dependency on importlib-metadata which conflicts with other packages.
2627
pg8000

requirements/3.10.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,20 @@ attrs==22.2.0
8888
# trio
8989
azure-core==1.26.4
9090
# via azure-storage-blob
91-
azure-storage-blob==12.15.0
91+
azure-storage-blob==12.16.0
9292
# via testcontainers-azurite
9393
babel==2.12.1
9494
# via sphinx
9595
bcrypt==4.0.1
9696
# via paramiko
9797
bleach==6.0.0
9898
# via readme-renderer
99+
boto3==1.26.112
100+
# via -r requirements.in
101+
botocore==1.29.112
102+
# via
103+
# boto3
104+
# s3transfer
99105
cachetools==5.3.0
100106
# via google-auth
101107
certifi==2022.12.7
@@ -155,7 +161,7 @@ flake8==3.7.9
155161
# via -r requirements.in
156162
google-api-core[grpc]==2.11.0
157163
# via google-cloud-pubsub
158-
google-auth==2.17.2
164+
google-auth==2.17.3
159165
# via google-api-core
160166
google-cloud-pubsub==2.16.0
161167
# via testcontainers-gcp
@@ -203,6 +209,10 @@ jeepney==0.8.0
203209
# secretstorage
204210
jinja2==3.1.2
205211
# via sphinx
212+
jmespath==1.0.1
213+
# via
214+
# boto3
215+
# botocore
206216
jsonschema==3.2.0
207217
# via docker-compose
208218
kafka-python==2.0.2
@@ -245,7 +255,7 @@ pluggy==1.0.0
245255
# via pytest
246256
proto-plus==1.22.2
247257
# via google-cloud-pubsub
248-
protobuf==4.22.1
258+
protobuf==4.22.3
249259
# via
250260
# google-api-core
251261
# google-cloud-pubsub
@@ -297,6 +307,7 @@ python-arango==7.5.7
297307
# via testcontainers-arangodb
298308
python-dateutil==2.8.2
299309
# via
310+
# botocore
300311
# opensearch-py
301312
# pg8000
302313
python-dotenv==0.21.1
@@ -342,6 +353,8 @@ rsa==4.9
342353
# via
343354
# google-auth
344355
# python-jose
356+
s3transfer==0.6.0
357+
# via boto3
345358
scramp==1.4.4
346359
# via pg8000
347360
secretstorage==3.3.3
@@ -411,6 +424,7 @@ tzlocal==4.3
411424
# via clickhouse-driver
412425
urllib3[socks]==1.26.15
413426
# via
427+
# botocore
414428
# docker
415429
# minio
416430
# opensearch-py

requirements/3.11.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,20 @@ attrs==22.2.0
8888
# trio
8989
azure-core==1.26.4
9090
# via azure-storage-blob
91-
azure-storage-blob==12.15.0
91+
azure-storage-blob==12.16.0
9292
# via testcontainers-azurite
9393
babel==2.12.1
9494
# via sphinx
9595
bcrypt==4.0.1
9696
# via paramiko
9797
bleach==6.0.0
9898
# via readme-renderer
99+
boto3==1.26.112
100+
# via -r requirements.in
101+
botocore==1.29.112
102+
# via
103+
# boto3
104+
# s3transfer
99105
cachetools==5.3.0
100106
# via google-auth
101107
certifi==2022.12.7
@@ -152,7 +158,7 @@ flake8==3.7.9
152158
# via -r requirements.in
153159
google-api-core[grpc]==2.11.0
154160
# via google-cloud-pubsub
155-
google-auth==2.17.2
161+
google-auth==2.17.3
156162
# via google-api-core
157163
google-cloud-pubsub==2.16.0
158164
# via testcontainers-gcp
@@ -200,6 +206,10 @@ jeepney==0.8.0
200206
# secretstorage
201207
jinja2==3.1.2
202208
# via sphinx
209+
jmespath==1.0.1
210+
# via
211+
# boto3
212+
# botocore
203213
jsonschema==3.2.0
204214
# via docker-compose
205215
kafka-python==2.0.2
@@ -242,7 +252,7 @@ pluggy==1.0.0
242252
# via pytest
243253
proto-plus==1.22.2
244254
# via google-cloud-pubsub
245-
protobuf==4.22.1
255+
protobuf==4.22.3
246256
# via
247257
# google-api-core
248258
# google-cloud-pubsub
@@ -294,6 +304,7 @@ python-arango==7.5.7
294304
# via testcontainers-arangodb
295305
python-dateutil==2.8.2
296306
# via
307+
# botocore
297308
# opensearch-py
298309
# pg8000
299310
python-dotenv==0.21.1
@@ -339,6 +350,8 @@ rsa==4.9
339350
# via
340351
# google-auth
341352
# python-jose
353+
s3transfer==0.6.0
354+
# via boto3
342355
scramp==1.4.4
343356
# via pg8000
344357
secretstorage==3.3.3
@@ -404,6 +417,7 @@ tzlocal==4.3
404417
# via clickhouse-driver
405418
urllib3[socks]==1.26.15
406419
# via
420+
# botocore
407421
# docker
408422
# minio
409423
# opensearch-py

requirements/3.7.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ attrs==22.2.0
8888
# trio
8989
azure-core==1.26.4
9090
# via azure-storage-blob
91-
azure-storage-blob==12.15.0
91+
azure-storage-blob==12.16.0
9292
# via testcontainers-azurite
9393
babel==2.12.1
9494
# via sphinx
@@ -100,6 +100,12 @@ bcrypt==4.0.1
100100
# via paramiko
101101
bleach==6.0.0
102102
# via readme-renderer
103+
boto3==1.26.112
104+
# via -r requirements.in
105+
botocore==1.29.112
106+
# via
107+
# boto3
108+
# s3transfer
103109
cached-property==1.5.2
104110
# via docker-compose
105111
cachetools==5.3.0
@@ -161,7 +167,7 @@ flake8==3.7.9
161167
# via -r requirements.in
162168
google-api-core[grpc]==2.11.0
163169
# via google-cloud-pubsub
164-
google-auth==2.17.2
170+
google-auth==2.17.3
165171
# via google-api-core
166172
google-cloud-pubsub==2.16.0
167173
# via testcontainers-gcp
@@ -219,6 +225,10 @@ jeepney==0.8.0
219225
# secretstorage
220226
jinja2==3.1.2
221227
# via sphinx
228+
jmespath==1.0.1
229+
# via
230+
# boto3
231+
# botocore
222232
jsonschema==3.2.0
223233
# via docker-compose
224234
kafka-python==2.0.2
@@ -261,7 +271,7 @@ pluggy==1.0.0
261271
# via pytest
262272
proto-plus==1.22.2
263273
# via google-cloud-pubsub
264-
protobuf==4.22.1
274+
protobuf==4.22.3
265275
# via
266276
# google-api-core
267277
# google-cloud-pubsub
@@ -313,6 +323,7 @@ python-arango==7.5.6
313323
# via testcontainers-arangodb
314324
python-dateutil==2.8.2
315325
# via
326+
# botocore
316327
# opensearch-py
317328
# pg8000
318329
python-dotenv==0.21.1
@@ -359,6 +370,8 @@ rsa==4.9
359370
# via
360371
# google-auth
361372
# python-jose
373+
s3transfer==0.6.0
374+
# via boto3
362375
scramp==1.4.4
363376
# via pg8000
364377
secretstorage==3.3.3
@@ -434,6 +447,7 @@ tzlocal==4.3
434447
# via clickhouse-driver
435448
urllib3[socks]==1.26.15
436449
# via
450+
# botocore
437451
# docker
438452
# minio
439453
# opensearch-py

requirements/3.8.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ attrs==22.2.0
8888
# trio
8989
azure-core==1.26.4
9090
# via azure-storage-blob
91-
azure-storage-blob==12.15.0
91+
azure-storage-blob==12.16.0
9292
# via testcontainers-azurite
9393
babel==2.12.1
9494
# via sphinx
@@ -100,6 +100,12 @@ bcrypt==4.0.1
100100
# via paramiko
101101
bleach==6.0.0
102102
# via readme-renderer
103+
boto3==1.26.112
104+
# via -r requirements.in
105+
botocore==1.29.112
106+
# via
107+
# boto3
108+
# s3transfer
103109
cachetools==5.3.0
104110
# via google-auth
105111
certifi==2022.12.7
@@ -159,7 +165,7 @@ flake8==3.7.9
159165
# via -r requirements.in
160166
google-api-core[grpc]==2.11.0
161167
# via google-cloud-pubsub
162-
google-auth==2.17.2
168+
google-auth==2.17.3
163169
# via google-api-core
164170
google-cloud-pubsub==2.16.0
165171
# via testcontainers-gcp
@@ -210,6 +216,10 @@ jeepney==0.8.0
210216
# secretstorage
211217
jinja2==3.1.2
212218
# via sphinx
219+
jmespath==1.0.1
220+
# via
221+
# boto3
222+
# botocore
213223
jsonschema==3.2.0
214224
# via docker-compose
215225
kafka-python==2.0.2
@@ -252,7 +262,7 @@ pluggy==1.0.0
252262
# via pytest
253263
proto-plus==1.22.2
254264
# via google-cloud-pubsub
255-
protobuf==4.22.1
265+
protobuf==4.22.3
256266
# via
257267
# google-api-core
258268
# google-cloud-pubsub
@@ -304,6 +314,7 @@ python-arango==7.5.7
304314
# via testcontainers-arangodb
305315
python-dateutil==2.8.2
306316
# via
317+
# botocore
307318
# opensearch-py
308319
# pg8000
309320
python-dotenv==0.21.1
@@ -350,6 +361,8 @@ rsa==4.9
350361
# via
351362
# google-auth
352363
# python-jose
364+
s3transfer==0.6.0
365+
# via boto3
353366
scramp==1.4.4
354367
# via pg8000
355368
secretstorage==3.3.3
@@ -420,6 +433,7 @@ tzlocal==4.3
420433
# via clickhouse-driver
421434
urllib3[socks]==1.26.15
422435
# via
436+
# botocore
423437
# docker
424438
# minio
425439
# opensearch-py

requirements/3.9.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,20 @@ attrs==22.2.0
8888
# trio
8989
azure-core==1.26.4
9090
# via azure-storage-blob
91-
azure-storage-blob==12.15.0
91+
azure-storage-blob==12.16.0
9292
# via testcontainers-azurite
9393
babel==2.12.1
9494
# via sphinx
9595
bcrypt==4.0.1
9696
# via paramiko
9797
bleach==6.0.0
9898
# via readme-renderer
99+
boto3==1.26.112
100+
# via -r requirements.in
101+
botocore==1.29.112
102+
# via
103+
# boto3
104+
# s3transfer
99105
cachetools==5.3.0
100106
# via google-auth
101107
certifi==2022.12.7
@@ -155,7 +161,7 @@ flake8==3.7.9
155161
# via -r requirements.in
156162
google-api-core[grpc]==2.11.0
157163
# via google-cloud-pubsub
158-
google-auth==2.17.2
164+
google-auth==2.17.3
159165
# via google-api-core
160166
google-cloud-pubsub==2.16.0
161167
# via testcontainers-gcp
@@ -204,6 +210,10 @@ jeepney==0.8.0
204210
# secretstorage
205211
jinja2==3.1.2
206212
# via sphinx
213+
jmespath==1.0.1
214+
# via
215+
# boto3
216+
# botocore
207217
jsonschema==3.2.0
208218
# via docker-compose
209219
kafka-python==2.0.2
@@ -246,7 +256,7 @@ pluggy==1.0.0
246256
# via pytest
247257
proto-plus==1.22.2
248258
# via google-cloud-pubsub
249-
protobuf==4.22.1
259+
protobuf==4.22.3
250260
# via
251261
# google-api-core
252262
# google-cloud-pubsub
@@ -298,6 +308,7 @@ python-arango==7.5.7
298308
# via testcontainers-arangodb
299309
python-dateutil==2.8.2
300310
# via
311+
# botocore
301312
# opensearch-py
302313
# pg8000
303314
python-dotenv==0.21.1
@@ -343,6 +354,8 @@ rsa==4.9
343354
# via
344355
# google-auth
345356
# python-jose
357+
s3transfer==0.6.0
358+
# via boto3
346359
scramp==1.4.4
347360
# via pg8000
348361
secretstorage==3.3.3
@@ -412,6 +425,7 @@ tzlocal==4.3
412425
# via clickhouse-driver
413426
urllib3[socks]==1.26.15
414427
# via
428+
# botocore
415429
# docker
416430
# minio
417431
# opensearch-py

0 commit comments

Comments
 (0)