Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit 25fc69e

Browse files
authored
deps: support ibis 3.0 (#124)
* deps: support ibis 3.0 * test: remove label after checkout so it works in case of failure deps: support google-cloud-bigquery 3.0
1 parent ec15188 commit 25fc69e

File tree

4 files changed

+46
-28
lines changed

4 files changed

+46
-28
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
steps:
1616

1717
- name: checkout
18-
uses: actions/checkout@v1
18+
uses: actions/checkout@v3
1919

2020
- name: setup python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v3
2222
with:
23-
python-version: "3.7"
23+
python-version: "3.10"
2424

2525
- name: install dependencies
2626
run: |
@@ -53,27 +53,33 @@ jobs:
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
python_version: ["3.7", "3.8", "3.9", "3.10"]
57-
ibis_version: ["2.0.0"]
5856
include:
57+
- python_version: "3.7"
58+
"ibis_version": "2.0.0"
59+
- python_version: "3.8"
60+
"ibis_version": "2.1.1"
61+
- python_version: "3.9"
62+
"ibis_version": "3.0.0"
63+
- python_version: "3.10"
64+
"ibis_version": "3.0.0"
5965
- python_version: "3.10"
6066
"ibis_version": "github"
6167

6268
steps:
6369

6470
- name: checkout
65-
uses: actions/checkout@v2
71+
uses: actions/checkout@v3
6672
with:
6773
path: ibis_bigquery
6874

6975
- name: checkout ibis
70-
uses: actions/checkout@v2
76+
uses: actions/checkout@v3
7177
with:
7278
repository: ibis-project/ibis
7379
path: ibis
7480

7581
- name: set up python ${{ matrix.python-version }}
76-
uses: actions/setup-python@v2
82+
uses: actions/setup-python@v3
7783
with:
7884
python-version: ${{ matrix.python-version }}
7985

.github/workflows/system-tests-pr.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,38 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python_version: ["3.7", "3.8", "3.9", "3.10"]
21-
ibis_version: ["2.0.0"]
2220
include:
21+
- python_version: "3.7"
22+
"ibis_version": "2.0.0"
23+
- python_version: "3.8"
24+
"ibis_version": "2.1.1"
25+
- python_version: "3.9"
26+
"ibis_version": "3.0.0"
27+
- python_version: "3.10"
28+
"ibis_version": "3.0.0"
2329
- python_version: "3.10"
2430
"ibis_version": "github"
2531

2632
steps:
2733
- name: checkout
28-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
2935
with:
3036
ref: ${{ github.event.pull_request.head.sha }}
3137
path: ibis_bigquery
3238

39+
# Remove the label so that it can be added again to re-trigger a build
40+
- name: reset label
41+
uses: actions-ecosystem/action-remove-labels@v1
42+
with:
43+
labels: run-ci
44+
3345
- name: set up python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v2
46+
uses: actions/setup-python@v3
3547
with:
3648
python-version: ${{ matrix.python-version }}
3749

3850
- name: checkout ibis
39-
uses: actions/checkout@v2
51+
uses: actions/checkout@v3
4052
with:
4153
repository: ibis-project/ibis
4254
path: ibis
@@ -56,10 +68,3 @@ jobs:
5668
run: GOOGLE_APPLICATION_CREDENTIALS="$HOME/secrets/gcloud-service-key.json" python -m pytest ./ibis_bigquery/tests/system --save-dataset
5769
env:
5870
GOOGLE_BIGQUERY_PROJECT_ID: ibis-gbq
59-
60-
61-
# Remove the label so that it can be added again to re-trigger a build
62-
- name: reset label
63-
uses: actions-ecosystem/action-remove-labels@v1
64-
with:
65-
labels: run-ci

.github/workflows/system-tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,31 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python_version: ["3.7", "3.8", "3.9", "3.10"]
19-
ibis_version: ["2.0.0"]
2018
include:
19+
- python_version: "3.7"
20+
"ibis_version": "2.0.0"
21+
- python_version: "3.8"
22+
"ibis_version": "2.1.1"
23+
- python_version: "3.9"
24+
"ibis_version": "3.0.0"
25+
- python_version: "3.10"
26+
"ibis_version": "3.0.0"
2127
- python_version: "3.10"
2228
"ibis_version": "github"
2329

2430
steps:
2531
- name: checkout
26-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
2733
with:
2834
path: ibis_bigquery
2935

3036
- name: set up python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v2
37+
uses: actions/setup-python@v3
3238
with:
3339
python-version: ${{ matrix.python-version }}
3440

3541
- name: checkout ibis
36-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
3743
with:
3844
repository: ibis-project/ibis
3945
path: ibis

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@
4444
packages=setuptools.find_packages(),
4545
python_requires=">=3.7",
4646
install_requires=[
47-
"ibis-framework >=2.0.0,<3.0.0dev",
48-
"google-cloud-bigquery >=1.12.0,<3.0.0dev",
47+
"ibis-framework >=2.0.0,<4.0.0dev",
48+
"db-dtypes>=0.3.0,<2.0.0dev",
49+
"google-cloud-bigquery >=1.12.0,<4.0.0dev",
4950
"google-cloud-bigquery-storage >=1.0.0,<3.0.0dev",
50-
"pyarrow >=1.0.0,<7.0.0dev",
51+
"pyarrow >=1.0.0,<8.0.0dev",
5152
"pydata-google-auth",
5253
],
5354
classifiers=[

0 commit comments

Comments
 (0)