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

Document the long-term vision for twine #154

Closed
nchammas opened this issue Dec 7, 2015 · 13 comments
Closed

Document the long-term vision for twine #154

nchammas opened this issue Dec 7, 2015 · 13 comments
Assignees
Labels
question Discussion/decision needed from maintainers

Comments

@nchammas
Copy link

nchammas commented Dec 7, 2015

I'm working through the Python Packaging User Guide and getting ready to create and upload my first Python package. 👏

Towards the end of the guide we learn that we need to upload our distribution, and twine is the recommended tool for doing that.

It seems awkward that we do everything with setuptools except upload the distribution, which we do with twine.

The divide raises a few questions:

  • What is the long-term vision for twine?
  • Will it somehow be merged in to setuptools and become python setup.py upload?
  • Is it meant to co-exist with setuptools for the long-term?
@sigmavirus24
Copy link
Member

The answer to item 2 is no. I'll let Donald answer the rest when he had time

@zoidyzoidzoid
Copy link

The Readme's Why should I use this? also covers some of the reasons for using it.

@dstufft mentioned merging it with pip is planned here

@nchammas
Copy link
Author

nchammas commented Dec 7, 2015

Right, the README covers twine today, but not its direction. I guess #127 has the answer I'm looking for. Perhaps that should be added to the README for others to discover more easily.

@annaraven
Copy link
Contributor

Do we want to add this to the README? Maybe a "future" or "roadmap" section?

@ncoghlan
Copy link
Member

pypa/packaging-problems#60 covers the discussion for how to improve the publication UX in general.

While we still recommend it on packaging.python.org, twine is actually less essential when using recent versions of setuptools and distutils, since the original lack of HTTPS certificate validation that twine addressed has also been addressed in the upload commands (the main problems now are with older Linux distros that are still shipping without enforced use of HTTPS and without default certificate validation in place).

@nchammas
Copy link
Author

Closing this since it was a question and not specific issue report.

#127 suggests that Twine will be merged into pip at some point after Warehouse goes live, which happened earlier this year.

@brainwane brainwane changed the title What is the long-term vision for twine? Document the long-term vision for twine Sep 14, 2018
@brainwane
Copy link
Contributor

This is a documentation bug; reopening.

@brainwane brainwane reopened this Sep 14, 2018
@brainwane
Copy link
Contributor

@bhrutledge it would be great to talk about this on IRC when we co-work in several days.

@bhrutledge
Copy link
Contributor

@brainwane Agreed, though I feel like I don't have much to offer beyond asking "What is the long-term vision for Twine?" I feel like there are lots of folks in the PyPA ecosystem who have opinions informed by their involvement with its various projects.

@bhrutledge
Copy link
Contributor

Related: #593

@jaraco
Copy link
Member

jaraco commented Jun 20, 2020

I think the short answer is that there is no long-term vision for twine except to be a best-in-class uploader as part of the PyPA suite of tools for packaging Python projects.

@jaraco jaraco closed this as completed Jun 20, 2020
@merwok
Copy link

merwok commented Jun 20, 2020

Does this mean: best-in-class uploader tool or also library?
(thinking of the different positioning of pip, python-build and pep517 for example)

@jaraco
Copy link
Member

jaraco commented Jun 20, 2020

Good question, definitely tool. Possibly also library (ref #194). IMO, vision and strategy is set at a higher level (pypa/packaging-problems, PEPs, distutils-sig) and individual projects focus on implementing that vision. It may be worthwhile for each project to have a roadmap, and I'd welcome one added to the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Discussion/decision needed from maintainers
Projects
None yet
Development

No branches or pull requests

10 participants