Skip to content

Commit b59ec57

Browse files
authored
Don't restrict boto3 as much (#913)
This should allow us to bypass the removed cgi error (botocore removed the dependency in 1.29.13)
1 parent bc46c92 commit b59ec57

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
'requests',
3333
'distro',
3434
'jinja2',
35-
'boto3==1.23.10',
35+
'boto3<1.36.0',
3636
]
3737

3838
[project.urls]

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ pyyaml
33
distro
44
jinja2
55
# 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'
6+
boto3<1.36.0

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
1616
long_description = f.read()
1717

18-
install_requires = ['pyyaml', 'requests', 'distro', 'jinja2']
19-
# Old setuptools versions (which pip2 uses) don't support range comparisons
20-
# (like :python_version >= "3.6") in extras_require, so do this ourselves here.
21-
if sys.version_info >= (3, 6):
22-
install_requires.append('boto3==1.23.10')
18+
install_requires = ['pyyaml', 'requests', 'distro', 'jinja2', 'boto3<1.36.0']
2319

2420
setup(
2521
name='alibuild',

0 commit comments

Comments
 (0)