Skip to content

Commit

Permalink
Merge pull request #240 from edx/jenkins/upgrade-python-requirements-…
Browse files Browse the repository at this point in the history
…bc14040

Python Requirements Update
  • Loading branch information
UsamaSadiq authored Oct 11, 2023
2 parents bc14040 + 700adcb commit 8a14275
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 49 deletions.
8 changes: 4 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#
boto==2.49.0
# via google-compute-engine
boto3==1.28.46
boto3==1.28.62
# via -r requirements/base.in
botocore==1.31.46
botocore==1.31.62
# via
# -r requirements/base.in
# boto3
Expand All @@ -28,13 +28,13 @@ markupsafe==2.1.3
# via jinja2
python-dateutil==2.8.2
# via botocore
s3transfer==0.6.2
s3transfer==0.7.0
# via boto3
six==1.16.0
# via
# -r requirements/base.in
# python-dateutil
urllib3==1.26.16
urllib3==1.26.17
# via botocore

# The following packages are considered to be unsafe in a requirements file:
Expand Down
5 changes: 0 additions & 5 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@

# This file contains all common constraints for edx-repos
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt

# openapi-spec-validator==0.5.0 requires jsonschema>=4.0 but aws-sam-translator requires jsonschema~=3.2
# This constraint can be removed once aws-sam-translator updates the constraint
# and https://github.com/aws/serverless-application-model/issues/2426 is resolved.
openapi-spec-validator<0.5.0
4 changes: 2 additions & 2 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ click==8.1.7
# via pip-tools
importlib-metadata==6.8.0
# via build
packaging==23.1
packaging==23.2
# via build
pip-tools==7.3.0
# via -r requirements/pip_tools.in
Expand All @@ -23,7 +23,7 @@ tomli==2.0.1
# pyproject-hooks
wheel==0.41.2
# via pip-tools
zipp==3.16.2
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
99 changes: 62 additions & 37 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,30 @@
#
# make upgrade
#
astroid==2.15.6
annotated-types==0.6.0
# via pydantic
astroid==3.0.0
# via pylint
attrs==23.1.0
# via
# jschema-to-python
# jsonschema
# referencing
# sarif-om
aws-sam-translator==1.74.0
aws-sam-translator==1.77.0
# via cfn-lint
aws-xray-sdk==2.12.0
# via moto
boto==2.49.0
# via
# -r requirements/base.txt
# google-compute-engine
boto3==1.28.46
boto3==1.28.62
# via
# -r requirements/base.txt
# aws-sam-translator
# moto
botocore==1.31.46
botocore==1.31.62
# via
# -r requirements/base.txt
# aws-xray-sdk
Expand All @@ -33,13 +36,13 @@ botocore==1.31.46
# s3transfer
certifi==2023.7.22
# via requests
cffi==1.15.1
cffi==1.16.0
# via cryptography
cfn-lint==0.79.10
cfn-lint==0.81.0
# via moto
charset-normalizer==3.2.0
charset-normalizer==3.3.0
# via requests
cryptography==41.0.3
cryptography==41.0.4
# via
# moto
# python-jose
Expand Down Expand Up @@ -67,8 +70,11 @@ graphql-core==3.2.3
# via moto
idna==3.4
# via requests
importlib-resources==6.0.1
# via jsonschema
importlib-resources==6.1.0
# via
# jsonschema
# jsonschema-specifications
# openapi-spec-validator
iniconfig==2.0.0
# via pytest
isort==5.12.0
Expand All @@ -92,16 +98,22 @@ jsonpickle==3.0.2
# via jschema-to-python
jsonpointer==2.4
# via jsonpatch
jsonschema==4.17.3
jsonschema==4.19.1
# via
# aws-sam-translator
# cfn-lint
# openapi-schema-validator
# openapi-spec-validator
jsonschema-spec==0.2.4
# via openapi-spec-validator
jsonschema-specifications==2023.7.1
# via
# jsonschema
# openapi-schema-validator
junit-xml==1.9
# via cfn-lint
lazy-object-proxy==1.9.0
# via astroid
# via openapi-spec-validator
markupsafe==2.1.3
# via
# -r requirements/base.txt
Expand All @@ -111,22 +123,22 @@ mccabe==0.7.0
# via pylint
mock==5.1.0
# via -r requirements/test.in
moto[cloudformation]==4.2.2
moto[cloudformation]==4.2.5
# via -r requirements/test.in
mpmath==1.3.0
# via sympy
networkx==3.1
# via cfn-lint
openapi-schema-validator==0.2.3
openapi-schema-validator==0.6.2
# via openapi-spec-validator
openapi-spec-validator==0.4.0
# via
# -c requirements/constraints.txt
# moto
packaging==23.1
openapi-spec-validator==0.7.0
# via moto
packaging==23.2
# via
# docker
# pytest
pathable==0.4.3
# via jsonschema-spec
pbr==5.11.1
# via
# jschema-to-python
Expand All @@ -135,11 +147,11 @@ pep8==1.7.1
# via -r requirements/test.in
pkgutil-resolve-name==1.3.10
# via jsonschema
platformdirs==3.10.0
platformdirs==3.11.0
# via pylint
pluggy==1.3.0
# via pytest
py-partiql-parser==0.3.6
py-partiql-parser==0.3.7
# via moto
pyasn1==0.5.0
# via
Expand All @@ -149,16 +161,16 @@ pycparser==2.21
# via cffi
pycurl==7.45.2
# via pyresttest
pydantic==1.10.12
pydantic==2.4.2
# via aws-sam-translator
pylint==2.17.5
pydantic-core==2.10.1
# via pydantic
pylint==3.0.1
# via -r requirements/test.in
pyparsing==3.1.1
# via moto
pyresttest==1.7.1
# via -r requirements/test.in
pyrsistent==0.19.3
# via jsonschema
pytest==7.4.2
# via -r requirements/test.in
python-dateutil==2.8.2
Expand All @@ -171,22 +183,34 @@ python-jose[cryptography]==3.3.0
pyyaml==6.0.1
# via
# cfn-lint
# jsonschema-spec
# moto
# openapi-spec-validator
# pyresttest
# responses
regex==2023.8.8
referencing==0.30.2
# via
# jsonschema
# jsonschema-spec
# jsonschema-specifications
regex==2023.10.3
# via cfn-lint
requests==2.31.0
# via
# docker
# jsonschema-spec
# moto
# responses
responses==0.23.3
# via moto
rfc3339-validator==0.1.4
# via openapi-schema-validator
rpds-py==0.10.4
# via
# jsonschema
# referencing
rsa==4.9
# via python-jose
s3transfer==0.6.2
s3transfer==0.7.0
# via
# -r requirements/base.txt
# boto3
Expand All @@ -198,6 +222,7 @@ six==1.16.0
# ecdsa
# junit-xml
# python-dateutil
# rfc3339-validator
sshpubkeys==3.3.1
# via moto
sympy==1.12
Expand All @@ -208,32 +233,32 @@ tomli==2.0.1
# pytest
tomlkit==0.12.1
# via pylint
types-pyyaml==6.0.12.11
types-pyyaml==6.0.12.12
# via responses
typing-extensions==4.7.1
typing-extensions==4.8.0
# via
# annotated-types
# astroid
# aws-sam-translator
# pydantic
# pydantic-core
# pylint
urllib3==1.26.16
urllib3==1.26.17
# via
# -r requirements/base.txt
# botocore
# docker
# requests
# responses
websocket-client==1.6.3
websocket-client==1.6.4
# via docker
werkzeug==2.3.7
werkzeug==3.0.0
# via moto
wrapt==1.15.0
# via
# astroid
# aws-xray-sdk
# via aws-xray-sdk
xmltodict==0.13.0
# via moto
zipp==3.16.2
zipp==3.17.0
# via importlib-resources

# The following packages are considered to be unsafe in a requirements file:
Expand Down
2 changes: 1 addition & 1 deletion scripts/aws/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def get_domain(api_base):
"""Returns a dictionary response for the specified domain or None if the domain does not exit"""

client = boto3.client('apigateway', region_name=args.aws_region)
client = boto3.client('apigateway', region_name=args.aws_region) # pylint: disable=used-before-assignment

try:
response = client.get_domain_name(domainName=api_base)
Expand Down

0 comments on commit 8a14275

Please sign in to comment.