Repository navigation
build: prepare the 0.3.0 release - #29
Merged
Merged
Conversation
scipy and scikit-learn are not imported anywhere. requirements.txt duplicated the dependency list and is no longer used by CI. The README is now the PyPI description.
Uses the PyPI environment and an OIDC token instead of the stored API token, and publishes only from a published GitHub release.
Moves the article details into preferred-citation, writes ORCIDs as URLs and DOIs without the resolver prefix. The paper metadata matches Crossref.
Replaces the interim Keras 3 note with the current status and requirements, and lists the components that still fail, each checked on Keras 3 and Keras 2.
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.
Everything 0.3.0 needs apart from the release itself. Five commits:
requires-python >=3.11,tensorflow>=2.15,numpy.readme = "README.md").requirements.txt, which duplicated the dependencies and is no longer used.publish.ymluses thePyPIenvironment andid-token: write, matching the trusted publisher on pypi.org, instead of the 2022 API token.workflow_dispatchis gone, so no branch can be uploaded by hand.twine check --strict, and installs the wheel with current pip. 0.2.3's invalid metadata is what makes pip 24.1 and later skip it; this job would have caught that.cffconvertrejected it.preferred-citation(journal, volume, article number and year, all matching Crossref).norm.LayerNormalizationworks on both now, so it isn't listed.Verification
PASSEDfor wheel and sdist, and pip 26.2.1 installed the wheel with its dependencies.validate-pyprojectandcffconvert --validatepass; 18 tests pass on Keras 3; pre-commit hooks clean.After merging
PYPI_API_TOKEN,PYPI_USERNAMEandPYPI_PASSWORDcan be deleted. Password uploads have been refused by PyPI since 2023.Still open for the classifier: it says
Development Status :: 3 - Alpha. I left it, since several modules don't work; change it if you see it differently.