From e0d90fa75f3f2b17efd938189cef44f17e282cf2 Mon Sep 17 00:00:00 2001 From: Peter Kraus Date: Sun, 2 Feb 2025 14:27:18 +0100 Subject: [PATCH] `dgpost-2.2` (#101) * Docs update. * Bump Recipe to 2.2 --- docs/source/version.v2.2.rst | 7 ++++--- pyproject.toml | 2 +- src/dgpost/utils/parse.py | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/source/version.v2.2.rst b/docs/source/version.v2.2.rst index 97bce72..e994eea 100644 --- a/docs/source/version.v2.2.rst +++ b/docs/source/version.v2.2.rst @@ -5,7 +5,7 @@ :target: https://github.com/dgbowl/dgpost/tree/2.2 .. image:: https://img.shields.io/static/v1?label=dgpost&message=v2.2&color=blue&logo=pypi :target: https://pypi.org/project/dgpost/2.2/ -.. image:: https://img.shields.io/static/v1?label=release%20date&message=2025-01-30&color=red&logo=pypi +.. image:: https://img.shields.io/static/v1?label=release%20date&message=2025-02-02&color=red&logo=pypi .. sectionauthor:: Peter Kraus @@ -14,9 +14,10 @@ Developed in the `ConCat lab `_ at Technische Unive An update to ``dgpost-2.1``, including the following changes: -- dropped support for ``python < 3.10`` -- modification of peak-picking in :mod:`~dgpost.transform.reflection` to use :func:`scipy.signal.find_peaks` +- Dropped support for ``python < 3.10``. +- Modified peak-picking in :mod:`~dgpost.transform.reflection` to use :func:`scipy.signal.find_peaks`. - Removed version checking from :mod:`dgpost` and its dependency on :mod:`requests`. +- Implemented integration tests for compatibility with :mod:`yadg`. .. codeauthor:: diff --git a/pyproject.toml b/pyproject.toml index 43a8d74..4fa2615 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "rdkit >= 2022.3", "h5netcdf >= 1.0", "xarray >= 2024.10.0", - "dgbowl-schemas >= 116", + "dgbowl-schemas >= 122", "matplotlib >= 3.5.0", ] diff --git a/src/dgpost/utils/parse.py b/src/dgpost/utils/parse.py index b8ea2d0..9b3457d 100644 --- a/src/dgpost/utils/parse.py +++ b/src/dgpost/utils/parse.py @@ -17,7 +17,7 @@ from pydantic.v1 import BaseModel as BaseModel_v1 from packaging.version import Version -__latest_recipe__ = "2.1" +__latest_recipe__ = "2.2" logger = logging.getLogger(__name__)