-
-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
cta-observatory/ctapipe
#2882Labels
Description
Describe the bug
when setting concurrency to greenlet on python 3.14, the following error occurs when running anything with coverage:
> coverage run asdf
Can't support concurrency=greenlet with SysMonitor, only threads are supported.
To Reproduce
- create the following
pyproject.toml:# pyproject.toml [project] name = "asdf" version = "0.0.1" dependencies = [ "greenlet>=3.2.4", "coverage>=7.10.7", ] requires-python = "~=3.13.0" readme = "README.md" license = { text = "MIT" } [tool.coverage.run] concurrency = ["greenlet"]
- install uv
- run the following commands:
uv sync uv run coverage run asdf
Answer the questions below:
- What version of Python are you using? 3.14
- What version of coverage.py shows the problem? 7.10.7
- What versions of what packages do you have installed? The output of
pip freezeis helpful. greenlet 3.2.4 - What code shows the problem? N/A, happens on any command
- What commands should we run to reproduce the problem? see above
Expected behavior
no error
Additional context
this only happens on python 3.14. works fine on python 3.13