[Distutils] Deprecating little used file types/extensions on PyPI?
wes.turner at gmail.com
Wed Aug 17 13:49:15 EDT 2016
PEX - Python Executable
- It's a ZIP with an executable header and entry points.
- PEX probably solves for the AWS Lambda case
- PEX is unsupported by PyPI (e.g. sadly doesnt work with DevPi
application-level package repository caching)
- PantsBuild builds PEX packages (Twitter)
- Buck Build builds PEX packages (Facebook)
Wheel adds a manifest of checksums (which should be signed, correct?)
Wheel does not solve for everything eggs still solve for. Neither are
- Wheel doesn't support environment markers in requirements.txt
What is the need to reduce/simplify the supported package types? Each have
"Suddenly they wouldn't accept archives which execute arbitrary code
I say support them all and don't waste time with complex deprecation and
migration strategies when the code already works.
What's it hurting to continue legacy support? (E.g., specifically, instead
of throwing a distribution stat up and claiming need to eliminate
everything legacy or exotic,
what are the costs for each option here?
- deprecate legacy and goad migration
- continue supporting a diverse array of python packaging needs
- end user developer time
- pypa developer time
- pypa server time
On Wednesday, August 17, 2016, Nick Coghlan <ncoghlan at gmail.com
> On 17 August 2016 at 23:23, Steve Dower <steve.dower at python.org> wrote:
> > Do you mean like zipapp and *.pyz files?
> Pretty much, yeah, but with a more fleshed out workflow that accounts
> for dependency bundling as well - you'd have a relatively normal
> Python app with a setup.py and/or requirements.txt, but be able to
> readily package the whole thing up for distribution.
> This kind of thing is *possible* today if you already know what you're
> doing, and at least the AWS Lambda docs are pretty decent when it
> comes to describing how to make it work in their (non-zipapp) usage
> model: http://docs.aws.amazon.com/lambda/latest/dg/lambda-python-
> (I haven't checked the Azure Compute Function docs, and Google Compute
> However, these kinds of approaches are nowhere near as well fleshed
> out from an automation perspective as traditional Linux web service
> deployment - note that there's no mention in the AWS Lambda docs of
> using a requirements file rather than individual dependency
> Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
> Distutils-SIG maillist - Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG