Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use `sys.monitoring` once coverage.py supports it

Open
#241 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing, tooling

Research direction

Review PR #237 commit 036a5ec8df389d021979a253f299773975233a23 to identify the current coverage and Cython configuration, then follow coverage.py issue #1790 for plugin support with sys.monitoring. Done means rolling back those workarounds once coverage supports the required plugins and verifying coverage still works with Cython 3.1 and Python 3.14+.

Written by the indexing model from the issue text.

Description

enhancement upstream

In https://github.com/openzim/python-libzim/pull/237/commits/036a5ec8df389d021979a253f299773975233a23, we've made configuration changes to ensure coverage still works with Cython 3.1

The issue is that:

The commit referenced above hence asked:

  • coverage to use the ctrace core
  • Cython to not use sys.monitoring for profile / linetracing

This needs to be rolled-back (to use sys.monitoring which is expected to be way more performant) once coverage supports plugins with sys.monitoring (probably https://github.com/nedbat/coveragepy/issues/1790 is the issue to follow).

Dominant language
Python
Stars
109
Forks
29
Avg merge
9d 1h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openzim/python-libzim

All issues in openzim/python-libzim

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.