Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion CICD/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Resources:
PackageType: Zip
ReservedConcurrentExecutions: 1
Role: !GetAtt LambdaRole.Arn
Runtime: python3.11
Runtime: python3.12
Timeout: 60
VpcConfig:
SecurityGroupIds:
Expand Down
12 changes: 1 addition & 11 deletions lambda_multiprocessing/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,12 @@
from pathlib import Path
import os
import sys

from functools import cache

import boto3
from moto import mock_aws
from lambda_multiprocessing.timeout import TimeoutManager, TestTimeoutException

if sys.version_info < (3, 9):
# functools.cache was added in 3.9
# define an empty decorator that doesn't do anything
# (our usage of the cache isn't essential)
def cache(func):
return func
else:
# Import the cache function from functools for Python 3.9 and above
from functools import cache

# add an overhead for duration when asserting the duration of child processes
# if other processes are hogging CPU, make this bigger
delta = 0.1
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='lambda_multiprocessing',
version='1.0',
version='1.1',
description='drop-in replacement for multiprocessing.Pool in AWS Lambda functions (without /dev/shm shared memory)',
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -19,11 +19,11 @@
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
keywords=['python', 'AWS', 'Amazon', 'Lambda', 'multiprocessing', 'pool', 'concurrency'],
packages=find_packages(),
Expand Down