Skip to content

Commit

Permalink
adding python 3.12 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Jun 26, 2024
1 parent ee4c715 commit 9a09d5c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
python-version: ["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
Expand Down
18 changes: 18 additions & 0 deletions ci/environment-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test-environment
channels:
- conda-forge
dependencies:
# Required
- python=3.12
- 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

0 comments on commit 9a09d5c

Please sign in to comment.