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

module search path broken for test_libuv_api.py

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
testing-qa

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.

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

Dominant language
Cython
Stars
11.9k
Forks
615
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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 MagicStack/uvloop

All issues in MagicStack/uvloop

Similar issues

More Testing & QA issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.