Chris Pryer
Chris Pryer
I've organized the changes into commits for an easier read and provided some details about each change. The refactor makes the diff difficult to reason about since large portions of...
@mitsuhiko At this stage the PR should be ready. I'll keep an eye out for any reported issues. One comment though is what I mentioned [here](https://github.com/astral-sh/rye/pull/759#issuecomment-2027683000). > Returning to this...
> Any chance that Twine's `--config-file` option could be dispatched as well? In my current use-case, this would support the [`TwineAuthenticate@1` task from Azure Pipelines](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/twine-authenticate-v1?view=azure-pipelines#publish-python-distribution-to-azure-artifacts-feed) Feel free to mention that...
@charliermarsh can I do anything to help make this easier to review and consider? I have time this weekend to work on this. The majority of this change is a...
FWIW ``` rye-publish on main [?] is 📦 v0.3.0 via 🐍 v3.12.1 ❯ rye publish --repository testpypi --repository-url https://test.pypi.org/legacy/ --username cnpryer --token -y Uploading distributions to https://test.pypi.org/legacy/ Uploading rye_publish-0.3.0-py3-none-any.whl...
I'd think adding .pypirc and OIDC support would be cool. If there's interest in this I could try to PR something this weekend, unless someone else gets to it before...
Note [Twine will default to use API tokens](https://github.com/pypa/twine/pull/1040#issuecomment-1877577042). - From https://github.com/pypa/twine/pull/1040 - https://github.com/pypa/twine/issues/561 IIUC it should pick up the username for non-PyPI usage, but I'm also curious of how your...
Can you try and isolate the auth resource you're using? I believe Twine will use keyring creds if a password isn't provided, but, for me at least, it's hard to...
I read through https://cloud.google.com/artifact-registry/docs/python/authentication#search-order a little. It's hard to learn more about your problem without having experience with the platform or having time to learn about it enough to test...
If we want something quick for now, [cnpryer:0a76694222adec09ea450c5fc5fd041d1518fdf7](https://github.com/cnpryer/rye/commit/0a76694222adec09ea450c5fc5fd041d1518fdf7) will hopefully have: - Refactored the publish logic to allow for Twine dispatch without passwords - New `--skip-save-credentials` flag - TODO: `--yes`...