serverless/serverless-python-requirements

pipenv generation of requirements.txt changed

swiffer opened this issue · 1 comments

Are you certain it's a bug?

  • Yes, it looks like a bug

Are you using the latest plugin release?

  • Yes, I'm using the latest plugin release

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Issue description

pipenv changed the way the requirements.txt is generated and therefore the functionality is broken with newer pipenv releases.

old: pipenv lock -r

new: pipenv requirements

https://pipenv.pypa.io/en/latest/advanced/#generating-a-requirements-txt

Service configuration (serverless.yml) content

N/A

Command name and used flags

serverless deploy

Command output

N/A

Environment information

Running "serverless" from node_modules
Framework Core: 3.26.0 (local) 3.26.0 (global)
Plugin: 6.2.2
SDK: 4.3.2

duplicate, adressed already:

#718