You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
I have searched existing issues, it hasn't been reported yet
Issue description
Despite no changes being made to my python Lambda function, it is packaged and uploaded to S3 on every deploy. Here is what the directory structure for this basic project looks like:
Deploying serverless-python-requirements-test to stage dev (us-west-2)
Packaging
Generated requirements from /Users/user/Projects/serverless-python-requirements-test/lambda/requirements.txt in /Users/user/Projects/serverless-python-requirements-test/.serverless/lambda/requirements.txt
Using static cache of requirements found at /Users/user/Library/Caches/serverless-python-requirements/01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b_x86_64_slspyc
Excluding development dependencies forfunction"serverless-python-requirements-test"
Injecting required Python packages to package
Retrieving CloudFormation stack
Uploading
Uploading CloudFormation file to S3
Uploading State file to S3
Uploading service lambda-lambda-usw2-serverless-python-requirements-test.zip file to S3 (537 B)
Updating CloudFormation stack
Creating new change set
Waiting for new change set to be created
Change Set did not reach desired state, retrying
Executing created change set
UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - cfn-stack-usw2-serverless-python-requirements-test
UPDATE_IN_PROGRESS - AWS::Lambda::Function - ServerlessDashpythonDashrequirementsDashtestLambdaFunction
UPDATE_COMPLETE - AWS::Lambda::Function - ServerlessDashpythonDashrequirementsDashtestLambdaFunction
UPDATE_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack - cfn-stack-usw2-serverless-python-requirements-test
UPDATE_COMPLETE - AWS::CloudFormation::Stack - cfn-stack-usw2-serverless-python-requirements-test
Retrieving CloudFormation stack
Removing old service artifacts from S3
✔ Service deployed to stack cfn-stack-usw2-serverless-python-requirements-test (29s)
functions:
serverless-python-requirements-test: lambda-usw2-serverless-python-requirements-test (537 B)
Stack Outputs:
ServerlessDeploymentBucketName: s3-usw2-serverless-python-requirements-test
Need a faster logging experience than CloudWatch? Try our Dev Mode in Console: run "serverless dev"
Are you certain it's a bug?
Are you using the latest plugin release?
Is there an existing issue for this?
Issue description
Despite no changes being made to my python Lambda function, it is packaged and uploaded to S3 on every deploy. Here is what the directory structure for this basic project looks like:
Service configuration (serverless.yml) content
Command name and used flags
serverless deploy --verbose
Command output
Environment information