Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.10.0a0 Yarl Compile Error #459

Closed
cooperlees opened this issue Jun 3, 2020 · 3 comments
Closed

3.10.0a0 Yarl Compile Error #459

cooperlees opened this issue Jun 3, 2020 · 3 comments

Comments

@cooperlees
Copy link

cooperlees commented Jun 3, 2020

Seems there is a problem compiling with __Pyx_PyList_Append:

 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -I/home/travis/virtualenv/python3.10-dev/include -I/opt/python/3.10-dev/include/python3.10 -c yarl/_quoting.c -o build/temp.linux-x86_64-3.10/yarl/_quoting.o
    yarl/_quoting.c: In function ‘__Pyx_PyList_Append’:
    yarl/_quoting.c:1245:23: error: lvalue required as left operand of assignment
             Py_SIZE(list) = len+1;
                           ^
    error: command '/usr/bin/gcc' failed with exit code 1

Full build: https://travis-ci.org/github/pypa/bandersnatch/jobs/694378588
Seems it might be a Cython bug since lxml is having the issues too.

@webknjaz
Copy link
Member

webknjaz commented Jun 3, 2020

Right, it should be a Cython bug so report this to their tracker or maybe try Cython from master.

@JustinTArthur
Copy link

JustinTArthur commented Jun 3, 2020

It's fixed in the upcoming Cython 0.29.20, but it since the pypi package for yarl ships with pre-cythoized C code, this will still break (tracked in #457) in pip installs of existing yarl packages.

@asvetlov
Copy link
Member

asvetlov commented Jul 26, 2020

yarl 1.5.0 will be published with generated C files made by Cython 0.29.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants