From 347bc22fd5b7328b4233eddad9df570b4eb84c03 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Thu, 5 May 2022 20:57:02 +1000 Subject: [PATCH] Try adding complete_platform for my mac too --- src/lambda-package/BUILD | 5 +- src/lambda-package/complete_platform_mac.json | 386 ++++++++++++++++++ 2 files changed, 389 insertions(+), 2 deletions(-) create mode 100644 src/lambda-package/complete_platform_mac.json diff --git a/src/lambda-package/BUILD b/src/lambda-package/BUILD index 5897d7b..366675a 100644 --- a/src/lambda-package/BUILD +++ b/src/lambda-package/BUILD @@ -4,12 +4,13 @@ python_sources() python_requirement(name="urllib3", requirements=["urllib3==1.26.9"]) file(name="complete_platform_lambda", source="./complete_platform_lambda.json") +file(name="complete_platform_mac", source="./complete_platform_mac.json") python_awslambda( name="awslambda", handler="lambda.py:handler", runtime="python3.9", - complete_platforms=[":complete_platform_lambda"], + complete_platforms=[":complete_platform_lambda", ":complete_platform_mac"], ) -archive(name="validate_complete_platform_lambda", files=[":complete_platform_lambda"], format="zip") +archive(name="validate_complete_platform_lambda", files=[":complete_platform_lambda", ":complete_platform_mac"], format="zip") diff --git a/src/lambda-package/complete_platform_mac.json b/src/lambda-package/complete_platform_mac.json new file mode 100644 index 0000000..644a12a --- /dev/null +++ b/src/lambda-package/complete_platform_mac.json @@ -0,0 +1,386 @@ +{ + "path": "/Users/huon/.pyenv/versions/3.9.10/bin/python3.9", + "compatible_tags": [ + "cp39-cp39-macosx_12_0_arm64", + "cp39-cp39-macosx_12_0_universal2", + "cp39-cp39-macosx_11_0_arm64", + "cp39-cp39-macosx_11_0_universal2", + "cp39-cp39-macosx_10_16_universal2", + "cp39-cp39-macosx_10_15_universal2", + "cp39-cp39-macosx_10_14_universal2", + "cp39-cp39-macosx_10_13_universal2", + "cp39-cp39-macosx_10_12_universal2", + "cp39-cp39-macosx_10_11_universal2", + "cp39-cp39-macosx_10_10_universal2", + "cp39-cp39-macosx_10_9_universal2", + "cp39-cp39-macosx_10_8_universal2", + "cp39-cp39-macosx_10_7_universal2", + "cp39-cp39-macosx_10_6_universal2", + "cp39-cp39-macosx_10_5_universal2", + "cp39-cp39-macosx_10_4_universal2", + "cp39-abi3-macosx_12_0_arm64", + "cp39-abi3-macosx_12_0_universal2", + "cp39-abi3-macosx_11_0_arm64", + "cp39-abi3-macosx_11_0_universal2", + "cp39-abi3-macosx_10_16_universal2", + "cp39-abi3-macosx_10_15_universal2", + "cp39-abi3-macosx_10_14_universal2", + "cp39-abi3-macosx_10_13_universal2", + "cp39-abi3-macosx_10_12_universal2", + "cp39-abi3-macosx_10_11_universal2", + "cp39-abi3-macosx_10_10_universal2", + "cp39-abi3-macosx_10_9_universal2", + "cp39-abi3-macosx_10_8_universal2", + "cp39-abi3-macosx_10_7_universal2", + "cp39-abi3-macosx_10_6_universal2", + "cp39-abi3-macosx_10_5_universal2", + "cp39-abi3-macosx_10_4_universal2", + "cp39-none-macosx_12_0_arm64", + "cp39-none-macosx_12_0_universal2", + "cp39-none-macosx_11_0_arm64", + "cp39-none-macosx_11_0_universal2", + "cp39-none-macosx_10_16_universal2", + "cp39-none-macosx_10_15_universal2", + "cp39-none-macosx_10_14_universal2", + "cp39-none-macosx_10_13_universal2", + "cp39-none-macosx_10_12_universal2", + "cp39-none-macosx_10_11_universal2", + "cp39-none-macosx_10_10_universal2", + "cp39-none-macosx_10_9_universal2", + "cp39-none-macosx_10_8_universal2", + "cp39-none-macosx_10_7_universal2", + "cp39-none-macosx_10_6_universal2", + "cp39-none-macosx_10_5_universal2", + "cp39-none-macosx_10_4_universal2", + "cp38-abi3-macosx_12_0_arm64", + "cp38-abi3-macosx_12_0_universal2", + "cp38-abi3-macosx_11_0_arm64", + "cp38-abi3-macosx_11_0_universal2", + "cp38-abi3-macosx_10_16_universal2", + "cp38-abi3-macosx_10_15_universal2", + "cp38-abi3-macosx_10_14_universal2", + "cp38-abi3-macosx_10_13_universal2", + "cp38-abi3-macosx_10_12_universal2", + "cp38-abi3-macosx_10_11_universal2", + "cp38-abi3-macosx_10_10_universal2", + "cp38-abi3-macosx_10_9_universal2", + "cp38-abi3-macosx_10_8_universal2", + "cp38-abi3-macosx_10_7_universal2", + "cp38-abi3-macosx_10_6_universal2", + "cp38-abi3-macosx_10_5_universal2", + "cp38-abi3-macosx_10_4_universal2", + "cp37-abi3-macosx_12_0_arm64", + "cp37-abi3-macosx_12_0_universal2", + "cp37-abi3-macosx_11_0_arm64", + "cp37-abi3-macosx_11_0_universal2", + "cp37-abi3-macosx_10_16_universal2", + "cp37-abi3-macosx_10_15_universal2", + "cp37-abi3-macosx_10_14_universal2", + "cp37-abi3-macosx_10_13_universal2", + "cp37-abi3-macosx_10_12_universal2", + "cp37-abi3-macosx_10_11_universal2", + "cp37-abi3-macosx_10_10_universal2", + "cp37-abi3-macosx_10_9_universal2", + "cp37-abi3-macosx_10_8_universal2", + "cp37-abi3-macosx_10_7_universal2", + "cp37-abi3-macosx_10_6_universal2", + "cp37-abi3-macosx_10_5_universal2", + "cp37-abi3-macosx_10_4_universal2", + "cp36-abi3-macosx_12_0_arm64", + "cp36-abi3-macosx_12_0_universal2", + "cp36-abi3-macosx_11_0_arm64", + "cp36-abi3-macosx_11_0_universal2", + "cp36-abi3-macosx_10_16_universal2", + "cp36-abi3-macosx_10_15_universal2", + "cp36-abi3-macosx_10_14_universal2", + "cp36-abi3-macosx_10_13_universal2", + "cp36-abi3-macosx_10_12_universal2", + "cp36-abi3-macosx_10_11_universal2", + "cp36-abi3-macosx_10_10_universal2", + "cp36-abi3-macosx_10_9_universal2", + "cp36-abi3-macosx_10_8_universal2", + "cp36-abi3-macosx_10_7_universal2", + "cp36-abi3-macosx_10_6_universal2", + "cp36-abi3-macosx_10_5_universal2", + "cp36-abi3-macosx_10_4_universal2", + "cp35-abi3-macosx_12_0_arm64", + "cp35-abi3-macosx_12_0_universal2", + "cp35-abi3-macosx_11_0_arm64", + "cp35-abi3-macosx_11_0_universal2", + "cp35-abi3-macosx_10_16_universal2", + "cp35-abi3-macosx_10_15_universal2", + "cp35-abi3-macosx_10_14_universal2", + "cp35-abi3-macosx_10_13_universal2", + "cp35-abi3-macosx_10_12_universal2", + "cp35-abi3-macosx_10_11_universal2", + "cp35-abi3-macosx_10_10_universal2", + "cp35-abi3-macosx_10_9_universal2", + "cp35-abi3-macosx_10_8_universal2", + "cp35-abi3-macosx_10_7_universal2", + "cp35-abi3-macosx_10_6_universal2", + "cp35-abi3-macosx_10_5_universal2", + "cp35-abi3-macosx_10_4_universal2", + "cp34-abi3-macosx_12_0_arm64", + "cp34-abi3-macosx_12_0_universal2", + "cp34-abi3-macosx_11_0_arm64", + "cp34-abi3-macosx_11_0_universal2", + "cp34-abi3-macosx_10_16_universal2", + "cp34-abi3-macosx_10_15_universal2", + "cp34-abi3-macosx_10_14_universal2", + "cp34-abi3-macosx_10_13_universal2", + "cp34-abi3-macosx_10_12_universal2", + "cp34-abi3-macosx_10_11_universal2", + "cp34-abi3-macosx_10_10_universal2", + "cp34-abi3-macosx_10_9_universal2", + "cp34-abi3-macosx_10_8_universal2", + "cp34-abi3-macosx_10_7_universal2", + "cp34-abi3-macosx_10_6_universal2", + "cp34-abi3-macosx_10_5_universal2", + "cp34-abi3-macosx_10_4_universal2", + "cp33-abi3-macosx_12_0_arm64", + "cp33-abi3-macosx_12_0_universal2", + "cp33-abi3-macosx_11_0_arm64", + "cp33-abi3-macosx_11_0_universal2", + "cp33-abi3-macosx_10_16_universal2", + "cp33-abi3-macosx_10_15_universal2", + "cp33-abi3-macosx_10_14_universal2", + "cp33-abi3-macosx_10_13_universal2", + "cp33-abi3-macosx_10_12_universal2", + "cp33-abi3-macosx_10_11_universal2", + "cp33-abi3-macosx_10_10_universal2", + "cp33-abi3-macosx_10_9_universal2", + "cp33-abi3-macosx_10_8_universal2", + "cp33-abi3-macosx_10_7_universal2", + "cp33-abi3-macosx_10_6_universal2", + "cp33-abi3-macosx_10_5_universal2", + "cp33-abi3-macosx_10_4_universal2", + "cp32-abi3-macosx_12_0_arm64", + "cp32-abi3-macosx_12_0_universal2", + "cp32-abi3-macosx_11_0_arm64", + "cp32-abi3-macosx_11_0_universal2", + "cp32-abi3-macosx_10_16_universal2", + "cp32-abi3-macosx_10_15_universal2", + "cp32-abi3-macosx_10_14_universal2", + "cp32-abi3-macosx_10_13_universal2", + "cp32-abi3-macosx_10_12_universal2", + "cp32-abi3-macosx_10_11_universal2", + "cp32-abi3-macosx_10_10_universal2", + "cp32-abi3-macosx_10_9_universal2", + "cp32-abi3-macosx_10_8_universal2", + "cp32-abi3-macosx_10_7_universal2", + "cp32-abi3-macosx_10_6_universal2", + "cp32-abi3-macosx_10_5_universal2", + "cp32-abi3-macosx_10_4_universal2", + "py39-none-macosx_12_0_arm64", + "py39-none-macosx_12_0_universal2", + "py39-none-macosx_11_0_arm64", + "py39-none-macosx_11_0_universal2", + "py39-none-macosx_10_16_universal2", + "py39-none-macosx_10_15_universal2", + "py39-none-macosx_10_14_universal2", + "py39-none-macosx_10_13_universal2", + "py39-none-macosx_10_12_universal2", + "py39-none-macosx_10_11_universal2", + "py39-none-macosx_10_10_universal2", + "py39-none-macosx_10_9_universal2", + "py39-none-macosx_10_8_universal2", + "py39-none-macosx_10_7_universal2", + "py39-none-macosx_10_6_universal2", + "py39-none-macosx_10_5_universal2", + "py39-none-macosx_10_4_universal2", + "py3-none-macosx_12_0_arm64", + "py3-none-macosx_12_0_universal2", + "py3-none-macosx_11_0_arm64", + "py3-none-macosx_11_0_universal2", + "py3-none-macosx_10_16_universal2", + "py3-none-macosx_10_15_universal2", + "py3-none-macosx_10_14_universal2", + "py3-none-macosx_10_13_universal2", + "py3-none-macosx_10_12_universal2", + "py3-none-macosx_10_11_universal2", + "py3-none-macosx_10_10_universal2", + "py3-none-macosx_10_9_universal2", + "py3-none-macosx_10_8_universal2", + "py3-none-macosx_10_7_universal2", + "py3-none-macosx_10_6_universal2", + "py3-none-macosx_10_5_universal2", + "py3-none-macosx_10_4_universal2", + "py38-none-macosx_12_0_arm64", + "py38-none-macosx_12_0_universal2", + "py38-none-macosx_11_0_arm64", + "py38-none-macosx_11_0_universal2", + "py38-none-macosx_10_16_universal2", + "py38-none-macosx_10_15_universal2", + "py38-none-macosx_10_14_universal2", + "py38-none-macosx_10_13_universal2", + "py38-none-macosx_10_12_universal2", + "py38-none-macosx_10_11_universal2", + "py38-none-macosx_10_10_universal2", + "py38-none-macosx_10_9_universal2", + "py38-none-macosx_10_8_universal2", + "py38-none-macosx_10_7_universal2", + "py38-none-macosx_10_6_universal2", + "py38-none-macosx_10_5_universal2", + "py38-none-macosx_10_4_universal2", + "py37-none-macosx_12_0_arm64", + "py37-none-macosx_12_0_universal2", + "py37-none-macosx_11_0_arm64", + "py37-none-macosx_11_0_universal2", + "py37-none-macosx_10_16_universal2", + "py37-none-macosx_10_15_universal2", + "py37-none-macosx_10_14_universal2", + "py37-none-macosx_10_13_universal2", + "py37-none-macosx_10_12_universal2", + "py37-none-macosx_10_11_universal2", + "py37-none-macosx_10_10_universal2", + "py37-none-macosx_10_9_universal2", + "py37-none-macosx_10_8_universal2", + "py37-none-macosx_10_7_universal2", + "py37-none-macosx_10_6_universal2", + "py37-none-macosx_10_5_universal2", + "py37-none-macosx_10_4_universal2", + "py36-none-macosx_12_0_arm64", + "py36-none-macosx_12_0_universal2", + "py36-none-macosx_11_0_arm64", + "py36-none-macosx_11_0_universal2", + "py36-none-macosx_10_16_universal2", + "py36-none-macosx_10_15_universal2", + "py36-none-macosx_10_14_universal2", + "py36-none-macosx_10_13_universal2", + "py36-none-macosx_10_12_universal2", + "py36-none-macosx_10_11_universal2", + "py36-none-macosx_10_10_universal2", + "py36-none-macosx_10_9_universal2", + "py36-none-macosx_10_8_universal2", + "py36-none-macosx_10_7_universal2", + "py36-none-macosx_10_6_universal2", + "py36-none-macosx_10_5_universal2", + "py36-none-macosx_10_4_universal2", + "py35-none-macosx_12_0_arm64", + "py35-none-macosx_12_0_universal2", + "py35-none-macosx_11_0_arm64", + "py35-none-macosx_11_0_universal2", + "py35-none-macosx_10_16_universal2", + "py35-none-macosx_10_15_universal2", + "py35-none-macosx_10_14_universal2", + "py35-none-macosx_10_13_universal2", + "py35-none-macosx_10_12_universal2", + "py35-none-macosx_10_11_universal2", + "py35-none-macosx_10_10_universal2", + "py35-none-macosx_10_9_universal2", + "py35-none-macosx_10_8_universal2", + "py35-none-macosx_10_7_universal2", + "py35-none-macosx_10_6_universal2", + "py35-none-macosx_10_5_universal2", + "py35-none-macosx_10_4_universal2", + "py34-none-macosx_12_0_arm64", + "py34-none-macosx_12_0_universal2", + "py34-none-macosx_11_0_arm64", + "py34-none-macosx_11_0_universal2", + "py34-none-macosx_10_16_universal2", + "py34-none-macosx_10_15_universal2", + "py34-none-macosx_10_14_universal2", + "py34-none-macosx_10_13_universal2", + "py34-none-macosx_10_12_universal2", + "py34-none-macosx_10_11_universal2", + "py34-none-macosx_10_10_universal2", + "py34-none-macosx_10_9_universal2", + "py34-none-macosx_10_8_universal2", + "py34-none-macosx_10_7_universal2", + "py34-none-macosx_10_6_universal2", + "py34-none-macosx_10_5_universal2", + "py34-none-macosx_10_4_universal2", + "py33-none-macosx_12_0_arm64", + "py33-none-macosx_12_0_universal2", + "py33-none-macosx_11_0_arm64", + "py33-none-macosx_11_0_universal2", + "py33-none-macosx_10_16_universal2", + "py33-none-macosx_10_15_universal2", + "py33-none-macosx_10_14_universal2", + "py33-none-macosx_10_13_universal2", + "py33-none-macosx_10_12_universal2", + "py33-none-macosx_10_11_universal2", + "py33-none-macosx_10_10_universal2", + "py33-none-macosx_10_9_universal2", + "py33-none-macosx_10_8_universal2", + "py33-none-macosx_10_7_universal2", + "py33-none-macosx_10_6_universal2", + "py33-none-macosx_10_5_universal2", + "py33-none-macosx_10_4_universal2", + "py32-none-macosx_12_0_arm64", + "py32-none-macosx_12_0_universal2", + "py32-none-macosx_11_0_arm64", + "py32-none-macosx_11_0_universal2", + "py32-none-macosx_10_16_universal2", + "py32-none-macosx_10_15_universal2", + "py32-none-macosx_10_14_universal2", + "py32-none-macosx_10_13_universal2", + "py32-none-macosx_10_12_universal2", + "py32-none-macosx_10_11_universal2", + "py32-none-macosx_10_10_universal2", + "py32-none-macosx_10_9_universal2", + "py32-none-macosx_10_8_universal2", + "py32-none-macosx_10_7_universal2", + "py32-none-macosx_10_6_universal2", + "py32-none-macosx_10_5_universal2", + "py32-none-macosx_10_4_universal2", + "py31-none-macosx_12_0_arm64", + "py31-none-macosx_12_0_universal2", + "py31-none-macosx_11_0_arm64", + "py31-none-macosx_11_0_universal2", + "py31-none-macosx_10_16_universal2", + "py31-none-macosx_10_15_universal2", + "py31-none-macosx_10_14_universal2", + "py31-none-macosx_10_13_universal2", + "py31-none-macosx_10_12_universal2", + "py31-none-macosx_10_11_universal2", + "py31-none-macosx_10_10_universal2", + "py31-none-macosx_10_9_universal2", + "py31-none-macosx_10_8_universal2", + "py31-none-macosx_10_7_universal2", + "py31-none-macosx_10_6_universal2", + "py31-none-macosx_10_5_universal2", + "py31-none-macosx_10_4_universal2", + "py30-none-macosx_12_0_arm64", + "py30-none-macosx_12_0_universal2", + "py30-none-macosx_11_0_arm64", + "py30-none-macosx_11_0_universal2", + "py30-none-macosx_10_16_universal2", + "py30-none-macosx_10_15_universal2", + "py30-none-macosx_10_14_universal2", + "py30-none-macosx_10_13_universal2", + "py30-none-macosx_10_12_universal2", + "py30-none-macosx_10_11_universal2", + "py30-none-macosx_10_10_universal2", + "py30-none-macosx_10_9_universal2", + "py30-none-macosx_10_8_universal2", + "py30-none-macosx_10_7_universal2", + "py30-none-macosx_10_6_universal2", + "py30-none-macosx_10_5_universal2", + "py30-none-macosx_10_4_universal2", + "py39-none-any", + "py3-none-any", + "py38-none-any", + "py37-none-any", + "py36-none-any", + "py35-none-any", + "py34-none-any", + "py33-none-any", + "py32-none-any", + "py31-none-any", + "py30-none-any" + ], + "marker_environment": { + "implementation_name": "cpython", + "implementation_version": "3.9.10", + "os_name": "posix", + "platform_machine": "arm64", + "platform_python_implementation": "CPython", + "platform_release": "21.4.0", + "platform_system": "Darwin", + "platform_version": "Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101", + "python_full_version": "3.9.10", + "python_version": "3.9", + "sys_platform": "darwin" + } +}