From 8c5b2b4fed999196a45189e2d7d8edf7d60e7d3d Mon Sep 17 00:00:00 2001 From: Ran Isenberg Date: Sat, 15 Jul 2023 08:48:15 +0300 Subject: [PATCH] feature: fix pipeline --- .github/workflows/cicd.yml | 6 +- .github/workflows/scorecard.yml | 6 +- docs/best_practices/environment_variables.md | 2 - docs/getting_started.md | 1 - docs/index.md | 5 - lib_requirements.txt | 24 +- poetry.lock | 255 +------------------ pyproject.toml | 7 - 8 files changed, 20 insertions(+), 286 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index eb52d90..73c8d2f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,6 +1,6 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Serverless Service CI/CD +name: Library CI/CD permissions: id-token: write # This is required for requesting the JWT @@ -24,7 +24,7 @@ jobs: - name: Check out repository code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Python 3.10 - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 + uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 with: python-version: "3.10" - name: Set up Node @@ -73,7 +73,7 @@ jobs: - name: Check out repository code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Python 3.10 - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 + uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 with: python-version: "3.10" - name: Install dependencies diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 04b101f..88b0780 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -32,12 +32,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2 + uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0 with: results_file: results.sarif results_format: sarif @@ -59,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 with: name: SARIF file path: results.sarif diff --git a/docs/best_practices/environment_variables.md b/docs/best_practices/environment_variables.md index 6038051..39dcfb6 100644 --- a/docs/best_practices/environment_variables.md +++ b/docs/best_practices/environment_variables.md @@ -26,8 +26,6 @@ You need to define all your environment variables in a Pydantic schema class tha For example: - - All Pydantic schemas extend Pydantic’s ‘BaseModel’ class, turning them into a dataclass. The schema defines four environment variables: ‘LOG_LEVEL,’ ‘POWERTOOLS_SERVICE_NAME,’ ‘ROLE_ARN,’ and ‘REST_API.’ diff --git a/docs/getting_started.md b/docs/getting_started.md index 551345d..d0371b6 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -3,4 +3,3 @@ title: Getting Started description: Getting Started --- ## **Prerequisites** - diff --git a/docs/index.md b/docs/index.md index 0939519..3e0e6c2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,12 +8,8 @@ description: AWS Lambda Environment Variables Parser Cookbook ## **The Problem** - - ## **The Solution** - - The GitHub template project can be found at [https://github.com/ran-isenberg/aws-lambda-handler-cookbook](https://github.com/ran-isenberg/aws-lambda-handler-cookbook){:target="_blank" rel="noopener"}. ## **Serverless Best Practices** @@ -22,7 +18,6 @@ The AWS Lambda handler will implement multiple best practice utilities. - [**Environment Variables**](best_practices/environment_variables.md) - ## **License** This library is licensed under the MIT License. See the [LICENSE](https://github.com/ran-isenberg/aws-lambda-env-vars-parser/blob/main/LICENSE) file. diff --git a/lib_requirements.txt b/lib_requirements.txt index 5255081..558610d 100644 --- a/lib_requirements.txt +++ b/lib_requirements.txt @@ -1,18 +1,9 @@ annotated-types==0.5.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -attrs==23.1.0 ; python_full_version >= "3.10.0" and python_version < "4.0" -aws-cdk-asset-awscli-v1==2.2.200 ; python_full_version >= "3.10.0" and python_version < "4.0" -aws-cdk-asset-kubectl-v20==2.1.2 ; python_full_version >= "3.10.0" and python_version < "4.0" -aws-cdk-asset-node-proxy-agent-v5==2.0.165 ; python_full_version >= "3.10.0" and python_version < "4.0" -aws-cdk-aws-lambda-python-alpha==2.87.0a0 ; python_full_version >= "3.10.0" and python_version < "4.0" -aws-cdk-lib==2.87.0 ; python_full_version >= "3.10.0" and python_version < "4.0" -cattrs==23.1.2 ; python_full_version >= "3.10.0" and python_version < "4.0" -cdk-nag==2.27.69 ; python_full_version >= "3.10.0" and python_version < "4.0" certifi==2023.5.7 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" cfgv==3.3.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" charset-normalizer==3.2.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" click==8.1.5 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" colorama==0.4.6 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -constructs==10.2.69 ; python_full_version >= "3.10.0" and python_version < "4.0" coverage[toml]==7.2.7 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" distlib==0.3.6 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" exceptiongroup==1.1.2 ; python_full_version >= "3.10.0" and python_version < "3.11" @@ -25,11 +16,9 @@ gitpython==3.1.32 ; python_full_version >= "3.10.0" and python_full_version < "4 identify==2.5.24 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" idna==3.4 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" importlib-metadata==6.8.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -importlib-resources==6.0.0 ; python_full_version >= "3.10.0" and python_version < "4.0" iniconfig==2.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" isort==5.12.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" jinja2==3.1.2 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -jsii==1.84.0 ; python_full_version >= "3.10.0" and python_version < "4.0" mando==0.6.4 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" markdown==3.3.7 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" markupsafe==2.1.3 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" @@ -46,7 +35,6 @@ packaging==23.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0 platformdirs==3.8.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pluggy==1.2.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pre-commit==3.3.3 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -publication==0.0.3 ; python_full_version >= "3.10.0" and python_version < "4.0" py==1.11.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pycodestyle==2.10.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pydantic-core==2.3.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" @@ -59,27 +47,25 @@ pytest-html==3.2.0 ; python_full_version >= "3.10.0" and python_full_version < " pytest-metadata==3.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pytest-mock==3.11.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pytest==7.4.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -python-dateutil==2.8.2 ; python_full_version >= "3.10.0" and python_version < "4.0" +python-dateutil==2.8.2 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" python-dotenv==1.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pyyaml-env-tag==0.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" pyyaml==6.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" radon==5.1.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" regex==2023.6.3 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" requests==2.31.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -service-cdk @ file:///Users/ranisenberg/Programming/aws-lambda-env-vars-parser/cdk ; python_version >= "3.10" and python_full_version < "4.0.0" setuptools==68.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -six==1.16.0 ; python_full_version >= "3.10.0" and python_version < "4.0" +six==1.16.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" smmap==5.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" toml==0.10.2 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" tomli==2.0.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -typeguard==2.13.3 ; python_full_version >= "3.10.0" and python_version < "4.0" types-cachetools==5.3.0.5 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" types-requests==2.31.0.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" types-urllib3==1.26.25.13 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -typing-extensions==4.7.1 ; python_full_version >= "3.10.0" and python_version < "4.0" +typing-extensions==4.7.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" urllib3==2.0.3 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -virtualenv==20.23.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" +virtualenv==20.24.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" watchdog==3.0.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" xenon==0.9.0 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" yapf==0.40.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" -zipp==3.16.1 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" +zipp==3.16.2 ; python_full_version >= "3.10.0" and python_full_version < "4.0.0" diff --git a/poetry.lock b/poetry.lock index f9df1db..ae85cfe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.5.0 and should not be changed by hand. [[package]] name = "annotated-types" @@ -11,153 +11,6 @@ files = [ {file = "annotated_types-0.5.0.tar.gz", hash = "sha256:47cdc3490d9ac1506ce92c7aaa76c579dc3509ff11e098fc867e5130ab7be802"}, ] -[[package]] -name = "attrs" -version = "23.1.0" -description = "Classes Without Boilerplate" -optional = false -python-versions = ">=3.7" -files = [ - {file = "attrs-23.1.0-py3-none-any.whl", hash = "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04"}, - {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"}, -] - -[package.extras] -cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] -dev = ["attrs[docs,tests]", "pre-commit"] -docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] -tests = ["attrs[tests-no-zope]", "zope-interface"] -tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"] - -[[package]] -name = "aws-cdk-asset-awscli-v1" -version = "2.2.200" -description = "A library that contains the AWS CLI for use in Lambda Layers" -optional = false -python-versions = "~=3.7" -files = [ - {file = "aws-cdk.asset-awscli-v1-2.2.200.tar.gz", hash = "sha256:af4d67ef7aa4183073e63be5f88d1ce1912b24d2ebac35148e84678d674bdfcd"}, - {file = "aws_cdk.asset_awscli_v1-2.2.200-py3-none-any.whl", hash = "sha256:ed1b881402b255daec151e386581a627ce13f4d5cb94b7184e6efc38d27584b0"}, -] - -[package.dependencies] -jsii = ">=1.84.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - -[[package]] -name = "aws-cdk-asset-kubectl-v20" -version = "2.1.2" -description = "A library that contains kubectl for use in Lambda Layers" -optional = false -python-versions = "~=3.7" -files = [ - {file = "aws-cdk.asset-kubectl-v20-2.1.2.tar.gz", hash = "sha256:346283e43018a43e3b3ca571de3f44e85d49c038dc20851894cb8f9b2052b164"}, - {file = "aws_cdk.asset_kubectl_v20-2.1.2-py3-none-any.whl", hash = "sha256:7f0617ab6cb942b066bd7174bf3e1f377e57878c3e1cddc21d6b2d13c92d0cc1"}, -] - -[package.dependencies] -jsii = ">=1.70.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - -[[package]] -name = "aws-cdk-asset-node-proxy-agent-v5" -version = "2.0.165" -description = "@aws-cdk/asset-node-proxy-agent-v5" -optional = false -python-versions = "~=3.7" -files = [ - {file = "aws-cdk.asset-node-proxy-agent-v5-2.0.165.tar.gz", hash = "sha256:e1afb5773d185cf5f335e4c2dd8dd09967a5e700b45eddf5559b24d7e665628d"}, - {file = "aws_cdk.asset_node_proxy_agent_v5-2.0.165-py3-none-any.whl", hash = "sha256:96afc5747276d21fc25a4aacdb361e3b1cb9a53b2a87a2affa20bbfbe87a0c65"}, -] - -[package.dependencies] -jsii = ">=1.84.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - -[[package]] -name = "aws-cdk-aws-lambda-python-alpha" -version = "2.87.0a0" -description = "The CDK Construct Library for AWS Lambda in Python" -optional = false -python-versions = "~=3.7" -files = [ - {file = "aws-cdk.aws-lambda-python-alpha-2.87.0a0.tar.gz", hash = "sha256:2214e805b1671eae59c6a7fc2e3d98d5ac17b28c79d04e23e7bea202ec1da0a8"}, - {file = "aws_cdk.aws_lambda_python_alpha-2.87.0a0-py3-none-any.whl", hash = "sha256:615e3be3263efea117560fd85b7052c4d1f216abd74f7192dd918ae18e2ab28f"}, -] - -[package.dependencies] -aws-cdk-lib = "2.87.0" -constructs = ">=10.0.0,<11.0.0" -jsii = ">=1.82.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - -[[package]] -name = "aws-cdk-lib" -version = "2.87.0" -description = "Version 2 of the AWS Cloud Development Kit library" -optional = false -python-versions = "~=3.7" -files = [ - {file = "aws-cdk-lib-2.87.0.tar.gz", hash = "sha256:28092098ebd8e4674cf9ffc6bd6a150645e89f3ddb932908180e04e939bbf2de"}, - {file = "aws_cdk_lib-2.87.0-py3-none-any.whl", hash = "sha256:3c296461871421b24a3d5ace52764a0f2503d8956e6f8aa7df3111918e137be7"}, -] - -[package.dependencies] -"aws-cdk.asset-awscli-v1" = ">=2.2.177,<3.0.0" -"aws-cdk.asset-kubectl-v20" = ">=2.1.1,<3.0.0" -"aws-cdk.asset-node-proxy-agent-v5" = ">=2.0.148,<3.0.0" -constructs = ">=10.0.0,<11.0.0" -jsii = ">=1.82.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - -[[package]] -name = "cattrs" -version = "23.1.2" -description = "Composable complex class support for attrs and dataclasses." -optional = false -python-versions = ">=3.7" -files = [ - {file = "cattrs-23.1.2-py3-none-any.whl", hash = "sha256:b2bb14311ac17bed0d58785e5a60f022e5431aca3932e3fc5cc8ed8639de50a4"}, - {file = "cattrs-23.1.2.tar.gz", hash = "sha256:db1c821b8c537382b2c7c66678c3790091ca0275ac486c76f3c8f3920e83c657"}, -] - -[package.dependencies] -attrs = ">=20" -exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} -typing_extensions = {version = ">=4.1.0", markers = "python_version < \"3.11\""} - -[package.extras] -bson = ["pymongo (>=4.2.0,<5.0.0)"] -cbor2 = ["cbor2 (>=5.4.6,<6.0.0)"] -msgpack = ["msgpack (>=1.0.2,<2.0.0)"] -orjson = ["orjson (>=3.5.2,<4.0.0)"] -pyyaml = ["PyYAML (>=6.0,<7.0)"] -tomlkit = ["tomlkit (>=0.11.4,<0.12.0)"] -ujson = ["ujson (>=5.4.0,<6.0.0)"] - -[[package]] -name = "cdk-nag" -version = "2.27.69" -description = "Check CDK v2 applications for best practices using a combination on available rule packs." -optional = false -python-versions = "~=3.7" -files = [ - {file = "cdk-nag-2.27.69.tar.gz", hash = "sha256:2bf49a82e97f3abf6cd7a9bfde7031a659f1b7dd32ead66cff1a1755cc52563d"}, - {file = "cdk_nag-2.27.69-py3-none-any.whl", hash = "sha256:9cf3166ee9af4195a3b52a55b9a187b1a9981c4c77e16e09fc1a4d8c5413b65f"}, -] - -[package.dependencies] -aws-cdk-lib = ">=2.78.0,<3.0.0" -constructs = ">=10.0.5,<11.0.0" -jsii = ">=1.84.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - [[package]] name = "certifi" version = "2023.5.7" @@ -289,22 +142,6 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -[[package]] -name = "constructs" -version = "10.2.69" -description = "A programming model for software-defined state" -optional = false -python-versions = "~=3.7" -files = [ - {file = "constructs-10.2.69-py3-none-any.whl", hash = "sha256:27a60f5ce4faa4d43c91c73f24e1a245c0a1ef67ea1c8a3df9ca6af9adf618df"}, - {file = "constructs-10.2.69.tar.gz", hash = "sha256:520ddd665cc336df90be06bb1bd49f3a9a7400d886cad8aef7b0155593b4ffa4"}, -] - -[package.dependencies] -jsii = ">=1.84.0,<2.0.0" -publication = ">=0.0.3" -typeguard = ">=2.13.3,<2.14.0" - [[package]] name = "coverage" version = "7.2.7" @@ -535,21 +372,6 @@ docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker perf = ["ipython"] testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] -[[package]] -name = "importlib-resources" -version = "6.0.0" -description = "Read resources from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_resources-6.0.0-py3-none-any.whl", hash = "sha256:d952faee11004c045f785bb5636e8f885bed30dc3c940d5d42798a2a4541c185"}, - {file = "importlib_resources-6.0.0.tar.gz", hash = "sha256:4cf94875a8368bd89531a756df9a9ebe1f150e0f885030b461237bc7f2d905f2"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-ruff"] - [[package]] name = "iniconfig" version = "2.0.0" @@ -595,26 +417,6 @@ MarkupSafe = ">=2.0" [package.extras] i18n = ["Babel (>=2.7)"] -[[package]] -name = "jsii" -version = "1.84.0" -description = "Python client for jsii runtime" -optional = false -python-versions = "~=3.7" -files = [ - {file = "jsii-1.84.0-py3-none-any.whl", hash = "sha256:7748205665d079112721d6eb23a37fa084722ab675f65e8a6514ec908660bd57"}, - {file = "jsii-1.84.0.tar.gz", hash = "sha256:29f8352525e980e126d5d0fd3510fff9a81a8dbc36249f99d922907f2e6bf4c3"}, -] - -[package.dependencies] -attrs = ">=21.2,<24.0" -cattrs = ">=1.8,<23.2" -importlib-resources = ">=5.2.0" -publication = ">=0.0.3" -python-dateutil = "*" -typeguard = ">=2.13.3,<2.14.0" -typing-extensions = ">=3.7,<5.0" - [[package]] name = "mando" version = "0.6.4" @@ -932,17 +734,6 @@ nodeenv = ">=0.11.1" pyyaml = ">=5.1" virtualenv = ">=20.10.0" -[[package]] -name = "publication" -version = "0.0.3" -description = "Publication helps you maintain public-api-friendly modules by preventing unintentional access to private implementation details via introspection." -optional = false -python-versions = "*" -files = [ - {file = "publication-0.0.3-py2.py3-none-any.whl", hash = "sha256:0248885351febc11d8a1098d5c8e3ab2dabcf3e8c0c96db1e17ecd12b53afbe6"}, - {file = "publication-0.0.3.tar.gz", hash = "sha256:68416a0de76dddcdd2930d1c8ef853a743cc96c82416c4e4d3b5d901c6276dc4"}, -] - [[package]] name = "py" version = "1.11.0" @@ -1452,19 +1243,6 @@ urllib3 = ">=1.21.1,<3" socks = ["PySocks (>=1.5.6,!=1.5.7)"] use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] -[[package]] -name = "service-cdk" -version = "3.1" -description = "CDK code for deploying an AWS Lambda handler that implements the best practices described at https://www.ranthebuilder.cloud" -optional = false -python-versions = ">=3.10" -files = [] -develop = true - -[package.source] -type = "directory" -url = "cdk" - [[package]] name = "setuptools" version = "68.0.0" @@ -1525,21 +1303,6 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] -[[package]] -name = "typeguard" -version = "2.13.3" -description = "Run-time type checker for Python" -optional = false -python-versions = ">=3.5.3" -files = [ - {file = "typeguard-2.13.3-py3-none-any.whl", hash = "sha256:5e3e3be01e887e7eafae5af63d1f36c849aaa94e3a0112097312aabfa16284f1"}, - {file = "typeguard-2.13.3.tar.gz", hash = "sha256:00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4"}, -] - -[package.extras] -doc = ["sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["mypy", "pytest", "typing-extensions"] - [[package]] name = "types-cachetools" version = "5.3.0.5" @@ -1606,13 +1369,13 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "virtualenv" -version = "20.23.1" +version = "20.24.0" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.23.1-py3-none-any.whl", hash = "sha256:34da10f14fea9be20e0fd7f04aba9732f84e593dac291b757ce42e3368a39419"}, - {file = "virtualenv-20.23.1.tar.gz", hash = "sha256:8ff19a38c1021c742148edc4f81cb43d7f8c6816d2ede2ab72af5b84c749ade1"}, + {file = "virtualenv-20.24.0-py3-none-any.whl", hash = "sha256:18d1b37fc75cc2670625702d76849a91ebd383768b4e91382a8d51be3246049e"}, + {file = "virtualenv-20.24.0.tar.gz", hash = "sha256:e2a7cef9da880d693b933db7654367754f14e20650dc60e8ee7385571f8593a3"}, ] [package.dependencies] @@ -1697,20 +1460,20 @@ tomli = ">=2.0.1" [[package]] name = "zipp" -version = "3.16.1" +version = "3.16.2" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false python-versions = ">=3.8" files = [ - {file = "zipp-3.16.1-py3-none-any.whl", hash = "sha256:0b37c326d826d5ca35f2b9685cd750292740774ef16190008b00a0227c256fe0"}, - {file = "zipp-3.16.1.tar.gz", hash = "sha256:857b158da2cbf427b376da1c24fd11faecbac5a4ac7523c3607f8a01f94c2ec0"}, + {file = "zipp-3.16.2-py3-none-any.whl", hash = "sha256:679e51dd4403591b2d6838a48de3d283f3d188412a9782faadf845f298736ba0"}, + {file = "zipp-3.16.2.tar.gz", hash = "sha256:ebc15946aa78bd63458992fc81ec3b6f7b1e92d51c35e6de1c3804e73b799147"}, ] [package.extras] docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-ruff"] +testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] [metadata] lock-version = "2.0" python-versions = "^3.10.0" -content-hash = "88d8169ce77ba31c7a1f9a1821bc1603f2e5721e2bc046155d956abf284f8411" +content-hash = "569b58cd5a39206b321036a02a569e1cd5bf0f1a476c451e3416fc3a0254d4bb" diff --git a/pyproject.toml b/pyproject.toml index 8c4eb19..06b69f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,13 +20,6 @@ python = "^3.10.0" pydantic = {version = "^2.0.0"} [tool.poetry.dev-dependencies] -# CDK -service-cdk = {path = "cdk", develop = true} -aws-cdk-lib = ">=2.75.0" -constructs = ">=10.0.0" -cdk-nag = ">2.0.0" -"aws-cdk.aws-lambda-python-alpha" = "^2.75.0-alpha.0" -# DEV pytest = "*" pytest-mock = "*" pycodestyle = "*"