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

packaging: Add BUILD_VERSION as a script_env to pass #2137

Merged
merged 1 commit into from
Apr 24, 2020

Conversation

seemethere
Copy link
Member

BUILD_VERSION was not getting propagated properly through our conda
packaging, which made release builds look as though they were actually
develpoment builds.

This remedies that by having conda pass the environment variable
BUILD_VERSION through to the "python setup.py install" portion of the
"conda build".

This might have some side effects but I think overall this should be a
fairly harmless change.

closes #2133

Signed-off-by: Eli Uriegas eliuriegas@fb.com

BUILD_VERSION was not getting propagated properly through our conda
packaging, which made release builds look as though they were actually
develpoment builds.

This remedies that by having conda pass the environment variable
BUILD_VERSION through to the "python setup.py install" portion of the
"conda build".

This might have some side effects but I think overall this should be a
fairly harmless change.

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Copy link
Contributor

@peterjc123 peterjc123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@seemethere seemethere merged commit 3e60fb2 into pytorch:master Apr 24, 2020
@seemethere seemethere deleted the pass_build_version branch April 24, 2020 19:16
@fmassa
Copy link
Member

fmassa commented Apr 27, 2020

Thanks Eli!

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

Successfully merging this pull request may close these issues.

Vision 0.6 prerelease gets installes from pytorch channel in Anaconda
3 participants