-
Notifications
You must be signed in to change notification settings - Fork 123
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
Compilation Failed #13
Comments
The error is your |
Trying to build this package for Nix (python3.7). C++ compilation fails. See reproducible build at NixOS/nixpkgs#78868 Looks like this C++ file has gotten out of date with the underlying CPython libraries. Error section of GCC message:
|
NOTE: Fixed this issue by removing the .cpp file. Will submit a PR requesting that to be removed. Proper format is to cythonize the .pyx file at setup time, which guarantees that the .cpp file matches the CPython version. |
See slaypni#13. Issue is that the cythonized .pyx file can stop matching CPython APIs across Python versions, and that the .cpp file is automatically used if it exists. This causes the Cython build to fail. The gitignore change prevents .cpp files from being added in future and adds a note about why not.
This PR is still not merged. Meanwhile, just execute before build:
|
I am getting the following error while building the library. Would you mind looking into this?
The text was updated successfully, but these errors were encountered: