-
Notifications
You must be signed in to change notification settings - Fork 12
# PR: Release databusclient 0.15 to PyPI (Issue #35) #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9448228
Restrict Vault token exchange to specific hosts; improve auth errors;…
c92e58f
Restrict Vault token exchange to specific hosts; improve auth errors;…
22e4d86
Release 0.15: bump version, add changelog, docstrings(issue #35)
332d0c7
Prepare PyPI release 0.15 with build artifacts and publishing guide (…
55791f2
Merge branch 'main' into release/0.15
Integer-Ctrl 1b6fa27
Convert all docstrings to Google-style format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ## [0.15] - 2025-12-18 | ||
| - Prepare new PyPI release 0.15 (skipping 0.13/0.14 as requested). | ||
| - Improve Vault authentication: host-restricted token exchange and clearer errors. | ||
| - Add tests for Vault auth behavior. | ||
| - Add docstrings to increase docstring coverage for CI. | ||
|
|
||
| Note: After merging this branch, publish a PyPI release (version 0.15) so | ||
| `pip install databusclient` reflects the updated CLI behavior and bug fixes. | ||
| # Changelog | ||
|
|
||
| ## 0.15 - Prepared release | ||
|
|
||
| - Prepare PyPI release 0.15. | ||
| - Restrict Vault token exchange to known hosts and provide clearer auth errors. | ||
| - Add tests for Vault auth behavior. | ||
| - Documentation: note about Vault-hosts and `--vault-token` usage. | ||
|
|
||
| (See PR and issue tracker for details.) | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,21 @@ | ||
| """Top-level package for the databus Python client. | ||
|
|
||
| This module exposes a small set of convenience functions and the CLI | ||
| entrypoint so the package can be used as a library or via | ||
| ``python -m databusclient``. | ||
| """ | ||
|
|
||
| from databusclient import cli | ||
| from databusclient.api.deploy import create_dataset, create_distribution, deploy | ||
|
|
||
| __all__ = ["create_dataset", "deploy", "create_distribution"] | ||
|
|
||
|
|
||
| def run(): | ||
| """Start the Click CLI application. | ||
|
|
||
| This function is used by the ``__main__`` module and the package | ||
| entrypoint to invoke the command line interface. | ||
| """ | ||
|
|
||
| cli.app() |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,19 @@ | ||
| """Module used for ``python -m databusclient`` execution. | ||
|
|
||
| Runs the package's CLI application. | ||
| """ | ||
|
|
||
| from databusclient import cli | ||
|
|
||
| cli.app() | ||
|
|
||
| def main(): | ||
| """Invoke the CLI application. | ||
|
|
||
| Kept as a named function for easier testing and clarity. | ||
| """ | ||
|
|
||
| cli.app() | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.