From 9a64397ba2541056b340d5a410fb136076aed35d Mon Sep 17 00:00:00 2001 From: McKnight-42 Date: Fri, 21 Jun 2024 11:49:21 -0500 Subject: [PATCH 1/4] pin numpy to below 2.0 --- dev-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index f86fb5ef4..f05a4a904 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -9,6 +9,7 @@ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter ipdb~=0.13.13 pre-commit==3.7.0;python_version >="3.9" pre-commit==3.5.0;python_version <"3.9" +numpy<2.0 # test freezegun~=1.3 From ce69c5306699d89861526c80e31d6e9d00ce61d2 Mon Sep 17 00:00:00 2001 From: McKnight-42 Date: Fri, 21 Jun 2024 11:52:16 -0500 Subject: [PATCH 2/4] reformat pin --- dev-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index f05a4a904..b8a816e31 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -9,7 +9,7 @@ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter ipdb~=0.13.13 pre-commit==3.7.0;python_version >="3.9" pre-commit==3.5.0;python_version <"3.9" -numpy<2.0 +numpy>=1.0,<2.0 # test freezegun~=1.3 From 715918433fa5d94db5cfabccae24c66967abdeb0 Mon Sep 17 00:00:00 2001 From: McKnight-42 Date: Fri, 21 Jun 2024 12:04:51 -0500 Subject: [PATCH 3/4] move pin to setup.py --- dev-requirements.txt | 1 - setup.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index b8a816e31..f86fb5ef4 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -9,7 +9,6 @@ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter ipdb~=0.13.13 pre-commit==3.7.0;python_version >="3.9" pre-commit==3.5.0;python_version <"3.9" -numpy>=1.0,<2.0 # test freezegun~=1.3 diff --git a/setup.py b/setup.py index fd985eba4..135d30917 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,7 @@ def _get_plugin_version_dict(): "dbt-adapters>=1.1.1,<2.0", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0", + "numpy>=1.0,<2.0", ], extras_require={ "ODBC": odbc_extras, From a7fb3868ada27aacaf4a872e46e264a4ada4cf39 Mon Sep 17 00:00:00 2001 From: McKnight-42 Date: Fri, 21 Jun 2024 12:24:38 -0500 Subject: [PATCH 4/4] changelog --- .changes/unreleased/Dependencies-20240621-122430.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Dependencies-20240621-122430.yaml diff --git a/.changes/unreleased/Dependencies-20240621-122430.yaml b/.changes/unreleased/Dependencies-20240621-122430.yaml new file mode 100644 index 000000000..3408be22f --- /dev/null +++ b/.changes/unreleased/Dependencies-20240621-122430.yaml @@ -0,0 +1,6 @@ +kind: Dependencies +body: Pin numpy to be lower than 2.0 +time: 2024-06-21T12:24:30.482026-05:00 +custom: + Author: McKnight-42 + PR: "1053"