-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge develop to master for release of v0.7.0 [ committed by @al-rigazzi ] [ reviewed by @juliaputko @AlyssaCote ]
- Loading branch information
Showing
291 changed files
with
24,521 additions
and
6,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# BSD 2-Clause License | ||
# | ||
# Copyright (c) 2021-2024, Hewlett Packard Enterprise | ||
# All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are met: | ||
# | ||
# 1. Redistributions of source code must retain the above copyright notice, this | ||
# list of conditions and the following disclaimer. | ||
# | ||
# 2. Redistributions in binary form must reproduce the above copyright notice, | ||
# this list of conditions and the following disclaimer in the documentation | ||
# and/or other materials provided with the distribution. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
|
||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
categories: | ||
- title: Features | ||
labels: | ||
- 'type: feature' | ||
exclude: | ||
labels: | ||
- non-user-facing | ||
- title: Bug Fixes | ||
labels: | ||
- 'bug: critical' | ||
- 'bug: major' | ||
- 'bug: minor' | ||
exclude: | ||
labels: | ||
- non-user-facing | ||
- title: API Breaks | ||
labels: | ||
- 'API break' | ||
exclude: | ||
labels: | ||
- non-user-facing | ||
- title: Miscellaneous Improvements | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
# BSD 2-Clause License | ||
# | ||
# Copyright (c) 2021-2024, Hewlett Packard Enterprise | ||
|
@@ -23,23 +24,26 @@ | |
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
# | ||
|
||
name: enforce_changelog | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- develop | ||
|
||
from warnings import simplefilter, warn | ||
jobs: | ||
changelog: | ||
name: check_changelog | ||
runs-on: ubuntu-latest | ||
|
||
# pylint: disable-next=unused-import | ||
from .wlm.slurm import ( | ||
_get_alloc_cmd, | ||
_get_system_partition_info, | ||
get_allocation, | ||
get_default_partition, | ||
release_allocation, | ||
validate, | ||
) | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
simplefilter("once", category=DeprecationWarning) | ||
DEPRECATION_MSG = ( | ||
"`smartsim.slurm` has been deprecated and will be removed in a future release.\n" | ||
"Please update your code to use `smartsim.wlm.slurm`" | ||
) | ||
warn(DEPRECATION_MSG, category=DeprecationWarning, stacklevel=2) | ||
- name: Changelog Enforcer | ||
uses: dangoslen/[email protected] | ||
with: | ||
changeLogPath: './doc/changelog.md' | ||
missingUpdateErrorMessage: 'changelog.md has not been updated' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
jobs: | ||
post_checkout: | ||
# Cancel building pull requests when there aren't changed in the docs directory or YAML file. | ||
# You can add any other files or directories that you'd like here as well, | ||
# like your docs requirements file, or other files that will change your docs build. | ||
# | ||
# If there are no changes (git diff exits with 0) we force the command to return with 183. | ||
# This is a special exit code on Read the Docs that will cancel the build immediately. | ||
- | | ||
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- doc/ .readthedocs.yaml; | ||
then | ||
exit 183; | ||
fi | ||
pre_create_environment: | ||
- git clone --depth 1 https://github.com/CrayLabs/SmartRedis.git smartredis | ||
- git clone --depth 1 https://github.com/CrayLabs/SmartDashboard.git smartdashboard | ||
post_create_environment: | ||
- python -m pip install .[dev] | ||
- cd smartredis; python -m pip install . | ||
- cd smartredis/doc; doxygen Doxyfile_c; doxygen Doxyfile_cpp; doxygen Doxyfile_fortran | ||
- ln -s smartredis/examples ./examples | ||
- cd smartdashboard; python -m pip install . | ||
pre_build: | ||
- pip install typing_extensions==4.8.0 | ||
- pip install pydantic==1.10.13 | ||
- python -m sphinx -b linkcheck doc/ $READTHEDOCS_OUTPUT/linkcheck | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
configuration: doc/conf.py | ||
fail_on_warning: true | ||
|
||
python: | ||
install: | ||
- requirements: doc/requirements-doc.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.