Skip to content

Commit 756a1a9

Browse files
CyrilRoelandteNovancetbreeds
authored andcommitted
Pin boto3 and botocore to 1.35.99
Starting with 1.36.0[1], boto3 implements a new security feature that may not be implemented by some S3-compatible storage backends, such as Ceph RGW. This causes glance_store users to notice failures when uploading images to such backends[2]. This might also impact other projects such as Cinder. Pinning boto3 to 1.35.99 until we come up with a proper workaround for this. Also pinning botocore to 1.35.99 as this is the only version that is compatible with boto3 1.35.99, and pinning s3transfer to 0.10.0 as this is the only version that is compatible with botocore 1.35.99. (tonyb) As this is potentially a longer term issue, include the caps in global-requirements.txt to ease constraints updates. [1] https: //github.com/boto/boto3/blob/dd74a1e97c450cf7670cabf3a9516b5127bcffb5/CHANGELOG.rst#L1882 [2] https://bugs.launchpad.net/glance/+bug/2121144 Change-Id: I311a74d6839410779f89f3bde817c221d9d8344e Signed-off-by: Cyril Roelandt <cyril@redhat.com> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
1 parent 6b3dda3 commit 756a1a9

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

global-requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ bcrypt==4.0.1 # Apache-2.0
2424
beautifulsoup4 # MIT
2525
betamax # Apache-2.0
2626
boto # MIT
27-
boto3 # Apache-2.0
28-
botocore # Apache-2.0
27+
# Capped until https://bugs.launchpad.net/glance/+bug/2121144 is resolved
28+
boto3<1.36 # Apache-2.0
29+
botocore<1.36 # Apache-2.0
30+
# indirect from boto3/botocore
31+
s3transfer<0.11 # Apache-2.0
2932
cachetools # MIT License
3033
cassandra-driver!=3.6.0 # Apache-2.0
3134
cffi # MIT

upper-constraints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ retrying===1.4.1
315315
XStatic-Dagre===0.6.4.1
316316
platformdirs===4.3.8
317317
pydotplus===2.0.2
318-
boto3===1.40.1
318+
boto3===1.35.99
319319
jeepney===0.9.0
320320
stestr===4.2.0
321321
pillow===11.3.0
@@ -328,7 +328,7 @@ aiomysql===0.2.0
328328
types-simplejson===3.20.0.20250326
329329
sphinxcontrib-httpdomain===1.8.1
330330
metalsmith===2.5.0
331-
s3transfer===0.13.1
331+
s3transfer===0.10.0
332332
text-unidecode===1.3
333333
sphinxcontrib-svg2pdfconverter===1.3.0
334334
oslo.vmware===4.7.0
@@ -445,7 +445,7 @@ tomli===2.2.1;python_version=='3.9'
445445
oslo.upgradecheck===2.6.0
446446
sherlock===0.4.1
447447
stevedore===5.5.0
448-
botocore===1.40.1
448+
botocore===1.35.99
449449
xmltodict===0.14.2
450450
pyasn1===0.6.0
451451
oslo.rootwrap===7.7.0

0 commit comments

Comments
 (0)