boltons icon indicating copy to clipboard operation
boltons copied to clipboard

Support latest Python versions

Open cretz opened this issue 3 years ago • 1 comments
trafficstars

I noticed README says:

Boltons is tested against [...] CPython nightly

But I cannot find where this test occurs. There seem to be no 3.10 test runs or CPython nightly test runs. My concern is the traceback string format has changed in 3.11 so the parser may not work as is.

cretz avatar Jul 06 '22 17:07 cretz

A very valid concern!

I just updated the CI to test against 3.11, but that won't help. The traceback parser is almost certainly out-of-date for newer versions, unfortunately. The tests still pass because frankly they're too simple: https://github.com/mahmoud/boltons/blob/master/tests/test_tbutils_parsed_exc.py

I'd gladly accept more tests or an updated parser. The code is pretty straightforward over here: https://github.com/mahmoud/boltons/blob/895f7c49e2737aad250e51c2d999639536054b64/boltons/tbutils.py#L689

mahmoud avatar Feb 20 '23 05:02 mahmoud