BruceSherwood / vpython-jupyter

This repository has been moved to https://github.com/vpython/vpython-jupyter
64 stars 33 forks source link

Add ability to upload to special label if tag is a pre-release #107

Closed mwcraig closed 5 years ago

mwcraig commented 5 years ago

This (hopefully) adds the ability to upload test releases (alpha, beta, whatever) to a less visible place on anaconda.

The goal is to make it easy for us to create and test possible releases while ensuring that the typical user never installs a pre-release by accident. pip has this built in to some extent -- if a release has text like "alpha" or "beta" in the name of the release then pip will not install it unless one uses a special flag (--pre).

Conda doesn't have something equivalent but does have the concept of labels. Packages by default are uploaded to the "main" channel; when a user does conda install -c vpython vpython then conda checks the main channel for the user vpython on anaconda.org. One can have other labels; this adds one called pre-release.

We can fairly easily install those by including the label but ordinary users won't have any reason to do that.