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

uvloop pypy3.9 installing problem

Open
#518 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, python

Research direction

Start with uvloop/includes/compat.h and the generated uvloop/loop.c, then inspect how Python.h is included when installing on PyPy 3.9. Done means the package installs on PyPy 3.9 without the PyContext_CopyCurrent implicit-declaration error.

Written by the indexing model from the issue text.

Description

I've pypy3.9 and got this issue when try to install uvloop via pip
In file included from uvloop/loop.c:767: uvloop/includes/compat.h:74:12: error: implicit declaration of function 'PyContext_CopyCurrent' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return PyContext_CopyCurrent();
I opened compat.h and it seems to have problems with including "Python.h".

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 Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.