Conversation
Collaborator
Author
|
Release process notes: Step 1: testingcd ~/ez/zppy-interfaces
git status
# branch: test_unified_1.12.0rc1_chrysalis
# nothing to commit
git fetch upstream main
git checkout main
git reset --hard upstream/main
git log
# Last commit: Further pcmdi_diags updates (#41)
# Good, matches https://github.com/E3SM-Project/zppy-interfaces/commits/main
rm -rf build
conda clean --all --y
conda env create -f conda/dev.yml -n zi-main-20251016
conda activate zi-main-20251016
python -m pip install .
pytest tests/unit/global_time_series/test_*.py
# 10 passed in 29.55s
pytest tests/unit/pcmdi_diags/test_*.py
# 7 passed, 1 warning in 20.27sSee discussion on warnings at PCMDI/pcmdi_metrics#1330 (comment). Step 2: Bump versionsStep 2a: Confluence
Step 2b: zppy-interfaces repocd ~/ez/zppy-interfaces
git status
# Check for uncommitted changes
git fetch upstream main
git checkout -b v0.2.0rc2 upstream/main
tbump 0.2.0rc2 --no-tag
# Error: Invalid config: 'Key "tbump" does not exist.'
#
# We'll need to update manually
git grep -n "0\.2\.0rc1"
# zppy_interfaces/version.py:1:__version__ = "0.2.0rc1"
#
# Yes, this matches up with changes in https://github.com/E3SM-Project/zppy-interfaces/pull/24
# Make corresponding changes here
git add -A
pre-commit run --all-files
git commit -m "Bump to 0.2.0rc2"
git push upstream v0.2.0rc2
# Follow example of https://github.com/E3SM-Project/zppy-interfaces/pull/39
# Create, add "Update version" label" to, and merge https://github.com/E3SM-Project/zppy-interfaces/pull/43
git checkout main
git fetch upstream
git reset --hard upstream/main
git tag -a v0.2.0rc2 -m "v0.2.0rc2"
# Delete the branch from the tbump step. Otherwise, the push command won't work.
git branch -D v0.2.0rc2
git push upstream v0.2.0rc2
Step 2c: zppy-interfaces-feedstock repocd ~/zppy-interfaces-feedstock
curl -sL https://github.com/E3SM-Project/zppy-interfaces/archive/v0.2.0rc2.tar.gz | openssl sha256
# SHA2-256(stdin)= ace4d6571bd3bd65e38b304cc1ae014ae2fb351f038e6abd8becc3a8941dea2d
git status
# Check for uncommitted changes
git fetch upstream dev
git checkout -b v0.2.0rc2 upstream/dev
emacs recipe/meta.yaml
# In `recipe/meta.yaml`, update the version and sha256 (and the build number if needed):
# {% set version = "0.2.0rc2" %}
# sha256: ... # The sha256 from the previous step
# number: 0 # build >>> number should always be 0
#
# Also appear to need to edit a number of dependency versions...
git add -A
git commit -m "v0.2.0rc2"
git push forsyth2 v0.2.0rc2
# Follow example of https://github.com/conda-forge/zppy-interfaces-feedstock/pull/3 |
5 tasks
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Objectives:
Small Change