Skip to content

Commit

Permalink
chore: y tho
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 25, 2024
1 parent d58803e commit f111b09
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ jobs:
- name: install poetry
run: pip install 'poetry==1.8.3'

- name: remove databricks arrow and numpy upper bounds
if: matrix.backend.name != 'databricks'
run: |
poetry remove databricks-sql-connector
poetry update numpy pyarrow
- name: install additional deps
if: matrix.backend.key == 'snowpark'
run: poetry add snowflake-snowpark-python --python="==${{ steps.install_python.outputs.python-version }}"
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,11 @@ jobs:
- name: install poetry
run: pip install 'poetry==1.8.3'

- name: remove databricks arrow and numpy upper bounds
run: |
poetry remove databricks-sql-connector
poetry update numpy pyarrow
- name: install ibis
run: poetry install --without dev --without docs --extras "${{ join(matrix.backend.extras, ' ') }} examples"

Expand Down Expand Up @@ -499,8 +504,7 @@ jobs:

- name: check that no untracked files were produced
shell: bash
run: |
! git status --porcelain | tee /dev/stderr | grep .
run: git checkout poetry.lock pyproject.toml && ! git status --porcelain | tee /dev/stderr | grep .

- name: upload code coverage
if: success()
Expand Down Expand Up @@ -609,7 +613,7 @@ jobs:

- name: remove incompatible deps
# it requires a version of pandas that min versions are not compatible with
run: poetry remove lonboard deltalake
run: poetry remove lonboard deltalake databricks-sql-connector

- name: install minimum versions of required deps
run: poetry add --lock ${{ join(matrix.backend.deps.required, ' ') }} --python="==${{ steps.install_python.outputs.python-version }}"
Expand Down Expand Up @@ -715,7 +719,7 @@ jobs:

- name: remove lonboard
# it requires a version of pandas that pyspark is not compatible with
run: poetry remove lonboard
run: poetry remove lonboard databricks-sql-connector

- name: install exact versions of pyspark, pandas and numpy
run: poetry add --lock 'pyspark@${{ matrix.pyspark-version }}' ${{ join(matrix.deps, ' ') }}
Expand Down

0 comments on commit f111b09

Please sign in to comment.