Skip to content

Commit ec7058f

Browse files
authored
Merge pull request #91 from ngoldbaum/fix-ci
fix numpy-user-dtypes CI
2 parents b5b7ca2 + e46ed30 commit ec7058f

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
python-version: "3.10"
1919
- name: Install build and test dependencies
2020
run: |
21-
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
22-
pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas
2321
python -m pip install -U pip build pytest unyt wheel meson ninja meson-python patchelf
22+
pip uninstall -y numpy
23+
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
24+
pip install --no-deps -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas
2425
- name: Install asciidtype
2526
working-directory: asciidtype
2627
run: |

asciidtype/asciidtype/src/asciidtype_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PyInit__asciidtype_main(void)
2222
return NULL;
2323
}
2424

25-
if (import_experimental_dtype_api(13) < 0) {
25+
if (import_experimental_dtype_api(14) < 0) {
2626
return NULL;
2727
}
2828

metadatadtype/metadatadtype/src/metadatadtype_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PyInit__metadatadtype_main(void)
2121
if (_import_array() < 0) {
2222
return NULL;
2323
}
24-
if (import_experimental_dtype_api(13) < 0) {
24+
if (import_experimental_dtype_api(14) < 0) {
2525
return NULL;
2626
}
2727

mpfdtype/mpfdtype/src/mpfdtype_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PyInit__mpfdtype_main(void)
2222
if (_import_array() < 0) {
2323
return NULL;
2424
}
25-
if (import_experimental_dtype_api(13) < 0) {
25+
if (import_experimental_dtype_api(14) < 0) {
2626
return NULL;
2727
}
2828

quaddtype/quaddtype/src/quaddtype_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PyInit__quaddtype_main(void)
2323
return NULL;
2424

2525
// Fail to init if the experimental DType API version 5 isn't supported
26-
if (import_experimental_dtype_api(13) < 0) {
26+
if (import_experimental_dtype_api(14) < 0) {
2727
PyErr_SetString(PyExc_ImportError,
2828
"Error encountered importing the experimental dtype API.");
2929
return NULL;

stringdtype/stringdtype/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PyInit__main(void)
9494
{
9595
import_array();
9696

97-
if (import_experimental_dtype_api(13) < 0) {
97+
if (import_experimental_dtype_api(14) < 0) {
9898
return NULL;
9999
}
100100

stringdtype/tests/test_char.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def unicode_array():
2222
"capitalize",
2323
"expandtabs",
2424
"isalnum",
25-
"isalpha",
25+
# "isalpha", (10-23-23) skipped temporarily since it is now a ufunc
2626
"isdigit",
2727
"islower",
2828
"isspace",

unytdtype/unytdtype/src/unytdtype_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PyInit__unytdtype_main(void)
2121
if (_import_array() < 0) {
2222
return NULL;
2323
}
24-
if (import_experimental_dtype_api(13) < 0) {
24+
if (import_experimental_dtype_api(14) < 0) {
2525
return NULL;
2626
}
2727

0 commit comments

Comments
 (0)