Skip to content

Commit

Permalink
Merge pull request #341 from hakonanes/post-0.9.0-release-updates
Browse files Browse the repository at this point in the history
Post 0.9.0 release updates
  • Loading branch information
hakonanes authored May 18, 2022
2 parents fb269b0 + 5824eb2 commit 49e775b
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 29 deletions.
34 changes: 18 additions & 16 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
[
{
"creators": [
{
"name":"Håkon Wiik Ånes",
"orcid": "0000-0002-1213-2911",
"affiliation": "Norwegian University of Science and Technology"
"name": "Håkon Wiik Ånes",
"orcid": "0000-0002-1213-2911",
"affiliation": "Norwegian University of Science and Technology"
},
{
"name":"Ben Martineau"
"name": "Ben Martineau"
},
{
"name":"Phillip Crout",
"orcid": "0000-0001-5754-0938"
"name": "Phillip Crout",
"orcid": "0000-0001-5754-0938"
},
{
"name":"Paddy Harrison",
"orcid": "0000-0001-9798-8710",
"affiliation": "SIMaP, Grenoble INP"
"name": "Paddy Harrison",
"orcid": "0000-0001-9798-8710",
"affiliation": "SIMaP, Grenoble INP"
},
{
"name":"Duncan Johnstone",
"orcid": "0000-0003-3663-3793"
"name": "Duncan Johnstone",
"orcid": "0000-0003-3663-3793"
},
{
"name":"Niels Cautaerts",
"orcid": "0000-0002-6402-9879"
"name": "Niels Cautaerts",
"orcid": "0000-0002-6402-9879"
},
{
"name":"Simon Høgås"
"name": "Simon Høgås"
}
]
]
}
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ All notable changes to the ``orix`` project are documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_, and
this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

Unreleased
==========

2022-05-16 - version 0.9.0
==========================

Expand Down
7 changes: 6 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,12 @@ the documentation doesn't take too long to build, either by us locally or the Re
Docs GitHub action. To check that the notebooks with stored cell outputs are compatible
with the current API, we run a scheduled GitHub Action every Monday morning which checks
that the notebooks run OK and that they produce the same output now as when they were
last executed. We use `nbval <https://nbval.readthedocs.io/en/latest/>`_ for this.
last executed. We use `nbval <https://nbval.readthedocs.io>`_ for this.

The user guide notebooks can be run interactively in the browser with the help of
`Binder <https://mybinder.readthedocs.io>`_. When creating a server from the orix source
code, Binder installs the packages listed in the `environment.yml` configuration file,
which must include all `doc` dependencies in `setup.py` necessary to run the notebooks.

Deprecations
============
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include CHANGELOG.rst
include CONTRIBUTING.rst
include getting_started.rst
include environment.yml
include LICENSE
include MANIFEST.in
include README.rst
Expand Down
28 changes: 17 additions & 11 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,28 @@ Preparation
``.zenodo.json`` file.
- Bump ``__version__`` in ``orix/__init__.py``, for example to "0.8.2".
- Update the changelog ``CHANGELOG.rst``.
- Let the PR collect comments for a day to ensure that other maintainers are
comfortable with releasing. Merge.
- Let the PR collect comments for a day to ensure that other maintainers are comfortable
with releasing. Merge.

Release (and tag)
-----------------
- Create a tagged, annotated (meaning with a release text) with the name
v0.8.2" and title "orix 0.8.2". The tag target will be the ``master`` branch.
Draw inspiration from previous release texts. Publish the release.
- Monitor the publish GitHub Action to ensure the release is successfully
published to PyPI.
Tag and release
---------------
- Create a tagged and annotated (meaning with text) release with the name "v0.8.2" and
title "orix 0.8.2". The tag target will be the ``master`` branch. Draw inspiration
from previous release texts. Publish the release.
- Monitor the publish GitHub Action to ensure the release is successfully published to
PyPI.

Post-release action
-------------------
- Monitor the `documentation build <https://readthedocs.org/projects/orix/builds>`_ to
ensure that the new stable documentation is successfully built from the release.
- Make a post-release PR to ``master`` with ``__version__`` updated (or
reverted), e.g. to "0.9.dev0", and any updates to this guide if necessary.
- Ensure that `Zenodo <https://doi.org/10.5281/zenodo.3459662>`_ received the new
release.
- Ensure that Binder can run the user guide notebooks by clicking the Binder badges in
the top banner of one of the user guide notebooks via
`Read The Docs <https://orix.readthedocs.io/en/stable>`_.
- Make a post-release PR to ``master`` with ``__version__`` updated (or reverted), e.g.
to "0.9.dev0", the "Unreleased" header added to the changelog, and any updates to this
guide if necessary.
- Tidy up GitHub issues and close the corresponding milestone.
- A PR to the conda-forge feedstock will be created by the conda-forge bot.
7 changes: 7 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: doc-dependencies-for-binder
channels:
- conda-forge
dependencies:
- pip
- pip:
- --editable .[doc]
2 changes: 1 addition & 1 deletion orix/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = "orix"
__version__ = "0.9.0"
__version__ = "0.10.dev0"
__author__ = "orix developers"
__author_email__ = "[email protected]"
__description__ = "orix is an open-source Python library for handling crystal orientation mapping data."
Expand Down

0 comments on commit 49e775b

Please sign in to comment.