Dependencies not included in final zip package
Issue description
I have following in the serverless.yml
custom: pythonRequirements: dockerizePip: true usePipenv: true slim: true useDownloadCache: true useStaticCache: true package: individually: false excludeDevDependencies: true patterns: - "!**" - "src/**"
This correctly includes both source code in src and generated dependencies from .serverless/requirements on CI that uses Ubuntu.
Locally on my Windows machine dependencies are not included in the final zip package even though they are generated.
Log output:
Packaging "X" for stage "test" (eu-north-1)
Generating requirements.txt from Pipfile
Getting pipenv version
Parsed requirements.txt from Pipfile in ...\.serverless\requirements.txt
Using static cache of requirements found at ...\AppData\Local\UnitedIncome\serverless-python-requirements\Cache\5327edf16735dffc04ef33e773979ee6dcd182ba061f9b4b550358ad10bff8e5_x86_64_slspyc
Excluding development dependencies for service package
Injecting required Python packages to package
✔ Service packaged (3s)
If I reinstall and restore serverless-python-requirements plugin
plugins: - serverless-python-requirements
I get final zip package with source code and the dependencies.
Is this some sort of regression that came with integrating the plugin to core framework or something in my setup is just wrong?
Context
serverless 4.31.2
pipenv 2026.0.3
Windows 11
Discussion also open