The version is derived from git tags by hatch-vcs; there is no version string to edit in the source.
- Update
CHANGELOG.md: rename## [Unreleased]to## [vX.Y.Z] - YYYY-MM-DD, add a fresh empty## [Unreleased]section above it, and update the link references at the bottom of the file. - Open a PR with that change and merge it.
- Tag the merge commit
vX.Y.Z(annotated) and push the tag. - Publish a GitHub release for the tag. This triggers
.github/workflows/publish.yml, which builds the sdist/wheel and uploads them to PyPI via trusted publishing — there is no manual upload step and no API token. - Check that the new version appears on PyPI and that Read the Docs built the tagged version.
These live outside the repository and must be configured once by a maintainer with admin access:
- PyPI: create the
earthaccess-authproject and configure a trusted publisher for this repository, workflowpublish.yml, environmentpypi. Create the matchingpypienvironment in the GitHub repo settings. - Read the Docs: import the project (slug
earthaccess-auth) and enable pull request builds. - Branch protection: protect
main(require PRs, require the test workflows, require review). - CodeQL: enable default setup under Settings → Code security (satisfies the OpenSSF Scorecard SAST check without a workflow).
- Scorecard: after the first push, verify the
ossf/scorecard-actionpin in.github/workflows/scorecard.ymlresolves (it was pinned while offline) and that publishing results is acceptable to the org. - Code of Conduct contact: confirm
nsidc@nsidc.orginCODE_OF_CONDUCT.mdis the intended contact for this repository.