question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.


Work 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):
    • cStringIO → io: #1272 let’s go with …
    • unlock test files: #1285
    • basestring -> six.string_types: #1286
    • mondo PR: #1376
  • block merge on new test failures under Python 3: #1388
  • fix remaining tests:
    • mu/lambda-related: #1400
    • one-offs: #1389
    • csv-related & remaining one-offs: #1396
  • 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
    • index
    • logexporter
    • mailer: #1417
    • org
    • salactus
    • sentry: #1420
    • sphere11
    • sphinxext
    • traildb
  • update docs w/ beta status for py36: #1519
  • start running live
  • fix bugs

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:22 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
skurfercommented, Jul 12, 2017

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 a UnicodeDecodeError.

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found