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