Skip to content

Commit

Permalink
Merge pull request #696 from asfadmin/devel
Browse files Browse the repository at this point in the history
Update master branch
  • Loading branch information
reweeden authored Feb 10, 2023
2 parents 7b0f711 + fb9439e commit 005e441
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 55 deletions.
2 changes: 1 addition & 1 deletion lambda/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ def s3credentials_readme():
@with_trace(context={})
def profile():
return Response(body='Profile not available.',
status_code=200, headers={})
status_code=200, headers={'Content-Type': 'text/plain'})


@app.route('/pubkey', methods=['GET'])
Expand Down
32 changes: 15 additions & 17 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,47 @@ attrs==21.4.0
# via
# -c requirements/requirements.txt
# pytest
boto3==1.25.3
boto3==1.26.66
# via -r requirements/requirements-dev.in
botocore==1.28.3
botocore==1.29.66
# via
# -c requirements/requirements.txt
# boto3
# s3transfer
build==0.9.0
build==0.10.0
# via pip-tools
click==8.1.3
# via
# -c requirements/requirements.txt
# pip-tools
coverage[toml]==6.5.0
coverage[toml]==7.1.0
# via pytest-cov
deprecated==1.2.13
# via opentelemetry-api
exceptiongroup==1.0.0
exceptiongroup==1.1.0
# via pytest
iniconfig==1.1.1
iniconfig==2.0.0
# via pytest
jmespath==1.0.1
# via
# -c requirements/requirements.txt
# boto3
# botocore
opentelemetry-api==1.13.0
opentelemetry-api==1.15.0
# via opentelemetry-instrumentation
opentelemetry-instrumentation==0.34b0
opentelemetry-instrumentation==0.36b0
# via -r requirements/requirements-dev.in
packaging==21.3
packaging==23.0
# via
# build
# pytest
pep517==0.13.0
# via build
pip-tools==6.9.0
pip-tools==6.12.2
# via -r requirements/requirements-dev.in
pluggy==1.0.0
# via pytest
pyparsing==3.0.9
# via packaging
pytest==7.2.0
pyproject-hooks==1.0.0
# via build
pytest==7.2.1
# via
# -r requirements/requirements-dev.in
# pytest-cov
Expand All @@ -74,9 +72,9 @@ tomli==2.0.1
# via
# build
# coverage
# pep517
# pyproject-hooks
# pytest
urllib3==1.26.12
urllib3==1.26.14
# via
# -c requirements/requirements.txt
# botocore
Expand Down
20 changes: 9 additions & 11 deletions requirements/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ click==8.1.3
# via mkdocs
ghp-import==2.1.0
# via mkdocs
importlib-metadata==4.11.3
importlib-metadata==6.0.0
# via
# markdown
# mkdocs
Expand All @@ -19,11 +19,11 @@ markdown==3.3.7
# mkdocs
# mkdocs-material
# pymdown-extensions
markupsafe==2.1.1
markupsafe==2.1.2
# via jinja2
mergedeep==1.3.4
# via mkdocs
mkdocs==1.3.0
mkdocs==1.4.2
# via
# -r requirements/requirements-docs.in
# mkdocs-asf-theme
Expand All @@ -32,16 +32,14 @@ mkdocs-asf-theme==0.2.4
# via -r requirements/requirements-docs.in
mkdocs-material==6.2.8
# via mkdocs-asf-theme
mkdocs-material-extensions==1.0.3
mkdocs-material-extensions==1.1.1
# via mkdocs-material
packaging==21.3
packaging==23.0
# via mkdocs
pygments==2.12.0
pygments==2.14.0
# via mkdocs-material
pymdown-extensions==9.4
pymdown-extensions==9.9.2
# via mkdocs-material
pyparsing==3.0.9
# via packaging
python-dateutil==2.8.2
# via ghp-import
pyyaml==6.0
Expand All @@ -52,7 +50,7 @@ pyyaml-env-tag==0.1
# via mkdocs
six==1.16.0
# via python-dateutil
watchdog==2.1.7
watchdog==2.2.1
# via mkdocs
zipp==3.8.0
zipp==3.12.1
# via importlib-metadata
10 changes: 5 additions & 5 deletions requirements/requirements-make.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# pip-compile requirements/requirements-make.in
#
importlib-metadata==5.0.0
importlib-metadata==6.0.0
# via markdown
jinja2==3.1.2
# via -r requirements/requirements-make.in
markdown==3.4.1
# via
# -r requirements/requirements-make.in
# pymdown-extensions
markupsafe==2.1.1
markupsafe==2.1.2
# via jinja2
pygments==2.13.0
pygments==2.14.0
# via -r requirements/requirements-make.in
pymdown-extensions==9.7
pymdown-extensions==9.9.2
# via -r requirements/requirements-make.in
zipp==3.10.0
zipp==3.12.1
# via importlib-metadata
26 changes: 12 additions & 14 deletions requirements/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,47 @@
#
# pip-compile requirements/requirements-test.in
#
attrs==22.1.0
attrs==22.2.0
# via pytest
boto3==1.24.94
boto3==1.26.66
# via -r requirements/requirements-test.in
botocore==1.27.94
botocore==1.29.66
# via
# boto3
# s3transfer
certifi==2022.9.24
certifi==2022.12.7
# via requests
charset-normalizer==2.1.1
charset-normalizer==3.0.1
# via requests
exceptiongroup==1.1.0
# via pytest
idna==3.4
# via requests
iniconfig==1.1.1
iniconfig==2.0.0
# via pytest
jmespath==1.0.1
# via
# boto3
# botocore
packaging==21.3
packaging==23.0
# via pytest
pluggy==1.0.0
# via pytest
py==1.11.0
# via pytest
pyparsing==3.0.9
# via packaging
pytest==7.1.3
pytest==7.2.1
# via -r requirements/requirements-test.in
python-dateutil==2.8.2
# via botocore
pyyaml==6.0
# via -r requirements/requirements-test.in
requests==2.28.1
requests==2.28.2
# via -r requirements/requirements-test.in
s3transfer==0.6.0
# via boto3
six==1.16.0
# via python-dateutil
tomli==2.0.1
# via pytest
urllib3==1.26.12
urllib3==1.26.14
# via
# botocore
# requests
14 changes: 7 additions & 7 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#
attrs==21.4.0
# via chalice
blessed==1.19.1
blessed==1.20.0
# via inquirer
botocore==1.28.3
botocore==1.29.66
# via chalice
cachetools==5.0.0
# via
Expand All @@ -22,19 +22,19 @@ chalice==1.27.3
# via -r requirements/requirements.in
click==8.1.3
# via chalice
cryptography==38.0.1
cryptography==39.0.1
# via pyjwt
flatdict==4.0.1
# via -r requirements/requirements.in
inquirer==2.10.0
inquirer==2.10.1
# via chalice
jinja2==3.1.2
# via rain-api-core
jmespath==1.0.1
# via
# botocore
# chalice
markupsafe==2.1.1
markupsafe==2.1.2
# via jinja2
netaddr==0.8.0
# via
Expand Down Expand Up @@ -63,11 +63,11 @@ six==1.16.0
# python-dateutil
typing-extensions==4.4.0
# via chalice
urllib3==1.26.12
urllib3==1.26.14
# via
# botocore
# cfnresponse
wcwidth==0.2.5
wcwidth==0.2.6
# via blessed
wheel==0.38.4
# via chalice
Expand Down
1 change: 1 addition & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,7 @@ def test_profile(client):

assert response.body == b"Profile not available."
assert response.status_code == 200
assert response.headers["Content-Type"] == "text/plain"


@mock.patch(f"{MODULE}.retrieve_secret", autospec=True)
Expand Down

0 comments on commit 005e441

Please sign in to comment.