MagicStack / MagicStack/uvloop

uvloop pypy3.9 installing problem

Open
#518 1 comment 0 reactions 0 assignees View on GitHub
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

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.