python 3 support
See original GitHub issueWork plan
- add future imports: #1214
- set up CI to run against Python 3.6, block merge on regressions: #1234
- update dev docs: #1303
- fix one thing at a time (consider modernize):
- block merge on new test failures under Python 3: #1388
- fix remaining tests:
-
constrain runtime from local to lambda:#1546 - allow for changing runtimes: #1638
- allow for namespace packages in
PythonPackageArchive
: #1677 - port tools to start getting a feel for real use
- update docs w/ beta status for py36: #1519
-
start running live -
fix bugs
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:22 (20 by maintainers)
Top Results From Across the Web
Python - endoflife.date
Release Released Security Support
3.11 1 month and 3 weeks ago. (24 Oct 2022) Ends in 4 years and 10 months. (24 Oct 2...
3.10...
Read more >Status of Python Versions - Python Developer's Guide
Supported Versions#. Dates shown in italic are scheduled and can be adjusted. Branch. Schedule. Status. First release. End of life. Release manager. main....
Read more >Python 3.0 Release
Are you a PSF Supporting Member yet? We're halfway to our goal of 100 new Supporting Members by the end of 2022! Can...
Read more >Porting Python 2 Code to Python 3 — Python 3.11.1 ...
A key point about supporting Python 2 & 3 simultaneously is that you can start today! Even if your dependencies are not supporting...
Read more >Python Documentation by Version
Python 3.10.3, documentation released on 16 March 2022. ... We're halfway to our goal of 100 new Supporting Members by the end of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Lambda now supports 3.6: https://aws.amazon.com/about-aws/whats-new/2017/04/aws-lambda-supports-python-3-6/
I’ve tracked down the intermittent failure in
test_cli.py
@whit537. The Python 2 tests Pickle some data in~/.cache/cloud-custodian.cache
. When the tests run under Python 3, it loads that file and hits aUnicodeDecodeError
.There are options for
pickle.load()
that will fix this, but they’re only available under Python 3. I don’t think writing the file using Python 2 and reading it with Python 3 represents a real use-case that we need to worry about, so I’m not going to make any changes to the code, but maybe that cache should be wiped when tests are done.As for the tools, I’ve only done light work on the mailer so I’m not too familiar, but if that’s what’s next, I’d be happy to start on them.