-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
32bit32-bit systems32-bit systemsBuildLibrary building on various platformsLibrary building on various platforms
Description
Pandas version checks
- I have checked that this issue has not already been reported.
- I have confirmed this bug exists on the latest version of pandas.
- I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
PANDAS_CI=1 python setup.py build_ext
Issue Description
pandas/_libs/hashtable.c: In function ‘__pyx_f_6pandas_5_libs_9hashtable_value_count_complex128’:
pandas/_libs/hashtable.c:70107:33: error: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘khuint_t’ {aka ‘unsigned int’} [-Werror=sign-compare]
70107 | for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_16; __pyx_t_3+=1) {
| ^
Issue seems to be that this range
has a signed int counter that is compare to an unsigned int limit:
for i in range(table.size): |
Py_ssize_t i = 0 |
Metadata
Metadata
Assignees
Labels
32bit32-bit systems32-bit systemsBuildLibrary building on various platformsLibrary building on various platforms