Skip to content

Commit

Permalink
Pin boto3
Browse files Browse the repository at this point in the history
Should bypass this issue on uploads boto/boto3#4398

```
An error occurred (MissingContentLength) when calling the PutObject operation: Unknown
```
  • Loading branch information
singiamtel committed Jan 19, 2025
1 parent 1de1f5e commit a9f5fe8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
'requests',
'distro',
'jinja2',
'boto3',
'boto3==1.35.95',
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ requests
pyyaml
distro
jinja2
boto3; python_version >= '3.6'
boto3==1.35.95; python_version >= '3.6' # https://github.com/boto/boto3/issues/4398
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Old setuptools versions (which pip2 uses) don't support range comparisons
# (like :python_version >= "3.6") in extras_require, so do this ourselves here.
if sys.version_info >= (3, 6):
install_requires.append('boto3')
install_requires.append('boto3==1.35.95')

setup(
name='alibuild',
Expand Down

0 comments on commit a9f5fe8

Please sign in to comment.