Skip to content

Commit

Permalink
Merge pull request #1961 from glotzerlab/release-5.0
Browse files Browse the repository at this point in the history
HOOMD-blue 5.0.0
  • Loading branch information
joaander authored Dec 3, 2024
2 parents f577c1d + 645a42b commit dcf270d
Show file tree
Hide file tree
Showing 69 changed files with 2,789 additions and 4,657 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.9.1
current_version = 5.0.0
commit = False
tag = False
parse = ^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))(?:\.(?P<number>0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)))?$
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ body:
attributes:
label: HOOMD-blue version
description: What version of HOOMD-blue are you using?
placeholder: 4.9.1
placeholder: 5.0.0
validations:
required: true
- type: markdown
Expand Down
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Release checklist
about: '[for maintainer use]'
title: 'Release 4.9.1'
title: 'Release 5.0.0'
labels: ''
assignees: 'joaander'

Expand All @@ -20,12 +20,13 @@ Minor and major releases:

All releases:

- [ ] Update change log.
- ``git log --format=oneline --first-parent $(git log -n 1 --pretty=format:%H -- CHANGELOG.rst)...``
- [ ] Review change log.
- [ ] Check readthedocs build, especially change log formatting.
- [ ] Run *bumpversion*.
- [ ] Tag and push.
- [ ] Update conda-forge recipe.
- [ ] Update *glotzerlab-software*.
- [ ] Update *hoomd-component-template*.
- [ ] Update *hoomd-md-pair-template*.
- [ ] Update *hoomd-hpmc-shape-template*.
- [ ] Update *hpmc-energy-template*.
18 changes: 3 additions & 15 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,18 +174,6 @@ jobs:
run: ninja install -j $(($(getconf _NPROCESSORS_ONLN) + 2)) -k 0
working-directory: build

- name: Configure plugins
run : |
if [[ ${BUILD_DEBUG} == "true" ]]; then BUILD_TYPE="Debug"; else BUILD_TYPE="Release"; fi
echo "BUILD_TYPE=${BUILD_TYPE}"
CMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install cmake -S code/example_plugins -B build-example-plugins -GNinja -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
env:
BUILD_DEBUG: ${{ contains(inputs.config, 'debug') }}

- name: Build plugins
run: ninja install -j $(($(getconf _NPROCESSORS_ONLN) + 2)) -k 0
working-directory: build-example-plugins

- name: Remove object files
run: find build -type f -name '*.o' -delete

Expand Down Expand Up @@ -286,15 +274,15 @@ jobs:
# requested, but no on the actual long validation tests. Every class's basic test should ensure
# that the GPU kernel is called for at least a few timesteps for these checks to be effective.
- name: Run memcheck
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' }}
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' && !contains(inputs.config, 'mpi')}}
run: compute-sanitizer --tool memcheck --error-exitcode 1 python3 -m pytest --pyargs hoomd -x -v -ra --durations=0 --durations-min=0.1

- name: Run racecheck
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' }}
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' && !contains(inputs.config, 'mpi')}}
run: compute-sanitizer --tool racecheck --error-exitcode 1 python3 -m pytest --pyargs hoomd -x -v -ra --durations=0 --durations-min=0.1

- name: Run synccheck
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' }}
if: ${{ contains(inputs.config, 'cuda') && contains(github.event.pull_request.labels.*.name, 'validate') && inputs.validate == 'true' && !contains(inputs.config, 'mpi')}}
run: compute-sanitizer --tool synccheck --error-exitcode 1 python3 -m pytest --pyargs hoomd -x -v -ra --durations=0 --durations-min=0.1

### Validation tests
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/environments/environment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
channels:
- conda-forge/label/numpy_rc
- conda-forge
dependencies:
- cereal
Expand All @@ -8,7 +7,7 @@ dependencies:
- gsd
- h5py
- ninja
- numpy>=2.0.0rc1
- numpy>=2.0.0
- mpi4py
- openmpi
- pybind11
Expand Down
Loading

0 comments on commit dcf270d

Please sign in to comment.