Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Python 3.9 #238

Open
SylvainSimplonGit opened this issue Apr 18, 2022 · 8 comments
Open

Upgrade to Python 3.9 #238

SylvainSimplonGit opened this issue Apr 18, 2022 · 8 comments

Comments

@SylvainSimplonGit
Copy link

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

@narsaw
Copy link

narsaw commented Apr 18, 2022

See post on the HA community forum

@bennyboom38
Copy link

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?

@fwmarcel
Copy link

haaska runs fine with python 3.9.
i already use it now over 2 month without failures

@inverse
Copy link
Contributor

inverse commented Jul 25, 2022

#244 will bump things up a bit plus add matrix testing for Python 3.7 - 3.10

@justin8
Copy link

justin8 commented Apr 21, 2024

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.

@xPudda
Copy link

xPudda commented Apr 21, 2024

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

@inverse
Copy link
Contributor

inverse commented Apr 21, 2024

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 ❤️ 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.

@justin8
Copy link

justin8 commented Apr 22, 2024

+1, I'd be happy to help. I've been using Haaska for many years now and would love to contribute back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants