feat(ci): add automated PyPI publishing workflow#40
Merged
mischadiehm merged 6 commits intomainfrom Dec 26, 2025
Merged
Conversation
Introduces automated package publishing to PyPI and TestPyPI through GitHub Actions workflows. Stable releases publish to PyPI while pre-releases go to TestPyPI for testing. Updates documentation to reflect PyPI availability, adding PyPI as the primary installation method. Fixes package name inconsistency in release notes (net_worker -> networka) and corrects option numbering. Includes manual publishing tasks for local testing and adds comprehensive PyPI setup documentation for maintainers.
Resolved conflicts: - .github/workflows/release.yml: Keep main's GitHub install option - README.md: Use main's cleaner install instructions - docs/development.md: Combine release notes + PyPI publishing info - docs/getting-started.md: Use main's cleaner structure - src/network_toolkit/config.py: Keep both get_group_inventory_source_id and get_global_sequence_source_path, add source tracking to _load_sequences - src/network_toolkit/shell_completion/zsh_completion_nw.zsh: Use main's -c short option handling Additional fixes: - Add GlobalSequenceInfoTableProvider import to info.py - Replace CommandSequence with VendorSequence in tests
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
Changes
CI/CD
.github/workflows/release.ymlwith multi-platform testing (Linux/macOS/Windows, Python 3.11/3.12/3.13)__about__.pyDocumentation
docs/pypi-setup.md- maintainer guide for PyPI configurationdocs/development.md- release process documentationdocs/environment-variables.mdanddocs/file_upload.mdBuild & Tooling
publish:pypiandpublish:testtasks to Taskfile.ymlCode
GlobalSequenceInfoTableProviderfor global sequence display innw infovendor_specificparameter fromVendorSequenceInfoTableProviderTests
TestNetworkConfigAdvancedMethodsclass (tests for unimplemented features)Test Plan
uv build)Checklist
Deferred Work
The following features from WIP work have been deferred to separate issues:
Notes
docs/pypi-setup.mdfor configuration instructions