Skip to content

coveragepy can only work on CPython or PyPy? #1474

Closed
@timfel

Description

@timfel

At the top of the env.py file, Jython and IronPython are recognized besides CPython and PyPy. However, line 88 (linked in this issue) assumes that coveragepy runs on either PyPy or CPython - if CPYTHON is False (as it is on e.g. Jython and IronPython, but also on GraalPy), this raises NameError: name 'PYPYVERSION' is not defined

report_absolute_files = ((CPYTHON or (PYPYVERSION >= (7, 3, 10))) and PYVERSION >= (3, 9))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions