From efb0b265ce62bb9205ba93701628c4b57012001c Mon Sep 17 00:00:00 2001 From: Francisco Massa Date: Thu, 7 Nov 2019 13:41:35 +0100 Subject: [PATCH] Preparing builds (#1558) --- .circleci/config.yml | 2 +- .circleci/config.yml.in | 2 +- setup.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50221f9e4c7..e86926e4de5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ binary_common: &binary_common pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "1.3.0" + default: "1.3.1" # Don't edit these python_version: description: "Python version to build against (e.g., 3.7)" diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 3ffcaafa0c9..bce2d0f3c10 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -16,7 +16,7 @@ binary_common: &binary_common pytorch_version: description: "PyTorch version to build against; by default, use a nightly" type: string - default: "1.3.0" + default: "1.3.1" # Don't edit these python_version: description: "Python version to build against (e.g., 3.7)" diff --git a/setup.py b/setup.py index 40cddba228d..86597edb575 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ def get_dist(pkgname): return None -version = '0.4.2a0' +version = '0.4.2' sha = 'Unknown' package_name = 'torchvision' @@ -43,8 +43,8 @@ def get_dist(pkgname): if os.getenv('BUILD_VERSION'): version = os.getenv('BUILD_VERSION') -elif sha != 'Unknown': - version += '+' + sha[:7] +# elif sha != 'Unknown': +# version += '+' + sha[:7] print("Building wheel {}-{}".format(package_name, version))