Skip to content

Commit

Permalink
Prepare release 23.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Oct 25, 2023
1 parent f48bf42 commit f2c52f5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
8 changes: 1 addition & 7 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ Release notes
Stability, Maintainability, and Testing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vversion
v23.10.0
--------

Security
~~~~~~~~

Features
~~~~~~~~

Expand All @@ -59,9 +56,6 @@ Bugfixes
* Preserve ``meta`` in ``Dataset.replace`` and allow replacing it.
This also affects ``Dataset.replace_files`` and ``Client.download_files``.

Documentation
~~~~~~~~~~~~~

Deprecations
~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion src/scitacean/_internal/pydantic_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def is_pydantic_v1() -> bool:

warnings.warn(
"Support for Pydantic v1 is deprecated in Scitacean"
"RELEASE_PLACEHOLDER and will be removed in Scitacean v23.12.0."
"23.10.0 and will be removed in Scitacean v23.12.0."
"If you cannot update your Pydantic version, please comment in this issue:"
" https://github.com/SciCatProject/scitacean/issues/158",
VisibleDeprecationWarning,
Expand Down
10 changes: 5 additions & 5 deletions src/scitacean/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def keys(self) -> Iterable[str]:
and other fields that are not ``None``.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
from itertools import chain

Expand All @@ -543,7 +543,7 @@ def values(self) -> Iterable[Any]:
and other fields that are not ``None``.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
return (getattr(self, field_name) for field_name in self.keys())

Expand All @@ -558,7 +558,7 @@ def items(self) -> Iterable[tuple[str, Any]]:
and other fields that are not ``None``.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
return ((key, getattr(self, key)) for key in self.keys())

Expand Down Expand Up @@ -601,7 +601,7 @@ def __getitem__(self, field_name: str) -> Any:
:class:`KeyError` if ``field_name`` does not mach any names of fields.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
self._validate_field_name(field_name)
return getattr(self, field_name)
Expand All @@ -625,7 +625,7 @@ def __setitem__(self, field_name: str, field_value: Any) -> None:
:class:`KeyError` if ``field_name`` does not mach any names of fields.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
self._validate_field_name(field_name)
setattr(self, field_name, field_value)
Expand Down
2 changes: 1 addition & 1 deletion src/scitacean/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def from_remote(
A new file object.
.. versionadded:: RELEASE_PLACEHOLDER
.. versionadded:: 23.10.0
"""
if checksum is not None and checksum_algorithm is None:
raise TypeError(
Expand Down

0 comments on commit f2c52f5

Please sign in to comment.