Skip to content

Commit 25d23d2

Browse files
committed
Pin setuptools; eliminate C warnings
1 parent 7793e7f commit 25d23d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

accel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,11 +3079,11 @@ static PyObject *dump_rowdat_1_numpy(PyObject *self, PyObject *args, PyObject *k
30793079
PyErr_SetString(PyExc_ValueError, "value is outside the valid range for UNSIGNED INT"); \
30803080
goto error; \
30813081
}
3082-
#define CHECK_BIGINT(x, unsigned_input) if ((x) < ((unsigned_input) ? 0 : -9223372036854775808) || (x) > 9223372036854775807) { \
3082+
#define CHECK_BIGINT(x, unsigned_input) if ((x) < ((unsigned_input) ? 0 : INT64_MIN) || (x) > INT64_MAX) { \
30833083
PyErr_SetString(PyExc_ValueError, "value is outside the valid range for BIGINT"); \
30843084
goto error; \
30853085
}
3086-
#define CHECK_UNSIGNED_BIGINT(x, unsigned_input) if ((x) < 0 || (x) > 18446744073709551615) { \
3086+
#define CHECK_UNSIGNED_BIGINT(x, unsigned_input) if ((x) < 0) { \
30873087
PyErr_SetString(PyExc_ValueError, "value is outside the valid range for UNSIGNED BIGINT"); \
30883088
goto error; \
30893089
}

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pyarrow
1111
pydantic
1212
pytest
1313
pytest-cov
14-
setuptools
14+
setuptools>=61.0"
1515
singlestore-vectorstore>=0.1.2
1616
sphinx
1717
sphinx_rtd_theme

0 commit comments

Comments
 (0)