Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: data-apis/array-api-extra
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.0
Choose a base ref
...
head repository: data-apis/array-api-extra
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.0
Choose a head ref
  • 16 commits
  • 24 files changed
  • 6 contributors

Commits on Dec 12, 2024

  1. Copy the full SHA
    f4a5a0a View commit details
  2. update lockfile

    lucascolley committed Dec 12, 2024
    Copy the full SHA
    7e08901 View commit details
  3. DOC: add RELEASING.md

    lucascolley committed Dec 12, 2024
    Copy the full SHA
    84ebcc8 View commit details
  4. Update RELEASING.md

    lucascolley authored Dec 12, 2024
    Copy the full SHA
    46df1c3 View commit details

Commits on Dec 14, 2024

  1. DEV: add numpydoc to pre-commit (#67)

    * DEV: add numpydoc to pre-commit
    
    * update lockfile
    lucascolley authored Dec 14, 2024
    Copy the full SHA
    62f4ac3 View commit details

Commits on Dec 16, 2024

  1. Bump actions/attest-build-provenance in the actions group

    Bumps the actions group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance).
    
    
    Updates `actions/attest-build-provenance` from 2.0.1 to 2.1.0
    - [Release notes](https://github.com/actions/attest-build-provenance/releases)
    - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
    - [Commits](actions/attest-build-provenance@v2.0.1...v2.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/attest-build-provenance
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Dec 16, 2024
    Copy the full SHA
    6b798c6 View commit details
  2. Merge pull request #68 from data-apis/dependabot/github_actions/actio…

    …ns-cba6d5c2c6
    
    Bump actions/attest-build-provenance from 2.0.1 to 2.1.0 in the actions group
    github-actions[bot] authored Dec 16, 2024
    Copy the full SHA
    dc9fcf0 View commit details

Commits on Dec 23, 2024

  1. Bump codecov/codecov-action from 5.1.1 to 5.1.2 in the actions group

    Bumps the actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `codecov/codecov-action` from 5.1.1 to 5.1.2
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v5.1.1...v5.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Dec 23, 2024
    Copy the full SHA
    0fae68b View commit details
  2. Merge pull request #70 from data-apis/dependabot/github_actions/actio…

    …ns-5d055083c8
    
    Bump codecov/codecov-action from 5.1.1 to 5.1.2 in the actions group
    github-actions[bot] authored Dec 23, 2024
    Copy the full SHA
    6df1916 View commit details

Commits on Dec 26, 2024

  1. ENH: add pad (#71)

    * ENH: add pad
    
    * remove delegation for now
    
    * tweaks
    
    * add xp, device tests
    
    ---------
    
    Co-authored-by: Lucas Colley <[email protected]>
    ev-br and lucascolley authored Dec 26, 2024
    Copy the full SHA
    169f21d View commit details
  2. docs: add ev-br as a contributor for code, and doc (#73)

    * docs: update README.md
    
    * docs: update CONTRIBUTORS.md
    
    * docs: update .all-contributorsrc
    
    ---------
    
    Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
    allcontributors[bot] authored Dec 26, 2024
    Copy the full SHA
    6f4a53b View commit details

Commits on Jan 3, 2025

  1. DOC: update all-contributors (#75)

    * DOC: update all-contributors
    
    * gitignore
    lucascolley authored Jan 3, 2025
    Copy the full SHA
    397e243 View commit details
  2. ENH: implement at (#53)

    * ENH: add new function `at`
    
    * MAINT: use released array-api-compat
    
    * update lock-file
    
    * Update dependencies
    
    * Add xpx namespace in documentation
    
    * Change copy to default to None
    
    * raise on incompatible cast
    
    * Update tests/test_at.py
    
    ---------
    
    Co-authored-by: Lucas Colley <[email protected]>
    crusaderky and lucascolley authored Jan 3, 2025
    Copy the full SHA
    84bf725 View commit details
  3. TYP: import annotations for sklearn

    lucascolley committed Jan 3, 2025
    Copy the full SHA
    b6d43d1 View commit details
  4. Merge pull request #76 from lucascolley/annotations

    TYP: import annotations for sklearn
    lucascolley authored Jan 3, 2025
    Copy the full SHA
    346365d View commit details
  5. REL: set version to 0.5.0 (#77)

    * REL: set version to 0.5.0
    
    * pin basedmypy to 2.8.*
    lucascolley authored Jan 3, 2025
    Copy the full SHA
    c7b47f1 View commit details
23 changes: 22 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -172,7 +172,28 @@
"contributions": [
"code",
"doc",
"tool"
"tool",
"test",
"example"
]
},
{
"login": "ev-br",
"name": "Evgeni Burovski",
"avatar_url": "https://avatars.githubusercontent.com/u/2133832?v=4",
"profile": "https://github.com/ev-br",
"contributions": [
"code",
"doc"
]
},
{
"login": "jakevdp",
"name": "Jake Vanderplas",
"avatar_url": "https://avatars.githubusercontent.com/u/781659?v=4",
"profile": "http://www.vanderplas.com/",
"contributions": [
"review"
]
}
]
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ jobs:
path: dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@v2.0.1
uses: actions/attest-build-provenance@v2.1.0
with:
subject-path: "dist/*"

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
environment: [ci-py310, ci-py313]
environment: [ci-py310, ci-py313, ci-backends]
runs-on: [ubuntu-latest]

steps:
@@ -66,6 +66,6 @@ jobs:
run: pixi run -e ${{ matrix.environment }} tests-ci

- name: Upload coverage report
uses: codecov/codecov-action@v5.1.1
uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -166,3 +166,8 @@ Thumbs.db
# Vendor tests
vendor_tests/array_api_compat/
vendor_tests/array_api_extra/

# all-contributors
node_modules
package.json
yarn.lock
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -78,3 +78,8 @@ repos:
hooks:
- id: check-dependabot
- id: check-github-workflows

- repo: https://github.com/numpy/numpydoc
rev: "v1.8.0"
hooks:
- id: numpydoc-validation
4 changes: 3 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -28,7 +28,9 @@ This project exists thanks to the following contributors
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://ogrisel.com"><img src="https://avatars.githubusercontent.com/u/89061?v=4?s=100" width="100px;" alt="Olivier Grisel"/><br /><sub><b>Olivier Grisel</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ogrisel" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/crusaderky"><img src="https://avatars.githubusercontent.com/u/6213168?v=4?s=100" width="100px;" alt="Guido Imperiale"/><br /><sub><b>Guido Imperiale</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Documentation">📖</a> <a href="#tool-crusaderky" title="Tools">🔧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/crusaderky"><img src="https://avatars.githubusercontent.com/u/6213168?v=4?s=100" width="100px;" alt="Guido Imperiale"/><br /><sub><b>Guido Imperiale</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Documentation">📖</a> <a href="#tool-crusaderky" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Tests">⚠️</a> <a href="#example-crusaderky" title="Examples">💡</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ev-br"><img src="https://avatars.githubusercontent.com/u/2133832?v=4?s=100" width="100px;" alt="Evgeni Burovski"/><br /><sub><b>Evgeni Burovski</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ev-br" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=ev-br" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.vanderplas.com/"><img src="https://avatars.githubusercontent.com/u/781659?v=4?s=100" width="100px;" alt="Jake Vanderplas"/><br /><sub><b>Jake Vanderplas</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Ajakevdp" title="Reviewed Pull Requests">👀</a></td>
</tr>
</tbody>
</table>
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -66,7 +66,9 @@ This project exists thanks to the following contributors
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://ogrisel.com"><img src="https://avatars.githubusercontent.com/u/89061?v=4?s=100" width="100px;" alt="Olivier Grisel"/><br /><sub><b>Olivier Grisel</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ogrisel" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/crusaderky"><img src="https://avatars.githubusercontent.com/u/6213168?v=4?s=100" width="100px;" alt="Guido Imperiale"/><br /><sub><b>Guido Imperiale</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Documentation">📖</a> <a href="#tool-crusaderky" title="Tools">🔧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/crusaderky"><img src="https://avatars.githubusercontent.com/u/6213168?v=4?s=100" width="100px;" alt="Guido Imperiale"/><br /><sub><b>Guido Imperiale</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Documentation">📖</a> <a href="#tool-crusaderky" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=crusaderky" title="Tests">⚠️</a> <a href="#example-crusaderky" title="Examples">💡</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ev-br"><img src="https://avatars.githubusercontent.com/u/2133832?v=4?s=100" width="100px;" alt="Evgeni Burovski"/><br /><sub><b>Evgeni Burovski</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ev-br" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=ev-br" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.vanderplas.com/"><img src="https://avatars.githubusercontent.com/u/781659?v=4?s=100" width="100px;" alt="Jake Vanderplas"/><br /><sub><b>Jake Vanderplas</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Ajakevdp" title="Reviewed Pull Requests">👀</a></td>
</tr>
</tbody>
</table>
8 changes: 8 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
1. Update the version in `src/array_api_extra/__init__.py`
2. Update the lockfile with `pixi update` and `pixi install`
3. Push your changes
4. Cut a release via the GitHub GUI
5. Update the version to `{next micro version}.dev0`
6. Update the lockfile
7. Push your changes
8. Merge the automated PR to conda-forge/array-api-extra-feedstock
1 change: 1 addition & 0 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
:nosignatures:
:toctree: generated
at
atleast_nd
cov
create_diagonal
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Sphinx config."""

import importlib.metadata
from typing import Any

@@ -51,6 +53,7 @@

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"jax": ("https://jax.readthedocs.io/en/latest", None),
}

nitpick_ignore = [
Loading