Skip to content

Conversation

@forsyth2
Copy link
Collaborator

@forsyth2 forsyth2 commented Oct 8, 2025

Summary

Objectives:

  • Bump to 0.2.0rc1

Small Change

  • To merge, I will use "Squash and merge". That is, this change should be a single commit.
  • Logic: I have visually inspected the entire pull request myself.
  • Pre-commit checks: All the pre-commits checks have passed.

@forsyth2 forsyth2 self-assigned this Oct 8, 2025
@forsyth2 forsyth2 added the Update version Code specifically to update the version label Oct 8, 2025
@forsyth2
Copy link
Collaborator Author

forsyth2 commented Oct 8, 2025

All checks pass, merging.

@forsyth2 forsyth2 merged commit eb25825 into main Oct 8, 2025
5 checks passed
@forsyth2 forsyth2 deleted the v0.2.0rc1 branch October 8, 2025 18:31
@forsyth2
Copy link
Collaborator Author

forsyth2 commented Oct 8, 2025

Release process notes:

Step 1: testing

In the interest of time, we will be skipping early testing in favor of running all tests during the E3SM Unified Testing Period.

Step 2: Bump versions

Step 2a: Confluence

Update https://e3sm.atlassian.net/wiki/spaces/DOC/pages/129732419/Packages+in+the+E3SM+Unified+conda+environment:

  • E3SM Unified 1.11.0: zppy-interfaces v0.1.1
  • E3SM Unified 1.11.1: zppy-interfaces v0.1.2
  • E3SM Unified 1.12.0: zppy-interfaces v0.2.0 (update to this)

Step 2b: zppy-interfaces repo

cd ~/ez/zppy-interfaces
git status
# Check for uncommitted changes
git fetch upstream main
git checkout -b v0.2.0rc1 upstream/main
tbump 0.2.0rc1 --no-tag
# Error: Invalid config: 'Key "tbump" does not exist.'
# 
# We'll need to update manually
git grep -n "0\.1\.2"
# zppy_interfaces/version.py:1:__version__ = "0.1.2"
git grep -n "0\.1\.1"
# No results
#
# Yes, these match up with changes in https://github.com/E3SM-Project/zppy-interfaces/pull/24
# Make changes
git add -A
pre-commit run --all-files
git commit -m "Bump to 0.2.0rc1"
git push upstream v0.2.0rc1
# Create, and "Update version" label" to, and merge https://github.com/E3SM-Project/zppy-interfaces/pull/39
git checkout main
git fetch upstream
git reset --hard upstream/main
git tag -a v0.2.0rc1 -m "v0.2.0rc1"
# Delete the branch from the tbump step. Otherwise, the push command won't work.
git branch -D v0.2.0rc1
git push upstream v0.2.0rc1

v0.2.0rc1 now appears on Tags but not on Releases. Good, this is expected.

Step 2c: zppy-interfaces-feedstock repo

cd ~/zppy-interfaces-feedstock
curl -sL https://github.com/E3SM-Project/zppy-interfaces/archive/v0.2.0rc1.tar.gz | openssl sha256
# SHA2-256(stdin)= 82baaf5c5c1e69e3fc305d21c1f5c6b4d0b2c782cff6c8579a8a5c0b48fdf604
git status
# Check for uncommitted changes
git fetch upstream dev
# fatal: couldn't find remote ref dev
# 
# dev branch doesn't exist on https://github.com/conda-forge/zppy-interfaces-feedstock
git fetch upstream main
git checkout -b dev upstream/main
git push upstream dev
git fetch upstream dev
git checkout -b v0.2.0rc1 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.0rc1" %}
# 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.0rc1"
git push forsyth2 v0.2.0rc1

Created conda-forge/zppy-interfaces-feedstock#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Update version Code specifically to update the version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants