Tags: curtisms/aws-lambda-builders
Tags
Merge from develop to master (aws#289) * fix: improve support for pep517 builds (aws#265) * A pep517 build can declare build dependencies. Pip will then know to install these dependencies before trying to build a wheel file. * When creating a build environment, it's only guaranteed to last for the duration of the build process. It's not accessible once a pip command finishes running. * When we try to retrieve the version of a package we run a "modified" form of "python setup.py egg_info". * The problem with this is that we're not using the build environment that has all the build dependencies installed (it's already gone), so if setup.py imports a module (e.g. cython) because it expects it to be there because it declared it as a build dependency the egg_info command will fail. * We don't check the RC or have a fallback case if we can't generate egg info. * We fail with an indecipherable IndexError. We now have a fallback where if we can't import/run the setup.py file, we assume the PKG-INFO file should be in the top level directory of the sdist so we check if it's there, and if so we use that file. * Fixed Unit Test Requiring "test" Binary (aws#266) * fix(go version parts): remove alphabets from the version for validation (aws#259) * fix(go version parts): remove alphabets from the version for validation - Go versions like 1.12rc1 or 1.16beta1 are supported. - Test added. * fix: use regex for go versions * chore: aws lambda builders version set to 1.7.0 (aws#269) * test: Temporarily disabling two Python integration tests failing on Windows (aws#282) * feat: Allow Node.js projects to be built without requiring a package.json (aws#284) * Allow nodejs to build without requiring a manifest * Fix existing tests * Remove expected .package-lock * Define actions in the scope they're used * feat: ARM support (aws#25) (aws#287) Co-authored-by: Mathieu Grandis <[email protected]> * chore: bump version to 1.8.0 (aws#288) * fix: remove rendundant get_go_versions method (aws#290) Co-authored-by: Sriram Madapusi Vasudevan <[email protected]> Co-authored-by: Cosh_ <[email protected]> Co-authored-by: Mathieu Grandis <[email protected]> Co-authored-by: Daniel Mil <[email protected]>
Merge from develop to master (aws#270) * fix: improve support for pep517 builds (aws#265) * A pep517 build can declare build dependencies. Pip will then know to install these dependencies before trying to build a wheel file. * When creating a build environment, it's only guaranteed to last for the duration of the build process. It's not accessible once a pip command finishes running. * When we try to retrieve the version of a package we run a "modified" form of "python setup.py egg_info". * The problem with this is that we're not using the build environment that has all the build dependencies installed (it's already gone), so if setup.py imports a module (e.g. cython) because it expects it to be there because it declared it as a build dependency the egg_info command will fail. * We don't check the RC or have a fallback case if we can't generate egg info. * We fail with an indecipherable IndexError. We now have a fallback where if we can't import/run the setup.py file, we assume the PKG-INFO file should be in the top level directory of the sdist so we check if it's there, and if so we use that file. * Fixed Unit Test Requiring "test" Binary (aws#266) * fix(go version parts): remove alphabets from the version for validation (aws#259) * fix(go version parts): remove alphabets from the version for validation - Go versions like 1.12rc1 or 1.16beta1 are supported. - Test added. * fix: use regex for go versions * chore: aws lambda builders version set to 1.7.0 (aws#269) Co-authored-by: Cosh_ <[email protected]>
Merge develop into master (aws#255) * feat: Allow Python runtime to build without requiring a manifest (aws#243) * Allow Python to continue build without requirements.txt * Allow missing requirements.txt file for Python builds * Ruby optional Gemfile and test * Style changes * Add unit tests and additional comments * Fix assertLogs() not compatible with Python2.7 * Fix assertion string * Remove unused exception * Integ. test make sure no artifacts dir has no additional files after build * Kick off build * Check for manifest and skip package actions if not found * Revert Ruby changes until further discussion is had. Make Python workflow more readable. * Remove unused import * Whitespace fix * feat: Allow Ruby runtime to build without requiring a manifest (aws#245) * Allow Python to continue build without requirements.txt * Allow missing requirements.txt file for Python builds * Ruby optional Gemfile and test * Style changes * Add unit tests and additional comments * Fix assertLogs() not compatible with Python2.7 * Fix assertion string * Remove unused exception * Integ. test make sure no artifacts dir has no additional files after build * Kick off build * Check for manifest and skip package actions if not found * Revert Ruby changes until further discussion is had. Make Python workflow more readable. * Remove unused import * Whitespace fix * Readability changes for Ruby workflow * Remove magic number. Add link to Bundler error codes * Moved var declaration * docs: Guidance on integrating with Lambda Builders (aws#242) * fix: README - showcase Makefile support (aws#247) * Update VS2017 to VS2019 (aws#244) * fix: Pip not resolving local packages (aws#250) * Fix local packages not being built * Add int. test to catch future local dependency issues * Specify test requirements path from cwd * Removed redundant/superset pattern * Document the pip regex pattern change * Updated integ to match use case * Tests to check backward comp. * chore: bump version to 1.5.0 (aws#254) Co-authored-by: Daniel Mil <[email protected]> Co-authored-by: Giorgio Azzinnaro <[email protected]> Co-authored-by: Sriram Madapusi Vasudevan <[email protected]>
feat: release v1.2.0 (aws#220) * Added Dynamic Encoding Selection Based on Windows System Default * Fixed dotnet output system dependent encoding * Updated test_custom_make urllib3 Version * Reformatted with black * Rollback Changes to popen for Python 2 Support * Added Doc Page for DotNet Output Encoding * fix(ruby): use stdout stream to raise exceptions from bundler - relevant error information is in stdout instead of stderr for bundler. * chore: bump version to 1.1.0 * chore: Upgrade pytest to 6.1.1 * chore: Upgrade mock to 4.0.2 * chore: Upgrade parameterize to 0.7.4 * chore: Upgrade coverage to 5.3 * chore: Upgrade flake8 to 3.8.4 * chore: Upgrade pylint to 2.6.0 * Consider using Python 3 style super() without arguments (super-with-arguments) * Implicit string concatenation found in assignment (implicit-str-concat) * Consider explicitly re-raising using the 'from' keyword (raise-missing-from) * Only install backports.tempfile for 2.7 & 3.6 * python 2 fallbacks (pylint & mock) * Revert "Consider using Python 3 style super() without arguments (super-with-arguments)" This reverts commit 44284ea. * Revert "Consider explicitly re-raising using the 'from' keyword (raise-missing-from)" This reverts commit cd7c16e. * Disable rules that affecting Python 2 * Manage black version using requirement file (aws#207) * chore: Manage black version in dev.txt * chore: Update appveyor, use black in pip * chore: Add pre-commit-config * chore: Format with black 20.8b1 * chore: Add make pr2.7 for Python 2 that does not run black * chore: Remove python patch version in AppVeyor to be more robust (aws#213) * chore: Remove biased language (aws#212) * fix: run GlobalToolInstallAction in a lock block and only once (aws#214) * fix: run GlobalToolInstallAction in a lock block and only once * chore: change field name and update unit tests * chore: black formatting * fix: change tests to use threadpool for py2 * chore: update assert call and change usage of Executor * chore: bump version to 1.2.0 (aws#218) Co-authored-by: Wilton Wang <[email protected]> Co-authored-by: Sriram Madapusi Vasudevan <[email protected]> Co-authored-by: Sriram Madapusi Vasudevan <[email protected]> Co-authored-by: Sam Liu <[email protected]> Co-authored-by: _sam <[email protected]>
Merging new features to master branch (aws#196) * Added Dynamic Encoding Selection Based on Windows System Default * Fixed dotnet output system dependent encoding * Updated test_custom_make urllib3 Version * Reformatted with black * Rollback Changes to popen for Python 2 Support * Added Doc Page for DotNet Output Encoding * fix(ruby): use stdout stream to raise exceptions from bundler - relevant error information is in stdout instead of stderr for bundler. * chore: bump version to 1.1.0 Co-authored-by: Wilton Wang <[email protected]> Co-authored-by: Sriram Madapusi Vasudevan <[email protected]> Co-authored-by: Sriram Madapusi Vasudevan <[email protected]>
PreviousNext