lambdex
Advanced tools
+5
-0
| # Release Notes | ||
| ## 0.1.9 | ||
| This release fixes a bug wherein, when using the -o/--output option Lambdex would fail to write the | ||
| output file if the original input file was not writeable. | ||
| ## 0.1.8 | ||
@@ -4,0 +9,0 @@ |
@@ -13,2 +13,3 @@ # Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). | ||
| import shutil | ||
| import stat | ||
| import sys | ||
@@ -64,2 +65,3 @@ import zipfile | ||
| shutil.copy(pex_zip, output_zip) | ||
| os.chmod(output_zip, os.stat(output_zip).st_mode | stat.S_IWRITE) | ||
| else: | ||
@@ -66,0 +68,0 @@ output_zip = pex_zip |
| # Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). | ||
| # Licensed under the Apache License, Version 2.0 (see LICENSE). | ||
| __version__ = "0.1.8" | ||
| __version__ = "0.1.9" |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: lambdex | ||
| Version: 0.1.8 | ||
| Version: 0.1.9 | ||
| Summary: Lambdex turns pex files into aws lambda python functions. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/pantsbuild/lambdex |
+4
-1
@@ -30,3 +30,5 @@ [tox] | ||
| pex -r {toxinidir}/examples/event_based/requirements.txt -o {toxinidir}/dist/lambda_function.pex | ||
| {toxinidir}/dist/lambdex build -o {toxinidir}/dist/lambda_function_copy.pex -s examples/event_based/example_function.py -H handler -M lambdex_handler.py {toxinidir}/dist/lambda_function.pex | ||
| cp {toxinidir}/dist/lambda_function.pex {toxinidir}/dist/lambda_function_ro.pex | ||
| chmod 0544 {toxinidir}/dist/lambda_function_ro.pex | ||
| {toxinidir}/dist/lambdex build -o {toxinidir}/dist/lambda_function_copy.pex -s examples/event_based/example_function.py -H handler -M lambdex_handler.py {toxinidir}/dist/lambda_function_ro.pex | ||
| {toxinidir}/dist/lambda_function_copy.pex -c 'from lambdex_handler import handler; handler(\{"url":"https://github.com/pantsbuild/lambdex"\}, None)' | ||
@@ -74,2 +76,3 @@ {toxinidir}/dist/lambdex build -s examples/event_based/example_function.py -H handler -M lambdex_handler.py {toxinidir}/dist/lambda_function.pex | ||
| {toxinidir}/dist/lambda_function.pex | ||
| chmod | ||
@@ -76,0 +79,0 @@ [testenv:pex] |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
48471
0.83%354
0.57%