Skip to content

Commit

Permalink
Remove boto as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
isobit committed Jul 20, 2020
1 parent d08f1ca commit ecce29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def read(fname):
'moto[server]',
'pathlib2',
'responses',
'boto',
'boto3',
# Not used directly but allows boto GCE plugins to load.
# https://github.com/GoogleCloudPlatform/compute-image-packages/issues/262
Expand All @@ -55,7 +56,7 @@ def read(fname):
'requests',
]

aws_deps = ['boto', 'boto3']
aws_deps = ['boto3']
gcp_deps = ['google-cloud-storage']
azure_deps = ['azure-storage-blob', 'azure-common', 'azure-core']

Expand Down
3 changes: 1 addition & 2 deletions smart_open/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import logging
import time

import boto
import boto3
import botocore.client
import botocore.exceptions
Expand Down Expand Up @@ -63,7 +62,7 @@ def parse_uri(uri_as_string):
assert split_uri.scheme in SCHEMES

port = DEFAULT_PORT
host = boto.config.get('s3', 'host', DEFAULT_HOST)
host = DEFAULT_HOST
ordinary_calling_format = False
#
# These defaults tell boto3 to look for credentials elsewhere
Expand Down

0 comments on commit ecce29e

Please sign in to comment.