From 046735c86d082e22bc36b763a26aa79ea6187365 Mon Sep 17 00:00:00 2001 From: bibhabasumohapatra Date: Sat, 18 Dec 2021 08:32:50 +0530 Subject: [PATCH 1/6] this removes python 3.6 support due to EOL, 2021-12-23 --- .github/workflows/pytorch-version-tests.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytorch-version-tests.yml b/.github/workflows/pytorch-version-tests.yml index b05b5e5c432..8111c934a42 100644 --- a/.github/workflows/pytorch-version-tests.yml +++ b/.github/workflows/pytorch-version-tests.yml @@ -13,7 +13,7 @@ jobs: max-parallel: 10 fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.7, 3.8] pytorch-version: [1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1, 1.4.0, 1.3.1] exclude: - pytorch-version: 1.3.1 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a72865dc9fb..bf26f931d0b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] pytorch-channel: [pytorch, pytorch-nightly] include: # includes a single build on windows diff --git a/pyproject.toml b/pyproject.toml index 12bffe18b13..0a6e2c8cab7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py36', 'py37', 'py38'] +target-version = ['py37', 'py38'] include = '\.pyi?$' exclude = ''' From 7468278ecb7f170f8b9b802ba58a16ef97ced395 Mon Sep 17 00:00:00 2001 From: bibhabasumohapatra Date: Sat, 18 Dec 2021 19:33:02 +0530 Subject: [PATCH 2/6] added py39 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0a6e2c8cab7..5a1d6533d20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37', 'py38'] +target-version = ['py37', 'py38','py39'] include = '\.pyi?$' exclude = ''' From 98248f0a65b03dc1f283667fce55b91c99050cee Mon Sep 17 00:00:00 2001 From: Bibhabasu Mohapatra <68384968+bibhabasumohapatra@users.noreply.github.com> Date: Sat, 18 Dec 2021 21:00:21 +0530 Subject: [PATCH 3/6] Update pyproject.toml Co-authored-by: vfdev --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5a1d6533d20..78b71deeca2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37', 'py38','py39'] +target-version = ['py37', 'py38', 'py39'] include = '\.pyi?$' exclude = ''' From e9873592dd984c1c89f5b4e539cbb47d56612ec2 Mon Sep 17 00:00:00 2001 From: bibhabasumohapatra Date: Mon, 20 Dec 2021 10:07:42 +0530 Subject: [PATCH 4/6] adds python 3.9 --- .github/workflows/pytorch-version-tests.yml | 8 +++++++- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytorch-version-tests.yml b/.github/workflows/pytorch-version-tests.yml index 8111c934a42..5c14b652a99 100644 --- a/.github/workflows/pytorch-version-tests.yml +++ b/.github/workflows/pytorch-version-tests.yml @@ -13,11 +13,17 @@ jobs: max-parallel: 10 fail-fast: false matrix: - python-version: [3.7, 3.8] + python-version: [3.7, 3.8, 3.9] pytorch-version: [1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1, 1.4.0, 1.3.1] exclude: - pytorch-version: 1.3.1 python-version: 3.8 + - pytorch-version: 1.4.0 + python-version: 3.9 + - pytorch-version: 1.5.1 + python-version: 3.9 + - pytorch-version: 1.6.0 + python-version: 3.9 steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 5a1d6533d20..78b71deeca2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37', 'py38','py39'] +target-version = ['py37', 'py38', 'py39'] include = '\.pyi?$' exclude = ''' From 8ded649b9d9ddcece41b3d2b4f994af0f3831730 Mon Sep 17 00:00:00 2001 From: Bibhabasu Mohapatra <68384968+bibhabasumohapatra@users.noreply.github.com> Date: Mon, 20 Dec 2021 10:56:40 +0530 Subject: [PATCH 5/6] Update pytorch-version-tests.yml --- .github/workflows/pytorch-version-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pytorch-version-tests.yml b/.github/workflows/pytorch-version-tests.yml index 5c14b652a99..78eeec2e912 100644 --- a/.github/workflows/pytorch-version-tests.yml +++ b/.github/workflows/pytorch-version-tests.yml @@ -18,6 +18,8 @@ jobs: exclude: - pytorch-version: 1.3.1 python-version: 3.8 + - pytorch-version: 1.3.1 + python-version: 3.9 - pytorch-version: 1.4.0 python-version: 3.9 - pytorch-version: 1.5.1 From ff001e6f68a9e5bc1853925813a93b874e7e6d85 Mon Sep 17 00:00:00 2001 From: bibhabasumohapatra Date: Mon, 20 Dec 2021 23:13:26 +0530 Subject: [PATCH 6/6] black no support py39 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 78b71deeca2..0a6e2c8cab7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37', 'py38', 'py39'] +target-version = ['py37', 'py38'] include = '\.pyi?$' exclude = '''