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
Upload .nupkg file or .zip equivalent to python.org #103011
Comments
|
@Yhg1s (as a release manager) |
|
More of a question for @zooba at this point. |
|
I'm concerned about users picking the zip file and being surprised that they don't have proper update and uninstall functionality, or that their IDE or Frankly, teams that are concerned about the trustworthiness of nuget.org ought to be way more concerned about downloading from arbitrary web sites. Nuget at least scans and detonates every upload, so anything malicious doesn't last long, and the packages are signed and verified. It's easy to construct a direct download link from nuget (it's So overall, I'm not opposed to putting up a zipped copy on python.org if it's that big a deal. But I am opposed to making it seem like a sensible choice for the ~tens of millions of downloads we get each month. The vast vast majority of those users will get burned much quicker than usual if they do a manual install, and nobody likes it when we point out that they simply made the wrong choice ("why would you offer it if it's wrong?" is a real question I get asked enough already...). |
Feature or enhancement
Please add another package/publish step to upload the
.nupkgfiles to python.org alongside the other precompiled package options.Alternatively, and preferably....
Just zip up the
toolssubdirectory of thenugetpackage separately and upload that topython.orgnamed as "portable install".Pitch
The current build automation is just a few inches shy of addressing a much broader and more general case of CI. With one of the "relatively trivial" modifications suggested, the Python could simplify any primitive CI flows which don't use nuget package management.
In either recommended case, nothing has to be re-built, no additional tests are needed, because it's the exact same functionality as the
nupkg. Just add a second capture/upload step during the stages which builds thenupkg, just with a different name and destination. The hardest part is the organizational stuff: updating the website and docs to describe this new thing, etc.But Why?
The
.nupkgpackage is a very awesome and practical acknowledgement of the world of CI use-cases. Thanks for this. However, it's coupled to the concept/stack of nuget package management, and many CI teams in enterprise organizations can't or haven't adopted that strategy.Primitive CI flows (as found in many enterprise organizations) want all of their pre-compiled binary tools to follow the simple template:
Currently, we can "hack" the
.nupkgpackage to get close to this, but with a bunch of unnecessary nuance:.nupkg, so we have to rename it to .zip to unzip it with either Powershell or bsdtartoolssubdirectoryThe text was updated successfully, but these errors were encountered: