coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

Add support for Python 3.13

Open xqt opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Currently coverage supports Python until 3.12.0rc1. Pywikibot framework CI tests for example are tested for Python 3.13-dev too but coverage fails with IndexError.

See https://phabricator.wikimedia.org/T346862 for traceback and CI log

Note: This exception is also raised for coverage 6.5 as well as 7.3.1.

xqt avatar Sep 20 '23 08:09 xqt

I usually start adding support for a version when the first alpha is released.

nedbat avatar Sep 20 '23 22:09 nedbat

I usually start adding support for a version when the first alpha is released.

Python 3.13.0 alpha 1 is now available

xqt avatar Oct 17 '23 11:10 xqt

Thanks, yes. There are some odd problems reading frame objects in the C code, and I could use some help figuring it out.

nedbat avatar Oct 17 '23 13:10 nedbat

This issue is solved probably with https://github.com/nedbat/coveragepy/commit/7b8dec9a2ef9e0abe50607982b79e6454d0e4ec8

xqt avatar Nov 04 '23 16:11 xqt