aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.61k stars 1.01k forks source link

Add support for Python 3.12 #2087

Closed jamesls closed 7 months ago

jamesls commented 9 months ago

In addition to the mechanical changes needed to support a new Python version, I also made a few additional changes to get everything passing:

Closes #2086

jamesls commented 9 months ago

Looks like there's some issues with the pylint specific to python3.12 that I'll need to track down. Otherwise the feature itself seems to be working (I can deploy python3.12 apps to Lambda).

iw-an commented 8 months ago

@jamesls @devinmatte is there any update on getting this out?

werlex commented 7 months ago

@jamesls @devinmatte seems like 3.7 support was dropped. So you are planning to remove 3.7 support and add 3.12 with this same PR?

jamesls commented 7 months ago

Quick update, python 3.7 has been deprecated for a few months now and haven't seen any issues in the SDK/other projects so I think we should be good to move ahead with also dropping 3.7 support. I think the simplest path here is to send a pr to drop 3.7 support, the rebase this PR on top. Working on this now, should have an update shortly.

jamesls commented 7 months ago

Py37 dropped in https://github.com/aws/chalice/pull/2095, going to rebase now and should be able to get a clean run through CI.