prepare pypi metadata, credit hydra, link docs - #11
Merged
Conversation
also bump __version__ in src/iolaus/__init__.py alongside pyproject so the two cannot drift. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
trusted publishing is configured against the release environment, so the job must declare it. also pin contents: read for checkout now that the permissions block is job-scoped, and fail early when the pushed tag does not match the version in pyproject.toml. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Prepares the package for its first PyPI release and adds attribution to Hydra.
Packaging metadata
authors,[project.urls](Homepage, Documentation, Repository, Issues, Changelog),keywords, andclassifiers. The PyPI page previously had no author and no sidebar links.license = { text = "MIT" }to the PEP 639 SPDX formlicense = "MIT"pluslicense-files = ["LICENSE"]. The metadata now carriesLicense-Expression: MIT, so the deprecatedLicense :: OSI Approved :: MIT Licenseclassifier is deliberately omitted (PyPI rejects packages that declare both).Development Status :: 3 - Alpha, matching the not-yet-stable warning in the README.Version drift fix
bump-my-versiononly rewrotepyproject.toml, soiolaus.__version__would have stayed at0.1.0forever. Added a second[[tool.bumpversion.files]]entry forsrc/iolaus/__init__.py.Housekeeping
.DS_Storeadded to.gitignoreand removed from the working tree.CHANGELOG.mdgets a real0.1.0section (contents checked against the actual implementation) with Keep a Changelog formatting and compare links.Documentation
mkdocs.ymlgains the matchingsite_url.Verification
uv build+twine checkpass on both sdist and wheelruff checkandmypy --strictcleanmkdocs build --strictclean, comparison table rendersbump-my-version bump --dry-run patchconfirmed to touch both version locationsTrusted Publishing on PyPI is still to be configured, and is not part of this PR.
🤖 Generated with Claude Code