You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

lambdex

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambdex - pypi Package Compare versions

Comparing version
0.1.8
to
0.1.9
+5
-0
CHANGES.md
# 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 @@

+2
-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

+1
-1
# 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"
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

@@ -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]