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

Move version definition from setup.py to version.txt #3202

Merged
merged 2 commits into from
Dec 22, 2020

Conversation

datumbox
Copy link
Contributor

Required for FBcode

Copy link
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Looks good to me :)

A minimal change. For a bigger change, we can also inspire from https://github.com/pytorch/pytorch/blob/c348faedc4c3e48182a9b2d74f1da861624d0f87/tools/generate_torch_version.py#L13

@datumbox datumbox merged commit ca6fdd6 into pytorch:master Dec 22, 2020
@datumbox datumbox deleted the features/version_txt branch December 22, 2020 12:27
@datumbox
Copy link
Contributor Author

@seemethere this might be of interest to you for the release/CI scripts.

@seemethere
Copy link
Member

Thanks for the heads up, this looks fine to me as long as we retain the ability to set it as an environment variable

facebook-github-bot pushed a commit that referenced this pull request Dec 23, 2020
Reviewed By: fmassa

Differential Revision: D25679212

fbshipit-source-id: ab567b28e454bb5e8ac741e6d7798786dcbb6b3d
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.

4 participants