Repository navigation
chore: prepare packaging for PyPI release - #61
Merged
Merged
Conversation
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 publishing to PyPI with the 2.0 release.
Changes
pyproject.toml:license,license-files,authors, project URLs, keywords and classifiers (Python 3.10–3.14,Typing :: Typed)src/pse_sdk/__init__.pyonlypytest>=8,responses>=0.25,ruff>=0.15)main, since relative links break on PyPI.github/workflows/tests.yml:gen_docs.py --check--resolution lowest-direct). numpy is held below 2 because pandas 1.5 breaks against numpy 2..github/workflows/publish.yml: Trusted Publishing, no API tokensv*tag builds and publishes to PyPI (pypienvironment). The build fails if the tag doesn't match the package version.testpypienvironment)Notes
tests/manual_test.pycalls the live API when it is imported. CI skips it with--ignore.main, sodocs/usage.mdreturns a 404 until the release is merged there.Testing
uv buildandtwine checkpass. The wheel contains onlypse_sdk/andLICENSE.md.