Skip to content
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

Update/Add twine #11938

Closed
3 of 16 tasks
BrandonLWhite opened this issue Apr 3, 2025 · 2 comments
Closed
3 of 16 tasks

Update/Add twine #11938

BrandonLWhite opened this issue Apr 3, 2025 · 2 comments

Comments

@BrandonLWhite
Copy link

BrandonLWhite commented Apr 3, 2025

Tool name

twine

Tool license

Apache License 2.0

Add or update?

  • Add
  • Update

Desired version

latest

Approximate size

40 KB

Brief description of tool

Twine is a utility for publishing Python packages on PyPI. It provides build system independent uploads of source and binary distribution artifacts.

Twine is maintained by the Python Packaging Authority, the same org that provides pip. Where pip is for downloading/installing Python libraries, twine is for uploading them to an artifact repository.

I believe it makes a lot of sense for a CI/CD system to have this basic Python library publishing tool baked-in.

URL for tool's homepage

https://github.com/pypa/twine

Provide a basic test case to validate the tool's functionality.

twine --version

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Can this tool be installed during the build?

Twine can be easily installed using pipx, by adding the following entry to the pipx array in toolset-2404.json

{
   "package": "twine",
   "cmd": "twine"
},

Tool installation time in runtime

1 or 2 seconds

Are you willing to submit a PR?

Yes

@kishorekumar-anchala
Copy link
Contributor

Hi @BrandonLWhite

Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.

@subir0071
Copy link
Contributor

Hi @BrandonLWhite - Unfortunately, we are unable to proceed with the installation of this tool in the runner image.. Having said that, we will surely look back re-assess our decision as the tool rises in popularity.

This tool requires arund 5-6 seconds to install via Github actions workflow.
Please feel free to add the relevant installation step in the same.
Thanks.

@subir0071 subir0071 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants