Skip to content

Commit 6d4adb2

Browse files
authored
Merge branch 'main' into update-pcodec
2 parents 39e454a + 86f5ce4 commit 6d4adb2

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: debug-statements
1616

1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.7.3
18+
rev: v0.7.4
1919
hooks:
2020
- id: ruff
2121
args: ["--fix", "--show-fixes"]
@@ -27,7 +27,7 @@ repos:
2727
- id: sp-repo-review
2828

2929
- repo: https://github.com/pre-commit/mirrors-mypy
30-
rev: 'v1.4.0'
30+
rev: 'v1.13.0'
3131
hooks:
3232
- id: mypy
3333
args: [--config-file, pyproject.toml]

docs/release.rst

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ Release notes
66
# to document your changes. On releases it will be
77
# re-indented so that it does not show up in the notes.
88
9+
.. _unreleased:
10+
11+
Unreleased
12+
----------
13+
914
.. _unreleased:
1015

11-
Unreleased
12-
----------
16+
0.14.1
17+
------
1318

1419
Fixes
1520
~~~~~
16-
* Cleanup ``crc32c`` soft dependency.
21+
* Cleanups to the ``crc32c`` soft dependency.
22+
Whereas in ``numcodecs`` 0.14.0 a runtime error was raised if
23+
the ``CRC32C`` codec used without the ``crc32c`` installed,
24+
the ``CRC32C`` codec is no longer defined at import time if
25+
``crc32c`` is not installed. This has been changed to match
26+
the behaviour of other optional dependencies/codecs.
1727
By :user:`John Kirkham <jakirkham>`, :issue:`637`
1828

1929
Improvements

numcodecs/tests/test_zarr3.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ def test_entry_points(codec_class: type[numcodecs.zarr3._NumcodecsCodec]):
5050

5151
@pytest.mark.parametrize("codec_class", ALL_CODECS)
5252
def test_docstring(codec_class: type[numcodecs.zarr3._NumcodecsCodec]):
53-
if codec_class.__doc__ is None:
54-
pytest.skip()
55-
assert "See :class:`numcodecs." in codec_class.__doc__
53+
assert "See :class:`numcodecs." in codec_class.__doc__ # type: ignore[operator]
5654

5755

5856
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)