Skip to content

Commit

Permalink
packaging: Ensure we're propagating BUILD_VERSION (pytorch#1697)
Browse files Browse the repository at this point in the history
BUILD_VERSION gets set by upstream scripts and should be available
whenever we're attempting to build audio in conda environments.

This solves the issue where conda packages appeared to be building a
development version instead of the actual version we were targeting

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
  • Loading branch information
seemethere authored Aug 11, 2021
1 parent 2e1df52 commit 4c57e1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/torchaudio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ requirements:

build:
string: py{{py}}
script_env:
- BUILD_VERSION

test:
imports:
Expand Down

0 comments on commit 4c57e1b

Please sign in to comment.