Skip to content

Commit

Permalink
Flexibility in the deps (#165)
Browse files Browse the repository at this point in the history
* update python deps

* add main to RayDP CI branches

* test multiple pyspark versions

* less changes
  • Loading branch information
mjschock committed Jul 20, 2021
1 parent 8d7aa58 commit ff48b7b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/raydp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ name: RayDP CI

on:
push:
branches: [ master ]
branches: [ main, master ]
pull_request:
branches: [ master ]
branches: [ main, master ]

jobs:
build-and-test:

strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
pyspark-version: [3.0.0, 3.1.2]
python-version: [3.6, 3.7, 3.8]

runs-on: ${{ matrix.os }}
Expand All @@ -51,7 +52,6 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y mpich
- name: Cache pip - Ubuntu
if: matrix.os == 'ubuntu-latest'
uses: actions/cache@v2
Expand Down Expand Up @@ -87,6 +87,7 @@ jobs:
env:
GITHUB_CI: 1
run: |
pip install pyspark==${{ matrix.pyspark-version }}
./build.sh
pip install dist/raydp-*.whl
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.2</version>
<version>3.3.3</version>
<executions>
<execution>
<id>scala-compile-first</id>
Expand Down
6 changes: 3 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def run(self):
install_requires = [
"numpy",
"typing",
"pandas == 1.1.4",
"pandas >= 1.1.4",
"psutil",
"pyarrow >= 0.10",
"ray == 1.4.0",
"pyspark >= 3.0.0, < 3.1.0",
"ray >= 1.4.0, < 1.5.0",
"pyspark >= 3.0.0",
"netifaces"
]

Expand Down

0 comments on commit ff48b7b

Please sign in to comment.