serverless / serverless-python-requirements

⚡️🐍📦 Serverless plugin to bundle Python packages
MIT License
1.11k stars 290 forks source link

PEP631/621 Support + Python10 Support + DependABot update #828

Open jax-b opened 7 months ago

jax-b commented 7 months ago
pgrzesik commented 7 months ago

Hey @jax-b - thanks a lot for submitting your work, unfortunately the CI is failing at the moment, looks like the Python setup is broken (wrong version).

While bump to Python3.10 will definitely happen at some point, at the moment Python3.9 runtime on AWS Lambda still doesn't have a deprecation date, so I think it would be better to stick to this version, at least until it gets a deprecation date. Alternatively, we can have a matrix with multiple Python versions but that might be cumbersome to support with python packages support.

jax-b commented 7 months ago

I saw 😞 . the python version number is being interpreted as a float rather then a string. I have a fix already for it. There is another issue that im working on fixing as well. multiple requirements are coming in on the same line with commas rather then as new lines

jax-b commented 7 months ago

While 3.9 is supported by AWS it would probably be good to go to at lease 3.11 if not 3.12 to match the EOL dates set by PSF. (3.10 was easy for me as i follow the latest LTS branch of ubuntu). 3.11 is about to fall to security updates only.

OJFord commented 1 month ago

Gentle nudge, @pgrzesik, is there still work to be done here?