Skip to content

Commit bac5855

Browse files
committed
Fix bug for botocore change #70
1 parent 39cf943 commit bac5855

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cli/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ classifiers = [
2020
aws-sso-util = 'aws_sso_util.cli:cli'
2121

2222
[tool.poetry.dependencies]
23-
python = "^3.6"
23+
python = "^3.7"
2424
# botocore = {git = "https://github.com/boto/botocore.git", rev = "v2"}
2525
click = "^7.1.2"
26-
boto3 = ">=1.20.28, <2.0.0"
26+
boto3 = ">=1.24.60, <2.0.0"
2727
pyyaml = "^5.3.1"
2828
jsonschema = "^3.2.0"
2929
aws-error-utils = "^1.0.4"

lib/aws_sso_lib/sso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def token_loader(start_url):
9292
force_refresh=force_refresh
9393
)
9494
LOGGER.debug("TOKEN: {}".format(token_response))
95-
return token_response["accessToken"]
95+
return token_response
9696

9797
return token_loader
9898

lib/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ classifiers = [
1818
]
1919

2020
[tool.poetry.dependencies]
21-
python = "^3.6"
21+
python = "^3.7"
2222
# botocore = {git = "https://github.com/boto/botocore.git", rev = "v2"}
23-
boto3 = ">=1.20.28, <2.0.0"
23+
boto3 = ">=1.24.60, <2.0.0"
2424
aws-error-utils = "^1.0.4"
2525

2626
[tool.poetry.dev-dependencies]

0 commit comments

Comments
 (0)