Skip to content

update dtype API and get nightly wheels from new location #65

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

Merged
merged 1 commit into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: "3.10"
- name: Install build and test dependencies
run: |
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
python -m pip install -U pip build pytest unyt wheel meson ninja meson-python patchelf
- name: Install asciidtype
working-directory: asciidtype
Expand Down
2 changes: 1 addition & 1 deletion asciidtype/asciidtype/src/asciidtype_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ PyInit__asciidtype_main(void)
return NULL;
}

if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion asv_benchmarks/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// uninstalling the project. See asv.conf.json documentation.
//
"install_command": [
"pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy",
"pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy",
"pip install meson-python patchelf wheel",
"in-dir={conf_dir} pip install ../asciidtype/ --no-build-isolation",
"in-dir={conf_dir} pip install ../stringdtype/ --no-build-isolation"
Expand Down
2 changes: 1 addition & 1 deletion metadatadtype/metadatadtype/src/metadatadtype_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PyInit__metadatadtype_main(void)
if (_import_array() < 0) {
return NULL;
}
if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion mpfdtype/mpfdtype/src/mpfdtype_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ PyInit__mpfdtype_main(void)
if (_import_array() < 0) {
return NULL;
}
if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion quaddtype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isolation so that the `quaddtype` can link against the experimental dtype API
headers, which aren't in the latest releases of `numpy`:

```bash
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
pip install . --no-build-isolation
```

Expand Down
2 changes: 1 addition & 1 deletion quaddtype/quaddtype/src/quaddtype_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PyInit__quaddtype_main(void)
return NULL;

// Fail to init if the experimental DType API version 5 isn't supported
if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
PyErr_SetString(PyExc_ImportError,
"Error encountered importing the experimental dtype API.");
return NULL;
Expand Down
2 changes: 1 addition & 1 deletion stringdtype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It is important to have the latest development version of numpy installed.
Nightly wheels work well for this purpose, and can be installed easily:

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

Build with meson, create a wheel, and install it.
Expand Down
2 changes: 1 addition & 1 deletion stringdtype/stringdtype/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ PyInit__main(void)
if (_import_array() < 0) {
return NULL;
}
if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
return NULL;
}

Expand Down
2 changes: 1 addition & 1 deletion unytdtype/unytdtype/src/unytdtype_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PyInit__unytdtype_main(void)
if (_import_array() < 0) {
return NULL;
}
if (import_experimental_dtype_api(10) < 0) {
if (import_experimental_dtype_api(11) < 0) {
return NULL;
}

Expand Down