Skip to content

Commit 1091f6f

Browse files
authored
Pin boto3 (#900)
Should bypass this issue on uploads boto/boto3#4398 ``` An error occurred (MissingContentLength) when calling the PutObject operation: Unknown ```
1 parent 1de1f5e commit 1091f6f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Diff for: pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ classifiers = [
2424
'Programming Language :: Python :: 3.10', # ubuntu2204
2525
'Programming Language :: Python :: 3.11', # MacOS
2626
'Programming Language :: Python :: 3.12', # MacOS
27+
'Programming Language :: Python :: 3.13', # MacOS
2728
]
2829

2930
dependencies = [
3031
'pyyaml',
3132
'requests',
3233
'distro',
3334
'jinja2',
34-
'boto3',
35+
'boto3==1.23.10',
3536
]
3637

3738
[project.urls]

Diff for: requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ requests
22
pyyaml
33
distro
44
jinja2
5-
boto3; python_version >= '3.6'
5+
# https://github.com/boto/boto3/issues/4398
6+
# This version is the last compatible with python 3.6.8
7+
boto3==1.23.10; python_version >= '3.6'

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Old setuptools versions (which pip2 uses) don't support range comparisons
2020
# (like :python_version >= "3.6") in extras_require, so do this ourselves here.
2121
if sys.version_info >= (3, 6):
22-
install_requires.append('boto3')
22+
install_requires.append('boto3==1.23.10')
2323

2424
setup(
2525
name='alibuild',

0 commit comments

Comments
 (0)