From a1b008bb102f9ec8c84951b132ba19a41d28205d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 3 Feb 2025 13:33:05 -0800 Subject: [PATCH] Pin boto and friends The new version of boto3, botocore, or moto is causing OSError: [Errno 24] Too many open files in tests. Pin them until fixed. Change-Id: I96ced2711fb659d129a2dd856f8b1c689f541105 --- requirements.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 109e8c7df3..212d0fef9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -41,7 +41,6 @@ opentelemetry-sdk>=1.25.0 opentelemetry-exporter-otlp-proto-grpc>=1.25.0 opentelemetry-exporter-otlp-proto-http>=1.25.0 confluent-kafka -boto3 google-cloud-pubsub # For openstack driver openstacksdk>=0.103.0,!=2.0.0 @@ -49,7 +48,10 @@ rackspaceauth # For openshift driver openshift # For AWS driver -boto3>=1.20.0 +# Max versions temporarily added due to "Too many open files" errors in tests. +boto3>=1.20.0,<1.36.11 +botocore<1.36.11 +moto<5.0.28 # For gcloud driver google-api-python-client # For ibmvpc driver