diff --git a/.bumpversion.cfg b/.bumpversion.cfg index a90e633c..7d3d2cc2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.4.1 +current_version = 3.4.2 commit = False tag = False diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 78268acb..da6d1950 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -64,7 +64,7 @@ body: label: GSD description: | What version of GSD are you using? - placeholder: 3.4.1 + placeholder: 3.4.2 validations: required: true - type: markdown diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index ee7a7763..640debca 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -1,7 +1,7 @@ --- name: Release checklist about: '[for maintainer use]' -title: 'Release gsd 3.4.1' +title: 'Release gsd 3.4.2' labels: '' assignees: 'joaander' diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bdda408e..9126aae3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,14 @@ Change Log 3.x --- +3.4.2 (2024-11-13) +^^^^^^^^^^^^^^^^^^ + +*Fixed:* + +* Make NumPy 2.0 requirement optional + (`#405 `__). + 3.4.1 (2024-10-21) ^^^^^^^^^^^^^^^^^^ diff --git a/Doxyfile b/Doxyfile index 06a1f3d9..4e3ea8dd 100644 --- a/Doxyfile +++ b/Doxyfile @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "GSD" -PROJECT_NUMBER = v3.4.1 +PROJECT_NUMBER = v3.4.2 PROJECT_BRIEF = "General simulation data" PROJECT_LOGO = OUTPUT_DIRECTORY = devdoc diff --git a/gsd/hoomd.py b/gsd/hoomd.py index 3934a8f3..85c9d8f9 100644 --- a/gsd/hoomd.py +++ b/gsd/hoomd.py @@ -1169,6 +1169,11 @@ def read_log(name, scalar_only=False): msg = 'gsd module is not available' raise RuntimeError(msg) + min_supported_numpy = 2 + if int(numpy.version.version.split('.')[0]) < min_supported_numpy: + msg = 'read_log requires numpy >= 2.0' + raise RuntimeError(msg) + with gsd.fl.open( name=str(name), mode='r', diff --git a/gsd/pygsd.py b/gsd/pygsd.py index b5606762..5127f19a 100644 --- a/gsd/pygsd.py +++ b/gsd/pygsd.py @@ -36,7 +36,7 @@ import numpy -version = '3.4.1' +version = '3.4.2' logger = logging.getLogger('gsd.pygsd') diff --git a/gsd/version.py b/gsd/version.py index 5a537da9..b6c7196d 100644 --- a/gsd/version.py +++ b/gsd/version.py @@ -9,7 +9,7 @@ not the file layer version it reads/writes. """ -version = '3.4.1' +version = '3.4.2' __all__ = [ 'version', diff --git a/pyproject.toml b/pyproject.toml index ef80c899..a873ef9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] requires-python = ">=3.6" name = "gsd" -version = "3.4.1" +version = "3.4.2" description = "General simulation data file format." readme = "README.md" license = {text = "BSD-2-Clause"} @@ -17,7 +17,7 @@ classifiers=[ "License :: OSI Approved :: BSD License", "Topic :: Scientific/Engineering :: Physics", ] -dependencies = ["numpy>=2.0.0"] +dependencies = ["numpy"] [project.scripts] gsd = "gsd.__main__:main" @@ -25,7 +25,7 @@ gsd = "gsd.__main__:main" [project.urls] Homepage = "https://gsd.readthedocs.io" Documentation = "https://gsd.readthedocs.io" -Download = "https://github.com/glotzerlab/gsd/releases/download/v3.4.1/gsd-3.4.1.tar.gz" +Download = "https://github.com/glotzerlab/gsd/releases/download/v3.4.2/gsd-3.4.2.tar.gz" Source = "https://github.com/glotzerlab/gsd" Issues = "https://github.com/glotzerlab/gsd/issues"