Skip to content

17 python release#18

Merged
chrisdicaprio merged 67 commits intomainfrom
17-python-release
Aug 28, 2025
Merged

17 python release#18
chrisdicaprio merged 67 commits intomainfrom
17-python-release

Conversation

@chrisdicaprio
Copy link
Copy Markdown
Collaborator

@chrisdicaprio chrisdicaprio commented Aug 25, 2025

  • shared composite action for installing poetry and package dependencies.
  • new deploy docs workflow
  • new release and distribute to PyPI workflow

Will need to change reference to composite action to main branch after merging.

Copy link
Copy Markdown
Collaborator

@voj voj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I like moving the Python setup into an action. I'll use that action for the deployment workflow too!

- uses: actions/setup-python@v5
id: pythonInstallStep
- name: install_package
uses: GNS-Science/nshm-github-actions/.github/actions/python-install@17-python-release
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!


Creates a GitHub release and publishes the package to PyPI. Would commonly be one of two jobs along with with Python Deploy Docs in a repo workflow triggered by e.g. tagging a version.

Requires the secret `PYPI_API_TOKEN`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add this to the top of the yml file too, to be sure.

@chrisdicaprio chrisdicaprio merged commit 15f6d35 into main Aug 28, 2025
0 of 9 checks passed
@chrisdicaprio chrisdicaprio deleted the 17-python-release branch August 28, 2025 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants