Summary of discussions:
- We requested the Packaging community for feedback on the proposed survey questions
- The Python Packaging Survey was conducted in Sept-Oct. The results are summarized here.
- We asked maintainers/contributors on which they would like to discuss the Packaging Strategy. The most popular option was Discourse.
- The first part of strategy discussion was about unification of Packaging tools
Discussion cue:
In the Packaging survey, users indicated that they were looking for more support.
To illustrate this, survey respondent 1 said:
āMany new python developers do not understand the difference between packaging a library, and shipping an application. Those who come from java backgrounds expect python packaging to be like java, and for libraries to freeze 100% of their dependencies. The community would benefit from richer examples by packaging case, showing how people maintain one library with poetry, another with pipx, now an application doing CI might use pip freeze in addition to its docker requirements. Few people understand how to update their dependencies, and manage ones they no longer need. Python tutorials for applications should demonstrate packaging and reuse, including updates and lifecycle.ā
Survey respondent 2 said:
āThe error messages, sometimes they are too ambiguous to beginner end usersā
Survey respondent 3 said:
āClear communication of a ācorrectā or ārecommendedā workflow for packaging. I appreciate the complexity of the issue, but it would help to present ONE approach as the standard, and relegate others for situations where the former doesnāt work. Furthermore, maintaining this standard workflow for an extended amount of time (i.e., several years) would be very helpful.ā
Survey respondent 4 said:
āA standardized tool to manage dependencies and package lifecycle. Poetry aims to be one, but AFAIK is not an official standard.ā
Survey respondent 5 said:
āI donāt get to use Python that much in my work, however, the times that I have used it Iāve had to relearn āhow to install X properlyā every time.ā
Survey respondent 6 said:
āAlthough the packaging documentation is great, it could be improved by giving āshortcutsā like how packages /modules should be named, how the structure of a package should be, etcā¦ with clear examplesā
This could be technical support such as ābetter deployment of dependencies when installing projectsā or ābetter system for managing dependenciesā. It could be defining common use cases and workflows for them. It could also be improving the support we offer on top of user documentation in the form of guided workshops, video tutorials. How can we better support our users?
Rules:
- The cues listed above are only suggestions. Please add your thoughts or questions below.
- This discussion is open to any active/passive PyPA/non PyPA tool maintainer/contributor
- When posting for the first time in this thread, please indicate which tool(s) you are representing. This is for my benefit as I would like to gauge how many tools have been represented in the discussion. If you have participated earlier in the strategy discussion, please feel free to ignore this.
- The discussion for this post will be open until Feb 10, 2023