Skip to content

Commit b893dca

Browse files
committed
merge
2 parents bce8767 + 5f3a512 commit b893dca

File tree

712 files changed

+13232
-33999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

712 files changed

+13232
-33999
lines changed

.deepsource.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 🐛 File a bug report
2-
description: X's behavior is deviating from its documented behavior.
1+
name: Bug Report
2+
description: Report incorrect behaviour in the library.
33
labels: ["bug"]
44
body:
55
- type: markdown
@@ -27,7 +27,7 @@ body:
2727
attributes:
2828
label: Python Version
2929
description: Version of Python interpreter
30-
placeholder: 3.8.5, 3.9, 3.10, etc.
30+
placeholder: 3.10, 3.11, 3.12 etc.
3131
validations:
3232
required: true
3333
- type: input

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: true
22
contact_links:
3-
- name: Propose a new major feature
3+
- name: Propose a new major feature
44
url: https://github.com/zarr-developers/zarr-specs
55
about: A new major feature should be discussed in the Zarr specifications repository.
6-
- name: Discuss something on gitter
7-
url: https://gitter.im/zarr-developers/community
8-
about: For questions like "How do I do X with Zarr?", you can move to our Gitter channel.
9-
- name: Discuss something on GitHub Discussions
6+
- name: Discuss something on ZulipChat
7+
url: https://ossci.zulipchat.com/
8+
about: For questions like "How do I do X with Zarr?", you can move to our ZulipChat.
9+
- name: Discuss something on GitHub Discussions
1010
url: https://github.com/zarr-developers/zarr-python/discussions
1111
about: For questions like "How do I do X with Zarr?", you can move to GitHub Discussions.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Documentation Improvement
2+
description: Report missing or wrong documentation. Alternatively, you can just open a pull request with the suggested change.
3+
title: "DOC: "
4+
labels: [documentation, help wanted]
5+
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Describe the issue linked to the documentation
10+
description: >
11+
Please provide a description of what documentation you believe needs to be fixed/improved.
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: Suggested fix for documentation
17+
description: >
18+
Please explain the suggested fix and why it's better than the existing documentation.

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
version: 2
33
updates:
4+
# Updates for v3 branch (the default branch)
45
- package-ecosystem: "pip"
56
directory: "/"
67
schedule:
@@ -17,3 +18,23 @@ updates:
1718
actions:
1819
patterns:
1920
- "*"
21+
22+
# Same updates, but for main branch
23+
- package-ecosystem: "pip"
24+
directory: "/"
25+
target-branch: "main"
26+
schedule:
27+
interval: "daily"
28+
groups:
29+
requirements:
30+
patterns:
31+
- "*"
32+
- package-ecosystem: "github-actions"
33+
directory: "/"
34+
target-branch: "main"
35+
schedule:
36+
interval: "weekly"
37+
groups:
38+
actions:
39+
patterns:
40+
- "*"

.github/workflows/gpu_test.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: GPU Test
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
workflow_dispatch:
12+
13+
env:
14+
LD_LIBRARY_PATH: /usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/lib64
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
test:
22+
name: py=${{ matrix.python-version }}, np=${{ matrix.numpy-version }}, deps=${{ matrix.dependency-set }}
23+
24+
runs-on: gpu-runner
25+
strategy:
26+
matrix:
27+
python-version: ['3.11']
28+
numpy-version: ['2.0']
29+
dependency-set: ["minimal"]
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
# - name: cuda-toolkit
34+
# uses: Jimver/[email protected]
35+
# id: cuda-toolkit
36+
# with:
37+
# cuda: '12.4.1'
38+
- name: Set up CUDA
39+
run: |
40+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb
41+
sudo dpkg -i cuda-keyring_1.1-1_all.deb
42+
sudo apt-get update
43+
sudo apt-get -y install cuda-toolkit-12-6
44+
echo "/usr/local/cuda/bin" >> $GITHUB_PATH
45+
- name: GPU check
46+
run: |
47+
nvidia-smi
48+
echo $PATH
49+
echo $LD_LIBRARY_PATH
50+
nvcc -V
51+
- name: Set up Python
52+
uses: actions/setup-python@v5
53+
with:
54+
python-version: ${{ matrix.python-version }}
55+
cache: 'pip'
56+
- name: Install Hatch and CuPy
57+
run: |
58+
python -m pip install --upgrade pip
59+
pip install hatch
60+
- name: Set Up Hatch Env
61+
run: |
62+
hatch env create gputest.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }}
63+
hatch env run -e gputest.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} list-env
64+
- name: Run Tests
65+
run: |
66+
hatch env run --env gputest.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run-coverage

.github/workflows/hypothesis.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ on:
33
push:
44
branches:
55
- "main"
6-
- "v3"
76
pull_request:
87
branches:
98
- "main"
10-
- "v3"
119
types: [opened, reopened, synchronize, labeled]
1210
schedule:
1311
- cron: "0 0 * * *" # Daily “At 00:00” UTC

.github/workflows/releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
submodules: true
1717
fetch-depth: 0
1818

19-
- uses: actions/setup-python@v5
19+
- uses: actions/setup-python@v5.2.0
2020
name: Install Python
2121
with:
2222
python-version: '3.11'
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
name: releases
5757
path: dist
58-
- uses: pypa/gh-action-pypi-publish@v1.9.0
58+
- uses: pypa/gh-action-pypi-publish@v1.10.3
5959
with:
6060
user: __token__
6161
password: ${{ secrets.pypi_password }}

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Test V3
4+
name: Test
55

66
on:
77
push:
8-
branches: [ v3 ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ v3 ]
10+
branches: [ main ]
1111
workflow_dispatch:
1212

1313
concurrency:
@@ -21,8 +21,8 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
python-version: ['3.10', '3.11', '3.12']
25-
numpy-version: ['1.24', '1.26', '2.0']
24+
python-version: ['3.11', '3.12', '3.13']
25+
numpy-version: ['1.25', '1.26', '2.0']
2626
dependency-set: ["minimal", "optional"]
2727

2828
steps:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ coverage.xml
5151

5252
# Sphinx documentation
5353
docs/_build/
54+
docs/_autoapi
5455

5556
# PyBuilder
5657
target/
@@ -83,3 +84,5 @@ fixture/
8384
.DS_Store
8485
tests/.hypothesis
8586
.hypothesis/
87+
88+
zarr/version.py

0 commit comments

Comments
 (0)