Skip to content

[SPARKNLP-1164] Updating python 3.7 to 3.8 for jobs spark34 and spark33 #14565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ jobs:
with:
distribution: 'temurin'
java-version: '8'
cache: 'sbt'
- name: Install Python 3.7
- name: Install Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7.7
python-version: 3.8
architecture: x64
- name: Install Python packages (Python 3.7)
- name: Install Python packages (Python 3.8)
run: |
python -m pip install --upgrade pip
pip install pyspark==3.4.0 numpy pytest
Expand All @@ -70,7 +69,7 @@ jobs:
- name: Test Spark NLP in Python - Apache Spark 3.4.x
run: |
cd python
python3.7 -m pytest -v -m fast
python3.8 -m pytest -v -m fast
spark35:
if: "! contains(toJSON(github.event.commits.*.message), '[skip test]')"
runs-on: macos-13
Expand All @@ -85,7 +84,6 @@ jobs:
with:
distribution: 'adopt'
java-version: '8'
cache: 'sbt'
- name: Install Python 3.10
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -121,13 +119,12 @@ jobs:
with:
distribution: 'adopt'
java-version: '8'
cache: 'sbt'
- name: Install Python 3.7
- name: Install Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7.7
python-version: 3.8
architecture: x64
- name: Install Python packages (Python 3.7)
- name: Install Python packages (Python 3.8)
run: |
python -m pip install --upgrade pip
pip install pyspark==3.3.1 numpy pytest
Expand All @@ -141,5 +138,5 @@ jobs:
- name: Test Spark NLP in Python - Apache Spark 3.3.x
run: |
cd python
python3.7 -m pytest -v -m fast
python3.8 -m pytest -v -m fast