Skip to content

Commit 9ea2b89

Browse files
committed
update dtype API and get nightly wheels from new location
1 parent 1df3f3b commit 9ea2b89

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python-version: "3.10"
1919
- name: Install build and test dependencies
2020
run: |
21-
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
21+
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
2222
python -m pip install -U pip build pytest unyt wheel meson ninja meson-python patchelf
2323
- name: Install asciidtype
2424
working-directory: asciidtype

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(10) < 0) {
25+
if (import_experimental_dtype_api(11) < 0) {
2626
return NULL;
2727
}
2828

asv_benchmarks/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// uninstalling the project. See asv.conf.json documentation.
2323
//
2424
"install_command": [
25-
"pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy",
25+
"pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy",
2626
"pip install meson-python patchelf wheel",
2727
"in-dir={conf_dir} pip install ../asciidtype/ --no-build-isolation",
2828
"in-dir={conf_dir} pip install ../stringdtype/ --no-build-isolation"

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(10) < 0) {
24+
if (import_experimental_dtype_api(11) < 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(10) < 0) {
25+
if (import_experimental_dtype_api(11) < 0) {
2626
return NULL;
2727
}
2828

quaddtype/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ isolation so that the `quaddtype` can link against the experimental dtype API
99
headers, which aren't in the latest releases of `numpy`:
1010

1111
```bash
12-
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
12+
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
1313
pip install . --no-build-isolation
1414
```
1515

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(10) < 0) {
26+
if (import_experimental_dtype_api(11) < 0) {
2727
PyErr_SetString(PyExc_ImportError,
2828
"Error encountered importing the experimental dtype API.");
2929
return NULL;

stringdtype/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ It is important to have the latest development version of numpy installed.
1717
Nightly wheels work well for this purpose, and can be installed easily:
1818

1919
```bash
20-
$ pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
20+
$ pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
2121
```
2222

2323
Build with meson, create a wheel, and install it.

stringdtype/stringdtype/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ PyInit__main(void)
9191
if (_import_array() < 0) {
9292
return NULL;
9393
}
94-
if (import_experimental_dtype_api(10) < 0) {
94+
if (import_experimental_dtype_api(11) < 0) {
9595
return NULL;
9696
}
9797

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(10) < 0) {
24+
if (import_experimental_dtype_api(11) < 0) {
2525
return NULL;
2626
}
2727

0 commit comments

Comments
 (0)