MagicStack / MagicStack/uvloop
module search path broken for test_libuv_api.py
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 11.9k
- Forks
- 616
- PR merge metrics
- No merged PRs in 30d
Description
* **uvloop version**: 0.17.0
* **Python version**: 3.11
* **Platform**: Linux Fedora 37 / rawhide
* **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**: unknown
* **Does uvloop behave differently from vanilla asyncio? How?**: unknown
The test fails to find the module cython_helper
Workaround:
`sed -i "s:import sys:import sys\nsys.path.append\(os.path.abspath\(os.path.dirname\(__file__\)\)\)\n:" tests/__main__.py`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/__main__.py and test_libuv_api.py, then reproduce the failure where cython_helper cannot be found. Compare the failing test invocation with the reported workaround for the module search path. Done means test_libuv_api.py locates cython_helper without requiring that manual workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100