Skip to content

Commit d5b4645

Browse files
authored
prepare 0.10 release (#88)
* rerun notebooks * update version and type hints * formatting and linters * update GH actions
1 parent 027352a commit d5b4645

18 files changed

Lines changed: 6516 additions & 1502 deletions

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Publish library
22

3+
permissions: {}
4+
35
on:
46
push:
57
branches:

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Run tests
2+
3+
permissions: {}
4+
25
on:
36
pull_request:
47
push:
@@ -11,7 +14,7 @@ jobs:
1114
runs-on: ubuntu-latest
1215
strategy:
1316
matrix:
14-
python-version: ["3.11", "3.12", "3.13"]
17+
python-version: ["3.12", "3.13", "3.14"]
1518
fail-fast: false
1619
steps:
1720
- uses: actions/checkout@v6

docs/source/changelog.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Change Log
22

3-
## v0.x.x (Unreleased)
4-
### New features
5-
3+
## v0.10.0 (2025 Feb 19)
64
### Maintenance and fixes
7-
8-
### Documentation
5+
* Remove leftover print in `pinv` {pull}`87`
6+
* Update minimum dependency versions {pull}`88`
97

108
## v0.9.1 (2025 June 18)
119
### Maintenance and fixes

docs/source/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,19 @@ Get started with xarray-einstats
9797
:::
9898

9999
## Similar projects
100-
Here we list some similar projects we know of. Note that all of
101-
them are complementary and don't overlap:
100+
Here we list some similar projects we know of that aim to extend and complement xarray
101+
in specific computations. Note that all of them are complementary and don't overlap:
102+
102103
* [xr-scipy](https://xr-scipy.readthedocs.io/en/latest/index.html)
103104
* [xarray-extras](https://xarray-extras.readthedocs.io/en/latest/)
104105
* [xhistogram](https://xhistogram.readthedocs.io/en/latest/)
105106
* [xrft](https://xrft.readthedocs.io/en/latest/)
106107

108+
There is also a much more comprehensive list of xarray related projects [on xarray's docs](https://docs.xarray.dev/en/stable/user-guide/ecosystem.html).
109+
110+
In addition, there is an [xtensor module](https://pytensor.readthedocs.io/en/latest/library/xtensor/index.html) in PyTensor,
111+
a library for tensor/array operations with symbolic computation elements, with similar dimension based syntax.
112+
107113
## Cite xarray-einstats
108114
If you use this software, please cite it using the following template and the version
109115
specific DOI provided by Zenodo. Click on the badge to go to the Zenodo page

docs/source/tutorials/einops-basics-port.ipynb

Lines changed: 175 additions & 67 deletions
Large diffs are not rendered by default.

docs/source/tutorials/linalg_tutorial.ipynb

Lines changed: 2824 additions & 556 deletions
Large diffs are not rendered by default.

docs/source/tutorials/np_linalg_tutorial_port.ipynb

Lines changed: 1627 additions & 331 deletions
Large diffs are not rendered by default.

docs/source/tutorials/stats_tutorial.ipynb

Lines changed: 1614 additions & 445 deletions
Large diffs are not rendered by default.

docstub.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
[tool.docstub.known_imports]
2-
xarray = {import = "xarray"}
3-
numbers = {import = "numbers"}
1+
[tool.docstub.type_prefixes]
2+
numbers = "numbers"
3+
xarray = "xarray"
44

55
# Specify human-friendly aliases that can be used instead of Python-parsable
66
# annotations.
7-
# TODO rename to qualname_alias or something
8-
[tool.docstub.replace_doctypes]
7+
[tool.docstub.type_nicknames]
8+
sequence = "Sequence"
9+
iterable = "Iterable"
910
hashable = "Hashable"
1011
iterator = "Iterator"
1112
scalar = "numbers.Number"

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
66
name = "xarray-einstats"
77
description = "Stats, linear algebra and einops for xarray"
88
readme = "README.md"
9-
requires-python = ">=3.11"
9+
requires-python = ">=3.12"
1010
license = {file = "LICENSE"}
1111
authors = [
1212
{name = "ArviZ team", email = "arviz.devs@gmail.com"}
@@ -27,9 +27,9 @@ classifiers = [
2727
]
2828
dynamic = ["version"]
2929
dependencies = [
30-
"numpy>=1.25",
31-
"scipy>=1.11",
32-
"xarray>=2023.06.0",
30+
"numpy>=2.0",
31+
"scipy>=1.13",
32+
"xarray>=2024.02.0",
3333
]
3434

3535
[tool.flit.module]
@@ -41,7 +41,7 @@ version = {attr = "xarray_einstats.__version__"}
4141
[project.urls]
4242
source = "https://github.com/arviz-devs/xarray-einstats"
4343
tracker = "https://github.com/arviz-devs/xarray-einstats/issues"
44-
documentation = "https://xarray-einstats.readthedocs.io"
44+
documentation = "https://einstats.python.arviz.org"
4545
funding = "https://opencollective.com/arviz"
4646

4747
[project.optional-dependencies]

0 commit comments

Comments
 (0)