You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Peter Ivanov (Jira)" <ji...@apache.org> on 2021/08/16 12:26:00 UTC
[jira] [Comment Edited] (IGNITE-14740) Add multiple python versions
on TC agents for testing pyignite
[ https://issues.apache.org/jira/browse/IGNITE-14740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399720#comment-17399720 ]
Peter Ivanov edited comment on IGNITE-14740 at 8/16/21, 12:25 PM:
------------------------------------------------------------------
Installation instructions:
# Install software (Ubuntu):
{code:bash}
apt update && \
apt install -y --no-install-recommends libbz2-dev libreadline-dev
{code}
# Add to {{/etc/bash.bashrc}}
{code:bash}
export PYENV_ROOT="/opt/pyenv"
export PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init --no-rehash)"
eval "$(pyenv virtualenv-init -)"
{code}
# Install {{pyenv:}}
{code:bash}
curl https://pyenv.run | bash
git clone https://github.com/momo-lab/pyenv-install-latest.git "$(pyenv root)"/plugins/pyenv-install-latest
{code}
# Install required version of python:
{code:bash}
pyenv install-latest 3.<x>
{code}
was (Author: vveider):
Installation instructions:
# Install software (Ubuntu):
{code:java}
apt update && \
apt install -y --no-install-recommends libbz2-dev libreadline-dev{code}
# {{Add to /etc/bash.bashrc}}
{code:java}
export PYENV_ROOT="/opt/pyenv"
export PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init --no-rehash)"
eval "$(pyenv virtualenv-init -)"{code}
# {{Install pyenv:}}
{code:java}
curl https://pyenv.run | bash
{code}
> Add multiple python versions on TC agents for testing pyignite
> --------------------------------------------------------------
>
> Key: IGNITE-14740
> URL: https://issues.apache.org/jira/browse/IGNITE-14740
> Project: Ignite
> Issue Type: New Feature
> Components: python, thin client
> Reporter: Ivan Daschinsky
> Assignee: Peter Ivanov
> Priority: Major
> Labels: python, teamcity
>
> In order to test {{pyignite}} against different python versions, I suggests followings
> 1. Install [pyenv|https://github.com/pyenv/pyenv]
> 2. Install through {{pyenv}} different python versions (3.6, 3.7, 3.8, 3.9)
> Before invoking {{tox}}, script should invoke {{pyenv init --path}} and {{pyenv shell}} with specific python version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)