From 59c83b4ab304b07facde69c266c63f26bf61b8d7 Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Wed, 26 Jun 2024 20:17:07 +0100 Subject: [PATCH] Updating CI (#61) --- .github/workflows/tests.yml | 3 +-- ...ironment-3.7.yaml => environment-3.12.yaml} | 2 +- ci/environment-3.8.yaml | 18 ------------------ 3 files changed, 2 insertions(+), 21 deletions(-) rename ci/{environment-3.7.yaml => environment-3.12.yaml} (96%) delete mode 100644 ci/environment-3.8.yaml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d3cea2..ee604fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,6 @@ name: Tests on: push: workflow_dispatch: - jobs: test: runs-on: ${{ matrix.os }} @@ -14,7 +13,7 @@ jobs: fail-fast: false matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] exclude: # Python 3.11 build on macOS times out for some reason # xref https://github.com/coiled/dask-snowflake/pull/56 diff --git a/ci/environment-3.7.yaml b/ci/environment-3.12.yaml similarity index 96% rename from ci/environment-3.7.yaml rename to ci/environment-3.12.yaml index 5176e7e..93f0af2 100644 --- a/ci/environment-3.7.yaml +++ b/ci/environment-3.12.yaml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: # Required - - python=3.7 + - python=3.12 - dask - distributed # `pandas=2.2` dropped support for `sqlalchemy<2`, but `snowflake-sqlalchemy` diff --git a/ci/environment-3.8.yaml b/ci/environment-3.8.yaml deleted file mode 100644 index 845e546..0000000 --- a/ci/environment-3.8.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: test-environment -channels: - - conda-forge -dependencies: - # Required - - python=3.8 - - dask - - distributed - # `pandas=2.2` dropped support for `sqlalchemy<2`, but `snowflake-sqlalchemy` - # doesn't support `sqlalchemy>=2` yet. Temporarily pinning `pandas<2.2` for now. - # xref https://github.com/pandas-dev/pandas/issues/57049 - # xref https://github.com/snowflakedb/snowflake-sqlalchemy/issues/380 - - pandas<2.2 - - pyarrow - - snowflake-connector-python >=2.6.0 - - snowflake-sqlalchemy - # Testing - - pytest \ No newline at end of file