aws / aws/aws-cli

Support for logging into `poetry` python tool.

Open
#8,378 2 comments 2 reactions 0 assignees View on GitHub
codeartifact login customization feature-request p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the feature

The CLI currently supports logging into `pip` and `twine`. `poetry` is another package management tool gaining popularity, so this request is simply to enable `aws codeartifact login --tool poetry ...`

### Use Case

`poetry` is preferable to `pipenv` since the latter utilizes a `Pipfile`, where the former only needs a `pyproject.toml`. this would allow projects that pull from and push to codeartifact to just use one tool and one config file for their package management and publishing.

### Proposed Solution

it should be relatively straightforward to add this as an option alongside the existing python tools. i'll see if i can take a stab at it

### Other Information

the biggest hiccup i've been hitting in doing this manually (authenticating to codeartifact via poetry on windows) is due to [this bug](https://github.com/jaraco/keyring/issues/540) in a repo that poetry uses to store credentials on windows.

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CLI version used

aws-cli/2.9.4 Python/3.9.11 Windows/10 exe/AMD64 prompt/off

### Environment details (OS name and version, etc.)

Windows 10 22H2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.