-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fails to build on Python 3.8 #136
Comments
Good to know, thanks for the report! I'll try to get this resolved soon. |
If it helps, I think it's the same problem as there: |
correct, they are related. The signature for a few functions changed:
|
@eriknw any update on this? |
I'll give this attention today. Sorry for the delay. |
See #137 I can push a bugfix release later today. Thanks all for the attention and patience. Sorry again for the delay! My future in-laws were in town (😁), and then my car decided to go bottoms up (I just sold it--phew!). |
My future in-laws were in town
Whoa. You have news to share apparently :) Congrats!
…On Sun, Nov 3, 2019 at 6:43 AM Erik Welch ***@***.***> wrote:
See #137 <#137>
I can push a bugfix release later today. Thanks all for the attention and
patience.
Sorry again for the delay! My future in-laws were in town (😁), and then
my car decided to go bottoms up (I just sold it--phew!).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#136?email_source=notifications&email_token=AACKZTDYZGJWIK5RAJP2VBDQR3IQDA5CNFSM4I7QGKY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5UFSI#issuecomment-549143241>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTCMQC2RRECJOVEKDJTQR3IQDANCNFSM4I7QGKYQ>
.
|
Yeah I think we were quite a few people blocked on that. Thanks for your time fixing it Erik! And congrats :) |
Python 3.8 failed to install cytoolz b/c the .c files created by Cython were not forward-compatible. This justifies always using Cython if available. Also, add Cython as an optional dependency via `extras_require` in setup.py. This should allow `pip install "cytoolz[cython]"` to do the right thing.
Okay,
|
Is it expected that We're getting a |
Oh no! No, this is not expected. Can you provide more information? Here are passing tests showing And these tests show virtually the same code compiling with Cython: https://travis-ci.org/pytoolz/cytoolz/builds/606936141 I also just compiled and successfully ran the tests locally with Python 3.6. |
That's odd. Maybe it's a clash with some other library in our system. Below is the full log of the crash when we use
Some other version:
What other information would be useful? |
Hmm, that version of Cython is nearly 3 years old. It looks like we need a minimum Cython version of If Thanks for the info and quick reply @flekschas! |
Thanks for your quick replies :) We'll update Cython (I guess we should have done that quite some time ago already haha) and give it another try. |
Test Python 3.8 (pytoolz#136) and use Cython if available (pytoolz#134)
Using Python 3.8, cytoolz cannot build/install.
It appears to fail while compiling the dicttoolz.c file.
See here for the full log:
https://pastebin.com/hrYA77um
If you have docker, you can quickly/easily replicate this with
docker run python:3.8-rc python -m pip install cytoolz==0.10.0
Note that this appears to be related (and would be resolved) by fixing #134, as I can confirm that cloning the repository and using the
0.10.0
tag, I can successfully build and install the package withpython setup.py build --cython
after removing all of the generated .c files on python 3.8.The text was updated successfully, but these errors were encountered: