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

--pre #71

Open
mottosso opened this issue Jul 19, 2019 · 0 comments
Open

--pre #71

mottosso opened this issue Jul 19, 2019 · 0 comments
Labels

Comments

@mottosso
Copy link
Owner

Goal

Separate between releases and pre-releases, to encourage experimentation without affecting the general user.

Motivation

PyPI separates between release and pre-release packages, which means you can safely release a pre-release version into the wild without breaking things for your users. In order to use it, you would call:

pip install my_package --pre

Which installs any package whose version qualifies as a "pre-release".

Rez doesn't have a concept of a pre-release, but can be made to have one by using rez env --exclude *pre. This feature would take the most common use of this and make it an official feature of the framework.

Implementation

rez env my_package
# my_package-1.0

rez env my_pacakge --pre
# my_package-1.0.beta

This also implies a re-prioritisation of versions, whereby currently 1.0.beta is considered later than 1.0 which is incorrect (from a users point of view).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant