haaska
haaska copied to clipboard
Upgrade to Python 3.9
I received this mail from AWS :
Hello,
We are contacting you as we have identified that your AWS Account currently has one or more
Lambda functions using Python 3.6 runtime.
We are ending support for Python 3.6 in AWS Lambda. This follows Python 3.6 End-Of-Life
(EOL) reached on December 23, 2021 [1].
As described in the Lambda runtime support policy [2], end of support for language runtimes in
Lambda happens in two stages. Starting July 18, 2022, Lambda will no longer apply security
patches and other updates to the Python 3.6 runtime used by Lambda functions, and functions
using Python 3.6 will no longer be eligible for technical support. In addition, you will no longer
be able to create new Lambda functions using the Python 3.6 runtime. Starting August 17,
2022, you will no longer be able to update existing functions using the Python 3.6 runtime.
We recommend that you upgrade your existing Python 3.6 functions to Python 3.9 before
August 17, 2022.
...
Is there a solution to upgrade to Python 3.9 ? How can I do this ?
Thanks for your reply
See post on the HA community forum
Not sure but I think haaska.py should be ok to run with python 3.9 Have you tried to change python version on aws lambda to see if it fails or not?
haaska runs fine with python 3.9. i already use it now over 2 month without failures
#244 will bump things up a bit plus add matrix testing for Python 3.7 - 3.10
Actually works with 3.12 for me as well. I had to delete the build directory so it'd install the latest requests library and then everything worked without issue.
Actually works with 3.12 for me as well. I had to delete the build directory so it'd install the latest requests library and then everything worked without issue.
Which directories should be deleted? Sorry for asking, but im quite newbie to python
Which directories should be deleted? Sorry for asking, but im quite newbie to python
The project has a Makefile which you can run
make clean
make
to build a new artifact that can be uploaded
This repo def could do with some :heart: There are a few open PRs for a few years now which could be merged (pending review). Although everything is functional.
@mike-grant happy to help out as I understand time with OSS can be limiting.
+1, I'd be happy to help. I've been using Haaska for many years now and would love to contribute back