Skip to content

v0.4.5

Choose a tag to compare

@l1nkberry l1nkberry released this 24 Aug 07:30
· 11 commits to main since this release

What was wrong

A check that travels with the package disagreed with itself between Python
versions.
The tool that measures how much of the code the test suite actually
runs asked the compiler whether a file has anything to execute. For a file with
no statements in it at all — the vendored package carries an empty __init__.py
— what compiles is an implicit return, and the line it is numbered at is 1 on
Python 3.10 and 0 on 3.11 and later. The tool ignores line 0.

So one empty file was measured on one interpreter and skipped on another, and
the recorded baseline, taken on a newer Python, failed the suite on 3.10 over a
module with no code in it. Anybody running the checks on the oldest Python this
package supports would have met it — the checks travel beside the package and
scholion doc contributing describes how to run them. The question is answered
from the source now: no statements, nothing to reach, the same answer
everywhere.