From 2b1d2655db0b46dcf4bcee7391e7692cb0d0035a Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 26 Jun 2023 16:34:53 -0400 Subject: [PATCH 1/5] Update tutorial submodule. --- sphinx-doc/tutorial | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx-doc/tutorial b/sphinx-doc/tutorial index 174c26e5cb..e5fedf30d6 160000 --- a/sphinx-doc/tutorial +++ b/sphinx-doc/tutorial @@ -1 +1 @@ -Subproject commit 174c26e5cbd9887001e1eccc9adcce7f4ee91c7a +Subproject commit e5fedf30d6f75ded81b52ae053f6b9c8a69ced8f From ff0a9b3ae3746773f78dddcccc4eb201b691842f Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 26 Jun 2023 16:44:29 -0400 Subject: [PATCH 2/5] Write 4.0.1 changelog. --- CHANGELOG.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 89cb2d2fd9..2776c7c821 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,32 @@ Change Log 4.x --- +4.0.1 (2023-06-27) +^^^^^^^^^^^^^^^^^^ + +*Fixed* + +* Prevent ``ValueError: signal only works in main thread of the main interpreter`` when importing + gsd in a non-main thread + (`#1576 `__). +* The recommended conda install commands find the documented version + (`#1578 `__). +* CMake error when ``HOOMD_GPU_PLATFORM=HIP`` + (`#1579 `__). +* Tests pass with GSD 3.0.0 installed + (`#1577 `__). +* Provide full CUDA error message when possible + (`#1581 `__). +* Notice level 4 gives additional GPU initialization details + (`#1581 `__). +* Show particle out of bounds error messages in exception description + (`#1581 `__). + +*Changed* + +* Package source in `hoomd-x.y.z.tar.gz` (previously `hoomd-vx.y.z.tar.gz`) + (`#1572 `__). + 4.0.0 (2023-06-06) ^^^^^^^^^^^^^^^^^^ From b24c41c5467d075c8dcd4c8bf092166cf6233981 Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 26 Jun 2023 16:51:51 -0400 Subject: [PATCH 3/5] Bump version to 4.0.1. --- .bumpversion.cfg | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- BUILDING.rst | 4 ++-- CMakeLists.txt | 2 +- INSTALLING.rst | 6 +++--- hoomd/hpmc/external/user.py | 4 ++-- hoomd/hpmc/pair/user.py | 2 +- sphinx-doc/conf.py | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 5517c1033e..8b652e352e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 4.0.0 +current_version = 4.0.1 commit = False tag = False parse = ^(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)(?:-(?P(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))(?:\.(?P0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)))?$ diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d62d3825f3..3db2a2f957 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -62,7 +62,7 @@ body: attributes: label: HOOMD-blue version description: What version of HOOMD-blue are you using? - placeholder: 4.0.0 + placeholder: 4.0.1 validations: required: true - type: markdown diff --git a/BUILDING.rst b/BUILDING.rst index 8ce40423ed..ca68091512 100644 --- a/BUILDING.rst +++ b/BUILDING.rst @@ -145,7 +145,7 @@ Clone using Git_:: $ git clone --recursive https://github.com/glotzerlab/hoomd-blue -Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-v4.0.0.tar.gz`_. +Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-v4.0.1.tar.gz`_. .. seealso:: @@ -158,7 +158,7 @@ Release tarballs are also available as `GitHub release`_ assets: `Download hoomd Execute ``git submodule update --init`` to fetch the submodules each time you switch branches and the submodules show as modified. -.. _Download hoomd-v4.0.0.tar.gz: https://github.com/glotzerlab/hoomd-blue/releases/download/v4.0.0/hoomd-v4.0.0.tar.gz +.. _Download hoomd-4.0.1.tar.gz: https://github.com/glotzerlab/hoomd-blue/releases/download/v4.0.1/hoomd-4.0.1.tar.gz .. _GitHub release: https://github.com/glotzerlab/hoomd-blue/releases .. _git book: https://git-scm.com/book .. _Git: https://git-scm.com/ diff --git a/CMakeLists.txt b/CMakeLists.txt index ff5d1715ea..e964686393 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ add_subdirectory (CMake) ################################ ## Version information -set(HOOMD_VERSION_RAW "4.0.0") +set(HOOMD_VERSION_RAW "4.0.1") string(REGEX MATCH "(.*)\\.(.*)\\.(.*)$" _hoomd_version_match ${HOOMD_VERSION_RAW}) set(HOOMD_VERSION_MAJOR ${CMAKE_MATCH_1}) set(HOOMD_VERSION_MINOR ${CMAKE_MATCH_2}) diff --git a/INSTALLING.rst b/INSTALLING.rst index 03bd534512..2b1a3e5973 100644 --- a/INSTALLING.rst +++ b/INSTALLING.rst @@ -24,17 +24,17 @@ Conda package **HOOMD-blue** is available on conda-forge_ on the *linux-64*, *osx-64*, and *osx-arm64* platforms. Install the ``hoomd`` package from the conda-forge_ channel into a conda environment:: - $ conda install hoomd=4.0.0 + $ conda install hoomd=4.0.1 ``conda`` auto-detects whether your system has a GPU and attempts to install the appropriate package. Override this and force the GPU enabled package installation with:: $ export CONDA_OVERRIDE_CUDA="11.2" - $ conda install "hoomd=4.0.0=*gpu*" + $ conda install "hoomd=4.0.1=*gpu*" Similarly, you can force CPU only package installation with:: - $ conda install "hoomd=4.0.0=*cpu*" + $ conda install "hoomd=4.0.1=*cpu*" .. note:: diff --git a/hoomd/hpmc/external/user.py b/hoomd/hpmc/external/user.py index 36f6442737..07abb9fe47 100644 --- a/hoomd/hpmc/external/user.py +++ b/hoomd/hpmc/external/user.py @@ -67,9 +67,9 @@ class CPPExternalPotential(ExternalField): Your code *must* return a value. .. _VectorMath.h: https://github.com/glotzerlab/hoomd-blue/blob/\ - v4.0.0/hoomd/VectorMath.h + v4.0.1/hoomd/VectorMath.h .. _BoxDim.h: https://github.com/glotzerlab/hoomd-blue/blob/\ - v4.0.0/hoomd/BoxDim.h + v4.0.1/hoomd/BoxDim.h Example: .. code-block:: python diff --git a/hoomd/hpmc/pair/user.py b/hoomd/hpmc/pair/user.py index 5b87336d0b..278d10b3b7 100644 --- a/hoomd/hpmc/pair/user.py +++ b/hoomd/hpmc/pair/user.py @@ -75,7 +75,7 @@ class CPPPotentialBase(AutotunedObject): HOOMD-blue source code. .. _VectorMath.h: https://github.com/glotzerlab/hoomd-blue/blob/\ - v4.0.0/hoomd/VectorMath.h + v4.0.1/hoomd/VectorMath.h Note: Your code *must* return a value. diff --git a/sphinx-doc/conf.py b/sphinx-doc/conf.py index 19b7639841..a0ceb2b1b0 100644 --- a/sphinx-doc/conf.py +++ b/sphinx-doc/conf.py @@ -63,8 +63,8 @@ copyright = f'2009-{ year } The Regents of the University of Michigan' author = 'The Regents of the University of Michigan' -version = '4.0.0' -release = '4.0.0' +version = '4.0.1' +release = '4.0.1' language = 'en' From 286741978e3020a5b2cca37b68656524e929c67c Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Tue, 27 Jun 2023 09:39:26 -0400 Subject: [PATCH 4/5] Fix rtd build errors. --- BUILDING.rst | 2 +- CHANGELOG.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING.rst b/BUILDING.rst index ca68091512..4efcd6f2e0 100644 --- a/BUILDING.rst +++ b/BUILDING.rst @@ -145,7 +145,7 @@ Clone using Git_:: $ git clone --recursive https://github.com/glotzerlab/hoomd-blue -Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-v4.0.1.tar.gz`_. +Release tarballs are also available as `GitHub release`_ assets: `Download hoomd-4.0.1.tar.gz`_. .. seealso:: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2776c7c821..f07ef93a12 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -30,7 +30,7 @@ Change Log *Changed* -* Package source in `hoomd-x.y.z.tar.gz` (previously `hoomd-vx.y.z.tar.gz`) +* Package source in ``hoomd-x.y.z.tar.gz`` (previously ``hoomd-vx.y.z.tar.gz``) (`#1572 `__). 4.0.0 (2023-06-06) From 454a97759b9081a03823c11fa61c3494401254ba Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Tue, 27 Jun 2023 09:55:24 -0400 Subject: [PATCH 5/5] Fix typos in change log. --- CHANGELOG.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f07ef93a12..a8b838e58a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,11 +13,11 @@ Change Log *Fixed* * Prevent ``ValueError: signal only works in main thread of the main interpreter`` when importing - gsd in a non-main thread + hoomd in a non-main thread (`#1576 `__). * The recommended conda install commands find the documented version (`#1578 `__). -* CMake error when ``HOOMD_GPU_PLATFORM=HIP`` +* CMake completes without error when ``HOOMD_GPU_PLATFORM=HIP`` (`#1579 `__). * Tests pass with GSD 3.0.0 installed (`#1577 `__).