Skip to content

Commit 61df98a

Browse files
committed
FIX-#2561: Switch to Ray from conda-forge, abandon pip caching
Signed-off-by: Vasilij Litvinov <[email protected]>
1 parent 3e62906 commit 61df98a

File tree

3 files changed

+2
-89
lines changed

3 files changed

+2
-89
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -67,47 +67,13 @@ jobs:
6767
- run: pip install flake8 flake8-print
6868
- run: flake8 --enable=T modin
6969

70-
prepare-cache:
71-
runs-on: ${{ matrix.os }}
72-
strategy:
73-
matrix:
74-
os: ["ubuntu-latest", "windows-latest"]
75-
python-version: ["3.6", "3.7", "3.8"]
76-
steps:
77-
- uses: actions/checkout@v2
78-
with:
79-
fetch-depth: 1
80-
- name: Cache pip if Ubuntu
81-
if: startsWith(runner.os, 'Linux')
82-
uses: actions/cache@v1
83-
with:
84-
path: ~/.cache/pip
85-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
86-
- name: Cache pip if Windows
87-
if: startsWith(runner.os, 'Windows')
88-
uses: actions/cache@v1
89-
with:
90-
path: ~\AppData\Local\pip\Cache
91-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
92-
- uses: actions/setup-python@v2
93-
with:
94-
python-version: ${{matrix.python-version}}
95-
architecture: "x64"
96-
- run: pip install "ray>=1.0.0"
97-
9870
test-api:
99-
needs: prepare-cache
10071
runs-on: ubuntu-latest
10172
name: test api
10273
steps:
10374
- uses: actions/checkout@v2
10475
with:
10576
fetch-depth: 1
106-
- name: Cache pip
107-
uses: actions/cache@v1
108-
with:
109-
path: ~/.cache/pip
110-
key: ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
11177
- uses: conda-incubator/setup-miniconda@v2
11278
with:
11379
activate-environment: modin
@@ -130,18 +96,12 @@ jobs:
13096
run: python -m pytest modin/test/test_backends_api.py
13197

13298
test-headers:
133-
needs: prepare-cache
13499
runs-on: ubuntu-latest
135100
name: test-headers
136101
steps:
137102
- uses: actions/checkout@v2
138103
with:
139104
fetch-depth: 1
140-
- name: Cache pip
141-
uses: actions/cache@v1
142-
with:
143-
path: ~/.cache/pip
144-
key: ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
145105
- uses: conda-incubator/setup-miniconda@v2
146106
with:
147107
activate-environment: modin
@@ -166,11 +126,6 @@ jobs:
166126
- uses: actions/checkout@v2
167127
with:
168128
fetch-depth: 1
169-
- name: Cache pip
170-
uses: actions/cache@v1
171-
with:
172-
path: ~/.cache/pip
173-
key: ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
174129
- uses: conda-incubator/setup-miniconda@v2
175130
with:
176131
activate-environment: modin
@@ -209,11 +164,6 @@ jobs:
209164
- uses: actions/checkout@v2
210165
with:
211166
fetch-depth: 1
212-
- name: Cache pip
213-
uses: actions/cache@v1
214-
with:
215-
path: ~/.cache/pip
216-
key: ${{ runner.os }}-python-3.6-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
217167
- uses: conda-incubator/setup-miniconda@v2
218168
with:
219169
activate-environment: modin
@@ -276,11 +226,6 @@ jobs:
276226
- uses: actions/checkout@v2
277227
with:
278228
fetch-depth: 1
279-
- name: Cache pip
280-
uses: actions/cache@v1
281-
with:
282-
path: ~/.cache/pip
283-
key: ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
284229
- name: Setting up Modin environment
285230
uses: conda-incubator/setup-miniconda@v2
286231
with:
@@ -313,11 +258,6 @@ jobs:
313258
- uses: actions/checkout@v2
314259
with:
315260
fetch-depth: 1
316-
- name: Cache pip
317-
uses: actions/cache@v1
318-
with:
319-
path: ~/.cache/pip
320-
key: ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
321261
- uses: conda-incubator/setup-miniconda@v2
322262
with:
323263
activate-environment: modin
@@ -372,11 +312,6 @@ jobs:
372312
- uses: actions/checkout@v2
373313
with:
374314
fetch-depth: 1
375-
- name: Cache pip
376-
uses: actions/cache@v1
377-
with:
378-
path: ~/.cache/pip
379-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
380315
- uses: conda-incubator/setup-miniconda@v2
381316
with:
382317
activate-environment: modin
@@ -440,11 +375,6 @@ jobs:
440375
- uses: actions/checkout@v2
441376
with:
442377
fetch-depth: 1
443-
- name: Cache pip
444-
uses: actions/cache@v1
445-
with:
446-
path: ~/.cache/pip
447-
key: ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
448378
- uses: conda-incubator/setup-miniconda@v2
449379
with:
450380
activate-environment: modin
@@ -478,11 +408,6 @@ jobs:
478408
- uses: actions/checkout@v2
479409
with:
480410
fetch-depth: 1
481-
- name: Cache pip
482-
uses: actions/cache@v1
483-
with:
484-
path: ~/.cache/pip
485-
key: ${{ runner.os }}-python-3.7-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
486411
- uses: conda-incubator/setup-miniconda@v2
487412
with:
488413
activate-environment: modin
@@ -516,11 +441,6 @@ jobs:
516441
- uses: actions/checkout@v2
517442
with:
518443
fetch-depth: 1
519-
- name: Cache pip
520-
uses: actions/cache@v1
521-
with:
522-
path: ~\AppData\Local\pip\Cache
523-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
524444
- uses: conda-incubator/setup-miniconda@v2
525445
with:
526446
activate-environment: modin
@@ -601,11 +521,6 @@ jobs:
601521
- uses: actions/checkout@v2
602522
with:
603523
fetch-depth: 1
604-
- name: Cache pip
605-
uses: actions/cache@v1
606-
with:
607-
path: ~/.cache/pip
608-
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }}
609524
- uses: conda-incubator/setup-miniconda@v2
610525
with:
611526
activate-environment: modin

environment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ dependencies:
3333
- cloudpickle==1.4.1
3434
- boto3
3535
- asv
36-
- pip:
37-
- ray>=1.0.0
36+
- ray-core >=1.0.0

requirements/env_omnisci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ dependencies:
1414
- pygithub==1.53
1515
- omniscidbe4py
1616
- s3fs>=0.4.2
17-
- pip:
18-
- ray>=1.0.0
17+
- ray-core >=1.0.0

0 commit comments

Comments
 (0)