Skip to content

Commit

Permalink
0.9.2 release prep (#1282)
Browse files Browse the repository at this point in the history
* rel prep for 0.9.2

* update sphinx release notes

* relnotes script update
  • Loading branch information
cyrush committed May 21, 2024
1 parent 99f5708 commit ad86e31
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 7 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ Notable changes to Conduit are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project aspires to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.9.2] - Released 2024-05-21

### Added

#### Relay
- Added support for Blueprint + Silo round trip for axis units and labels.
- Added support for reading Silo column major data as strided structured Blueprint data.
- Added support for reading a much wider set of Silo meshes, beyond multimeshes, multivars, etc.

### Changed

Expand All @@ -14,10 +21,16 @@ and this project aspires to adhere to [Semantic Versioning](https://semver.org/s
#### Blueprint
- Fixed partitioner so it reverses vertex order as needed in polyhedral face definitions when extracting mesh elements.
- Changed `conduit::blueprint::mesh::partition_map_back()` function so it will attempt to reuse existing field memory when mapping fields back. This permits `partition_map_back()` to send data from a partitioned mesh into the original mesh where fields were provided from a host code using `Node::set_external()`.
- Changed `generate_sides` to be robust to the case where no fields exist.

#### Relay
- Changed `conduit::relay::mpi::communicate_using_schema` to avoid an invalid tag MPI error message on some MPI distributions.

### Fixed

#### Relay
- Fixed Relay I/O HDF5 DataSpace handle leak.

## [0.9.1] - Released 2024-02-09

### Changed
Expand Down
14 changes: 13 additions & 1 deletion scripts/gen_relnotes_variants_from_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ def timestamp(t=None,sep="_"):
def conduit_blurb():
return "[Conduit](https://github.com/LLNL/conduit) provides an intuitive model for describing hierarchical scientific data in C++, C, Fortran, and Python. It is used for data coupling between packages in-core, serialization, and I/O tasks."

def release_date(release_id,src):
for l in src.split("\n"):
if l.startswith("## "):
sub_open = False
active_rel = proc_changelog_rel_id_line(l)
if active_rel == release_id:
# grab the date, it will be the last token
return l.split()[-1]
return "Unknown Date"

def gen_llnl_news_entry(release_id,src):
txt = "---\n"
txt += 'title: "Conduit {0} Released"\n'.format(release_id)
Expand All @@ -57,6 +67,7 @@ def gen_llnl_news_entry(release_id,src):
def gen_sphinx_entry(release_id,src):
txt = "v{0}\n".format(release_id)
txt += "---------------------------------\n\n"
txt += "* Released {0}\n".format(release_date(release_id,src))
txt += "* `Source Tarball <https://github.com/LLNL/conduit/releases/download/v{0}/conduit-v{0}-src-with-blt.tar.gz>`__\n\n".format(release_id)
txt += "Highlights\n"
txt += "++++++++++++++++++++++++++++++++++++\n\n"
Expand Down Expand Up @@ -88,7 +99,8 @@ def sphinx_translate_ticks(l):

def gen_github_entry(release_id,src):
txt = "# {0} Release Highlights\n\n".format(release_id)
txt += "(adapted from Conduit's Changelog)\n"
txt += "(adapted from Conduit's [Changelog](https://github.com/LLNL/conduit/blob/develop/CHANGELOG.md) )\n\n"
txt += "Released {0}\n\n".format(release_date(release_id,src))
sub_open = False
active_rel = ""
for l in src.split("\n"):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#
##############################################################################

CONDUIT_VERSION = '0.9.1'
CONDUIT_VERSION = '0.9.2'

class CMakeExtension(Extension):
def __init__(self, name, sourcedir=''):
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif()
# Conduit
################################

project(conduit VERSION "0.9.1")
project(conduit VERSION "0.9.2")

################################
# Build Options
Expand Down
4 changes: 2 additions & 2 deletions src/docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
# built documents.
#
# The short X.Y version.
version = '0.9.1'
version = '0.9.2'
# The full version, including alpha/beta/rc tags.
release = '0.9.1'
release = '0.9.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
47 changes: 47 additions & 0 deletions src/docs/sphinx/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,53 @@ Source distributions for Conduit releases are hosted on github:
https://github.com/LLNL/conduit/releases

.. note:: Conduit uses `BLT <https://github.com/LLNL/blt>`__ as its core CMake build system. We leverage BLT as a git submodule, however github does not include submodule contents in its automatically created source tarballs. To avoid confusion, starting with v0.3.0 we provide our own source tarballs that include BLT.
v0.9.2
---------------------------------

* Released 2024-05-21
* `Source Tarball <https://github.com/LLNL/conduit/releases/download/v0.9.2/conduit-v0.9.2-src-with-blt.tar.gz>`__

Highlights
++++++++++++++++++++++++++++++++++++

(Extracted from Conduit's :download:`Changelog <../../../CHANGELOG.md>`)


Added
~~~~~


* **Relay**

* Added support for Blueprint + Silo round trip for axis units and labels.
* Added support for reading Silo column major data as strided structured Blueprint data.
* Added support for reading a much wider set of Silo meshes, beyond multimeshes, multivars, etc.

Changed
~~~~~~~


* **Conduit**

* Removed cmake use of distutils for python introspection.

* **Blueprint**

* Fixed partitioner so it reverses vertex order as needed in polyhedral face definitions when extracting mesh elements.
* Changed ``conduit::blueprint::mesh::partition_map_back()`` function so it will attempt to reuse existing field memory when mapping fields back. This permits ``partition_map_back()`` to send data from a partitioned mesh into the original mesh where fields were provided from a host code using ``Node::set_external()``.
* Changed ``generate_sides`` to be robust to the case where no fields exist.

* **Relay**

* Changed ``conduit::relay::mpi::communicate_using_schema`` to avoid an invalid tag MPI error message on some MPI distributions.

Fixed
~~~~~


* **Relay**

* Fixed Relay I/O HDF5 DataSpace handle leak.

v0.9.1
---------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/libs/conduit/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def adjust_windows_args_paths():
if platform.system() == 'Windows':
adjust_windows_args_paths()

CONDUIT_VERSION = '0.9.1'
CONDUIT_VERSION = '0.9.2'

setup (name = 'conduit',
description = 'conduit',
Expand Down

0 comments on commit ad86e31

Please sign in to comment.