From c2f0a4c094dffcd67fadb2c79db2f2a83d5d3004 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 20:26:40 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump ruff from 0.0.278 to 0.0.280 in /requirements Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.278 to 0.0.280. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.278...v0.0.280) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements/dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/dev.txt b/requirements/dev.txt index 012be5942..43f2ea759 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -12,4 +12,4 @@ pyelftools~=0.29 # Used to verify the generated Go binary architecture in integr # formatter black==23.3.0 -ruff==0.0.278 \ No newline at end of file +ruff==0.0.280 \ No newline at end of file From d66efb8f8114d4daa237b04cddbc08ce983cc48c Mon Sep 17 00:00:00 2001 From: Jacob Fuss Date: Thu, 3 Aug 2023 08:55:43 -0500 Subject: [PATCH 2/2] fix PLR1714 --- aws_lambda_builders/workflows/python_pip/packager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws_lambda_builders/workflows/python_pip/packager.py b/aws_lambda_builders/workflows/python_pip/packager.py index 18edc1ba8..4a33732f0 100644 --- a/aws_lambda_builders/workflows/python_pip/packager.py +++ b/aws_lambda_builders/workflows/python_pip/packager.py @@ -411,7 +411,7 @@ def _is_compatible_wheel_filename(self, filename): # Deploying python 3 function which means we need cp37m abi # We can also accept abi3 which is the CPython 3 Stable ABI and # will work on any version of python 3. - if abi == lambda_runtime_abi or abi == "abi3": + if abi in (lambda_runtime_abi, "abi3"): return True # Don't know what we have but it didn't pass compatibility tests. return False