From 11c06ec1dce1f8245245809c8742d75c9b465260 Mon Sep 17 00:00:00 2001 From: Fangchen Li Date: Thu, 15 Oct 2020 13:31:51 -0500 Subject: [PATCH 1/4] BLD: update build requirement for py39 #37135 --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8161e8ad752da..17baee33a6ca8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,13 +6,14 @@ requires = [ "wheel", "Cython>=0.29.21,<3", # Note: sync with setup.py "numpy==1.16.5; python_version=='3.7' and platform_system!='AIX'", - "numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'", + "numpy==1.17.3; python_version=='3.8' and platform_system!='AIX'", "numpy==1.16.5; python_version=='3.7' and platform_system=='AIX'", - "numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'", + "numpy==1.17.3; python_version=='3.8' and platform_system=='AIX'", + "numpy; python_version>='3.9'", ] [tool.black] -target-version = ['py37', 'py38'] +target-version = ['py37', 'py38', 'py39'] exclude = ''' ( asv_bench/env From 56e0df8c92e5dfdcfe8511ea987fe3417fe5313f Mon Sep 17 00:00:00 2001 From: Fangchen Li Date: Thu, 15 Oct 2020 13:50:53 -0500 Subject: [PATCH 2/4] remove py39 from black target-version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 17baee33a6ca8..2b78147e9294d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ requires = [ ] [tool.black] -target-version = ['py37', 'py38', 'py39'] +target-version = ['py37', 'py38'] exclude = ''' ( asv_bench/env From 7ffb8dcd9d99eb0af016fcedd9069d4660e8ca86 Mon Sep 17 00:00:00 2001 From: Fangchen Li Date: Thu, 15 Oct 2020 21:13:38 -0500 Subject: [PATCH 3/4] set min numpy version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2b78147e9294d..848e3e9b4e932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires = [ "numpy==1.17.3; python_version=='3.8' and platform_system!='AIX'", "numpy==1.16.5; python_version=='3.7' and platform_system=='AIX'", "numpy==1.17.3; python_version=='3.8' and platform_system=='AIX'", - "numpy; python_version>='3.9'", + "numpy==1.19.2; python_version>='3.9'", ] [tool.black] From d13852c4990ae7e294a44292aea8f367d5075cef Mon Sep 17 00:00:00 2001 From: Fangchen Li Date: Fri, 16 Oct 2020 10:06:48 -0500 Subject: [PATCH 4/4] Update pyproject.toml Co-authored-by: Tom Augspurger --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 848e3e9b4e932..2b78147e9294d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires = [ "numpy==1.17.3; python_version=='3.8' and platform_system!='AIX'", "numpy==1.16.5; python_version=='3.7' and platform_system=='AIX'", "numpy==1.17.3; python_version=='3.8' and platform_system=='AIX'", - "numpy==1.19.2; python_version>='3.9'", + "numpy; python_version>='3.9'", ] [tool.black]