From 5ad4f685b01f7b01155d5af2c9bdeb88c9dc7f6a Mon Sep 17 00:00:00 2001 From: Nayef Ahmed Date: Thu, 26 May 2022 12:41:42 -0400 Subject: [PATCH 1/2] Pin setuptools to 58.0.4 on Windows --- .circleci/unittest/windows/scripts/environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/unittest/windows/scripts/environment.yml b/.circleci/unittest/windows/scripts/environment.yml index 14a7eac016..1b954ecbc8 100644 --- a/.circleci/unittest/windows/scripts/environment.yml +++ b/.circleci/unittest/windows/scripts/environment.yml @@ -3,6 +3,7 @@ channels: dependencies: - codecov - pip + - setuptools == 58.0.4 - pip: - dataclasses - nltk From 66e948b2930b1721d37b05184fea95b89970f557 Mon Sep 17 00:00:00 2001 From: Nayef Ahmed Date: Thu, 26 May 2022 12:53:38 -0400 Subject: [PATCH 2/2] Fix lint issues --- torchtext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/__init__.py b/torchtext/__init__.py index 331a3fd74a..015b51501f 100644 --- a/torchtext/__init__.py +++ b/torchtext/__init__.py @@ -7,7 +7,7 @@ _TORCH_HOME = os.getenv("TORCH_HOME") if _TORCH_HOME is None: - _TORCH_HOME = "~/.cache/torch" #default + _TORCH_HOME = "~/.cache/torch" # default _CACHE_DIR = os.path.expanduser(os.path.join(_TORCH_HOME, "text")) from . import data, datasets, experimental, functional, models, nn, transforms, utils, vocab