MagicStack / MagicStack/uvloop

uvloop pypy3.9 installing problem

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

Nobody has claimed this yet.

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

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".

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.