mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
[ci] Pin moto to >= 4.0.0, adjust API (#28099)
If this passes, it should be preferred over #28098. Adjust moto setup to use new API. Signed-off-by: Kai Fricke <kai@anyscale.com> Co-authored-by: Sven Mika <svenmika1977@gmail.com>
This commit is contained in:
parent
13457dab03
commit
42dc034503
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ def configure_aws():
|
|||
|
||||
# moto (boto3 mock) only allows a hardcoded set of AMIs
|
||||
dlami = (
|
||||
moto.ec2.ec2_backends["us-west-2"]
|
||||
moto.ec2.models.ec2_backends["us-west-2"]["us-west-2"]
|
||||
.describe_images(filters={"name": "Deep Learning AMI Ubuntu*"})[0]
|
||||
.id
|
||||
)
|
||||
|
|
|
@ -64,7 +64,7 @@ google-cloud-storage
|
|||
gym-minigrid==1.0.3
|
||||
kubernetes
|
||||
lxml
|
||||
moto[s3,server] < 4.0.0
|
||||
moto[s3,server] >= 4.0.0
|
||||
mypy
|
||||
networkx
|
||||
numba
|
||||
|
|
Loading…
Add table
Reference in a new issue