Repository navigation
Publish to PyPI from GitHub Releases (0.6.1) - #15
Merged
Merged
Conversation
- release workflow: publishing a GitHub Release checks that the tag matches the package version, builds the sdist and wheel, runs twine check and uploads to PyPI with trusted publishing (OIDC, no stored token) from the "pypi" environment - install docs now use pip install deapi-sdk / "deapi-sdk[ws]" - absolute README links, so they work on the PyPI project page - sdist limited to sources, tests, docs, examples and metadata - bump version to 0.6.1 and add the changelog entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <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.
Summary
Prepares the first PyPI release of
deapi-sdk(the name is free on PyPI)..github/workflows/release.yml. Publishing a GitHub Release:v+ the version inpyproject.toml,twine check --strict,pypienvironment. No API token is stored in the repository..env.exampleand the realtime example now usepip install deapi-sdk/pip install "deapi-sdk[ws]"..github, no.env.example).Before the first release
deapi-sdk: ownerdeapi-ai, repositorydeapi-python-sdk, workflowrelease.yml, environmentpypi.pypienvironment (optionally with required reviewers, so every upload waits for approval).Tests
python -m build+twine check --strict: passedwsextra in a clean venv: imports fine, version 0.6.1ruff check,pytest -m "not integration": 701 passed🤖 Generated with Claude Code