From 625ac8890ce068a9438abc86295e5e2f8662eb10 Mon Sep 17 00:00:00 2001 From: Ofek Weiss Date: Thu, 13 Mar 2025 10:41:24 +0200 Subject: [PATCH 1/2] more strict limits around python version --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bc6a4ae27..083556f20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,8 @@ documentation = "https://docs.elementary-data.com" packages = [{include = "elementary"}] [tool.poetry.dependencies] -python = ">=3.8,<4" +# matches the versions supported by dbt as of v1.9, which are probably due to the limits of numpy 1.26.x +python = ">=3.9,<3.13" click = ">=7.0,<9.0" dbt-core = ">=0.20,<2.0.0" requests = ">=2.28.1,<3.0.0" From 6d9ea2dde3bd0b7881fd48d8ff85811c441ea944 Mon Sep 17 00:00:00 2001 From: Ofek Weiss Date: Thu, 13 Mar 2025 10:46:41 +0200 Subject: [PATCH 2/2] 3.9 --- .github/workflows/release.yml | 2 +- .github/workflows/run-precommit.yml | 2 +- .github/workflows/test-github-action.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e84e637e1..db224f3c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.9" - name: Install 'build' package run: pip install build diff --git a/.github/workflows/run-precommit.yml b/.github/workflows/run-precommit.yml index d7709e4d8..65031fdc1 100644 --- a/.github/workflows/run-precommit.yml +++ b/.github/workflows/run-precommit.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4.3.0 with: - python-version: "3.8" + python-version: "3.9" # mainly needed so mypy will have the dependencies it needs - name: Install elementary diff --git a/.github/workflows/test-github-action.yml b/.github/workflows/test-github-action.yml index 846a9b510..0140cf894 100644 --- a/.github/workflows/test-github-action.yml +++ b/.github/workflows/test-github-action.yml @@ -51,7 +51,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.9" - name: Install dbt run: pip install --pre