diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0b6895b..b049d19 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -42,6 +42,11 @@ updates: schedule: interval: "weekly" + - package-ecosystem: "pip" + directory: "/src/py3.10" + schedule: + interval: "weekly" + - package-ecosystem: "terraform" directory: "/" schedule: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f668b91..16d75f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,6 +145,7 @@ jobs: - "3.7" - "3.8" - "3.9" + - "3.10" steps: - uses: actions/checkout@v3 - name: Get the short SHA for the commit being used diff --git a/Dockerfile b/Dockerfile index dc501b9..63c49ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -ARG PY_VERSION=3.9 +ARG PY_VERSION=3.10 FROM amazon/aws-lambda-python:$PY_VERSION as install-stage # Declare it a second time so it's brought into this scope. -ARG PY_VERSION=3.9 +ARG PY_VERSION=3.10 # Install the Python packages necessary to install the Lambda dependencies. RUN python3 -m pip install --no-cache-dir \ @@ -41,7 +41,7 @@ LABEL org.opencontainers.image.authors="github@cisa.dhs.gov" LABEL org.opencontainers.image.vendor="Cybersecurity and Infrastructure Security Agency" # Declare it a third time so it's brought into this scope. -ARG PY_VERSION=3.9 +ARG PY_VERSION=3.10 # This must be present in the image to generate a deployment artifact. ENV BUILD_PY_VERSION=$PY_VERSION diff --git a/src/py3.10/Pipfile b/src/py3.10/Pipfile new file mode 100644 index 0000000..db68cc9 --- /dev/null +++ b/src/py3.10/Pipfile @@ -0,0 +1,11 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[requires] +python_version = "3.10" + +[packages] +cowsay = "*" +example = {file = "https://github.com/cisagov/skeleton-python-library/archive/v0.1.0.tar.gz"} diff --git a/src/py3.10/Pipfile.lock b/src/py3.10/Pipfile.lock new file mode 100644 index 0000000..9b7a6f1 --- /dev/null +++ b/src/py3.10/Pipfile.lock @@ -0,0 +1,64 @@ +{ + "_meta": { + "hash": { + "sha256": "debd599c9e2a1e7bfff222b381106ee1f5d1287b8241f283eedd6c4fba27ba34" + }, + "pipfile-spec": 6, + "requires": { + "python_version": "3.10" + }, + "sources": [ + { + "name": "pypi", + "url": "https://pypi.org/simple", + "verify_ssl": true + } + ] + }, + "default": { + "contextlib2": { + "hashes": [ + "sha256:3fbdb64466afd23abaf6c977627b75b6139a5a3e8ce38405c5b413aed7a0471f", + "sha256:ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869" + ], + "markers": "python_version >= '3.6'", + "version": "==21.6.0" + }, + "cowsay": { + "hashes": [ + "sha256:c00e02444f5bc7332826686bd44d963caabbaba9a804a63153822edce62bbbf3" + ], + "index": "pypi", + "version": "==5.0" + }, + "docopt": { + "hashes": [ + "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" + ], + "version": "==0.6.2" + }, + "example": { + "file": "https://github.com/cisagov/skeleton-python-library/archive/v0.1.0.tar.gz", + "hashes": [ + "sha256:d4ae2105b555cb386daf39e06b05594596e881e67faffc46c69d9e7ce56c8c4c" + ], + "version": "==0.1.0" + }, + "schema": { + "hashes": [ + "sha256:f06717112c61895cabc4707752b88716e8420a8819d71404501e114f91043197", + "sha256:f3ffdeeada09ec34bf40d7d79996d9f7175db93b7a5065de0faa7f41083c1e6c" + ], + "version": "==0.7.5" + }, + "setuptools": { + "hashes": [ + "sha256:257de92a9d50a60b8e22abfcbb771571fde0dbf3ec234463212027a4eeecbe9a", + "sha256:e728ca814a823bf7bf60162daf9db95b93d532948c4c0bea762ce62f60189078" + ], + "markers": "python_version >= '3.7'", + "version": "==67.6.1" + } + }, + "develop": {} +}