Skip to content

BUG: build failure on PyPy in hash functions #42355

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

Closed
jorisvandenbossche opened this issue Jul 3, 2021 · 0 comments · Fixed by #42360
Closed

BUG: build failure on PyPy in hash functions #42355

jorisvandenbossche opened this issue Jul 3, 2021 · 0 comments · Fixed by #42360
Labels
Bug Build Library building on various platforms
Milestone

Comments

@jorisvandenbossche
Copy link
Member

The PyPy builds on conda-forge are failing with

    In file included from pandas/_libs/algos.c:663:
    pandas/_libs/src/klib/khash_python.h: In function 'complexobject_hash':
    pandas/_libs/src/klib/khash_python.h:282:38: error: '_PyHASH_IMAG' undeclared (first use in this function)
      282 |     Py_uhash_t combined = realhash + _PyHASH_IMAG * imaghash;
          |                                      ^~~~~~~~~~~~
    pandas/_libs/src/klib/khash_python.h:282:38: note: each undeclared identifier is reported only once for each function it appears in

This seems to be related to #41988 cc @realead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Build Library building on various platforms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant