From c01614b5d640fa42d8278b74d9983ca60c69aeb1 Mon Sep 17 00:00:00 2001 From: y0z Date: Mon, 24 Jun 2024 14:35:17 +0900 Subject: [PATCH 1/7] Add constraint to numpy --- allennlp/requirements.txt | 1 + keras/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/allennlp/requirements.txt b/allennlp/requirements.txt index 74e6053e..355d1dd8 100644 --- a/allennlp/requirements.txt +++ b/allennlp/requirements.txt @@ -1,4 +1,5 @@ allennlp>=2.2.0 +numpy<2.0.0 # This constraint is necessary to use the old Pydantic. # See https://github.com/pydantic/pydantic/issues/5821. typing_extensions<4.6.0 diff --git a/keras/requirements.txt b/keras/requirements.txt index 69a01987..667aa04d 100644 --- a/keras/requirements.txt +++ b/keras/requirements.txt @@ -1,4 +1,5 @@ keras +numpy<2.0.0 optuna tensorflow-cpu tensorflow-datasets From b3a1211b0ea6890ae55d37f9e1622ee198fe80e5 Mon Sep 17 00:00:00 2001 From: y0z Date: Mon, 24 Jun 2024 14:39:04 +0900 Subject: [PATCH 2/7] Add comment --- allennlp/requirements.txt | 2 +- keras/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/allennlp/requirements.txt b/allennlp/requirements.txt index 355d1dd8..f7f9aca7 100644 --- a/allennlp/requirements.txt +++ b/allennlp/requirements.txt @@ -1,5 +1,5 @@ allennlp>=2.2.0 -numpy<2.0.0 +numpy<2.0.0 # TODO(nabe): Remove this constraint once this issue is resolved. https://github.com/numpy/numpy/issues/26710 # This constraint is necessary to use the old Pydantic. # See https://github.com/pydantic/pydantic/issues/5821. typing_extensions<4.6.0 diff --git a/keras/requirements.txt b/keras/requirements.txt index 667aa04d..a44479d9 100644 --- a/keras/requirements.txt +++ b/keras/requirements.txt @@ -1,5 +1,5 @@ keras -numpy<2.0.0 +numpy<2.0.0 # TODO(nabe): Remove this constraint once this issue is resolved. https://github.com/numpy/numpy/issues/26710 optuna tensorflow-cpu tensorflow-datasets From d1d6019a0a7017f2a845d2bf9e73f4e73caee61c Mon Sep 17 00:00:00 2001 From: y0z Date: Mon, 24 Jun 2024 15:00:15 +0900 Subject: [PATCH 3/7] Update botorch version --- multi_objective/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi_objective/requirements.txt b/multi_objective/requirements.txt index ff09ee98..34c9dc79 100644 --- a/multi_objective/requirements.txt +++ b/multi_objective/requirements.txt @@ -1,4 +1,4 @@ -botorch>=0.4.0 +botorch>=0.8.0 fvcore torch torchaudio From b664faf19203415a427a4a14cfbae8951524f708 Mon Sep 17 00:00:00 2001 From: y0z Date: Mon, 24 Jun 2024 15:14:06 +0900 Subject: [PATCH 4/7] Remove python 3.7 --- .github/workflows/multi_objective.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multi_objective.yml b/.github/workflows/multi_objective.yml index 10ecc7a1..8f6ce9a1 100644 --- a/.github/workflows/multi_objective.yml +++ b/.github/workflows/multi_objective.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 From 3b5ca9118c7638629e0e7828e0e59a8e84408a4a Mon Sep 17 00:00:00 2001 From: y0z Date: Tue, 25 Jun 2024 14:31:12 +0900 Subject: [PATCH 5/7] Add contraint to numpy --- chainer/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/chainer/requirements.txt b/chainer/requirements.txt index de55bd9b..382b9d62 100644 --- a/chainer/requirements.txt +++ b/chainer/requirements.txt @@ -1,3 +1,4 @@ chainer mpi4py +numpy==1.26.4 optuna From c7ae8a2e60b0c994e466382809877ec63d622570 Mon Sep 17 00:00:00 2001 From: y0z Date: Tue, 25 Jun 2024 14:31:33 +0900 Subject: [PATCH 6/7] Add contraint to numpy --- chainer/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainer/requirements.txt b/chainer/requirements.txt index 382b9d62..c4ca673d 100644 --- a/chainer/requirements.txt +++ b/chainer/requirements.txt @@ -1,4 +1,4 @@ chainer mpi4py -numpy==1.26.4 +numpy<2.0.0 # TODO(nabe): Remove this constraint once this issue is resolved. https://github.com/numpy/numpy/issues/26710 optuna From 8f792aeb9971f6076828d697007cb366170cc252 Mon Sep 17 00:00:00 2001 From: y0z Date: Tue, 25 Jun 2024 14:43:29 +0900 Subject: [PATCH 7/7] Remove Python 3.7, 3.8 for Chainer CI --- .github/workflows/chainer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chainer.yml b/.github/workflows/chainer.yml index 41f231f6..2e8f1b01 100644 --- a/.github/workflows/chainer.yml +++ b/.github/workflows/chainer.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v4