Treat jep as a special case.
This commit is contained in:
parent
a6332686b4
commit
1c2838596f
|
@ -1,4 +1,21 @@
|
||||||
---
|
---
|
||||||
|
- name: Polynote special requirements
|
||||||
|
block:
|
||||||
|
- name: Install the devel components required by the jep package on EL
|
||||||
|
yum: name=gcc state=present
|
||||||
|
when: ansible_distribution_file_variety == "RedHat"
|
||||||
|
|
||||||
|
- name: Install the devel components required by the jep package on Deb
|
||||||
|
apt: name=gcc state=present cache_valid_time=1800
|
||||||
|
when: ansible_distribution_file_variety == "Debian"
|
||||||
|
|
||||||
|
- name: Install the jep package
|
||||||
|
environment:
|
||||||
|
JAVA_HOME: '{{ jdk_java_home }}'
|
||||||
|
pip: executable=pip{{ py3_env_major_version }} name=jep version=3.9.0
|
||||||
|
|
||||||
|
tags: [ 'polynote', 'polynote_distribution' ]
|
||||||
|
|
||||||
- name: Polynote distribution
|
- name: Polynote distribution
|
||||||
block:
|
block:
|
||||||
- name: Create a user for the polynote service
|
- name: Create a user for the polynote service
|
||||||
|
|
|
@ -15,7 +15,6 @@ polynote_startup_env:
|
||||||
py3_env_install: True
|
py3_env_install: True
|
||||||
|
|
||||||
py3_env_pip_pkgs:
|
py3_env_pip_pkgs:
|
||||||
- jep
|
|
||||||
- jedi
|
- jedi
|
||||||
- virtualenv
|
- virtualenv
|
||||||
- ipython
|
- ipython
|
||||||
|
@ -24,6 +23,7 @@ py3_env_pip_pkgs:
|
||||||
- numpy
|
- numpy
|
||||||
- pandas
|
- pandas
|
||||||
|
|
||||||
|
# jep requires JAVA_HOME and gcc. Installed by a specific task.
|
||||||
py3_env_versioned_pip_pkgs:
|
py3_env_versioned_pip_pkgs:
|
||||||
- { pkg: 'jep', version: '3.9.0' }
|
|
||||||
- { pkg: 'pyspark', version: '2.4.0' }
|
- { pkg: 'pyspark', version: '2.4.0' }
|
||||||
|
# - { pkg: 'jep', version: '3.9.0' }
|
||||||
|
|
Loading…
Reference in New Issue