Closed hroncok closed 9 months ago
Patch and project coverage have no change.
Comparison is base (
a1d0615
) 80.30% compared to head (d7e6775
) 80.30%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you!
In f4d046c0cec1dab17f65853442b1da7d341e2915 an assumption was made (correct at the time), that only the importlib.metadata backport,
importlib_metadata
, returns a tuple of entry points.However, importlib.metadata in Python 3.12+ behaves the same.
This caused a KeyError exception to be thrown on Python 3.12, as reported repeatedly be testers of Fedora Linux 39 in:
https://bugzilla.redhat.com/show_bug.cgi?id=2231593
This change adjusts the conditional used in check_console_script to assume both the backport and Python 3.12+ return a tuple.
While not obvious from the test failures output, this change also fixes the following TestBashGlobal tests failures:
For the reference, the failures looked like this:
Fixes https://github.com/kislyuk/argcomplete/issues/440