Skip to content

Commit 940bedf

Browse files
committed
Merge branch 'main' into cog3pio-backend
2 parents 9c6abf0 + 3343108 commit 940bedf

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
- id: blackdoc
3434

3535
- repo: https://github.com/astral-sh/ruff-pre-commit
36-
rev: v0.14.10
36+
rev: v0.15.9
3737
hooks:
3838
- id: ruff
3939
types_or: [python, pyi, jupyter]

ci/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: cupy-xarray-doc
1+
name: cupy-xarray
22
channels:
33
- conda-forge
44
dependencies:

docs/source/contributing.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ First we'll create and activate the build environment:
6868

6969
.. code-block:: sh
7070
71-
conda env create --file ci/requirements/environment.yml
72-
conda activate cupy-xarray-tests
71+
conda env create --file ci/doc.yml
72+
conda activate cupy-xarray
7373
7474
At this point you should be able to import *cupy-xarray* from your locally
7575
built version.
@@ -130,8 +130,10 @@ Running the test suite
130130
----------------------
131131

132132
*cupy-xarray* uses the `pytest <https://docs.pytest.org/en/latest/contents.html>`_
133-
framework for testing. You can run the test suite using::
133+
framework for testing. You'll need to install some dependencies and then run the test
134+
suite like so::
134135

136+
pip install --group test
135137
pytest --doctest-modules cupy_xarray
136138

137139
Contributing documentation
@@ -140,11 +142,11 @@ Contributing documentation
140142
We greatly appreciate documentation improvements. The docs are built from the docstrings
141143
in the code and the docs in the ``docs`` directory.
142144

143-
To build the documentation, you will need to requirements listed in ``ci/doc.yml``.
145+
To build the docs, you will need to install the requirements listed in ``ci/doc.yml``.
144146
You can create an environment for building the documentation using::
145147

146148
conda env create --file ci/doc.yml
147-
conda activate cupy-xarray-doc
149+
conda activate cupy-xarray
148150

149151
You can then build the documentation using::
150152

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ dependencies = [
2323
cog3pio = "cupy_xarray.cog3pio:Cog3pioBackendEntrypoint"
2424

2525
[project.optional-dependencies]
26+
27+
[dependency-groups]
2628
test = [
2729
"dask",
30+
"netcdf4",
31+
"pooch",
2832
"pytest",
2933
]
3034

0 commit comments

Comments
 (0)