Repository navigation
Add plugin for Python poetry build tool - #725
Merged
Merged
Conversation
Initial structure & code generated by Opencode.
* origin/main: Fix authentication injection in interactive Copilot CLI (1Password#715) feat(aws): add support for AWS IAM Identity Center (SSO) (1Password#622) feat(sdk): support plugins with more than one credential type (1Password#710)
* origin/main: feat: Create plugin for Railway CLI (1Password#481) fix(vercel): provide API token through VERCEL_TOKEN instead of --token (1Password#717) Add shell plugin for SonarQube CLI (1Password#628) Bump golang.org/x/mod from 0.42.0 to 0.43.0 (1Password#714) Bump step-security/harden-runner from 2.22.4 to 2.23.0 (1Password#718) Bump actions/create-github-app-token from 3.3.0 to 3.4.0 (1Password#719) Bump actions/setup-go from 7.0.0 to 7.1.0 (1Password#720) [automation]: Update Flake dependencies (1Password#716)
This change also fixes the import from `auth.toml` as the initial `struct`s didn't properly unmarshall from the `.toml` file.
rr3khan
reviewed
Dec 4, 2026
Co-authored-by: rr3khan <65298773+rr3khan@users.noreply.github.com>
It now generates two possible import candidates, one with the underscores and another with the underscores replaced by dashes.
Contributor
Author
|
@rr3khan Thanks for pointing out the dashes vs underscores. I hadn't seen that in practice myself, nor from the docs. It also made me realize that the env var import could present the inverse problem, so I've also updated that to generate 2 different possible import candidates. |
rr3khan
approved these changes
Dec 4, 2026
rr3khan
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the contribution @acourtneybrown approved and will merge. This plugin will be available in a future release of the cli.
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.
Overview
Adds a shell plugin that provisions PyPI API tokens for the Python
poetrybuild tool. It looks for envvars of the formPOETRY_PYPI_TOKEN_*for import. Also imports existing credentials from Poetry'sauth.tomlfile.With the different source of credentials from the
pypiplugin and handling of envvars based on the different Poetry repository (-rargument topoetry publish), it didn't seem like a good fit to attempt to shoehorn this change into thepypiplugin.Type of change
Related Issue(s)
How To Test
poetry publishChangelog
Authenticate
poetryto publish to PyPI repositories using Touch ID and other unlock options with 1Password Shell Plugins.