[ 
https://issues.apache.org/jira/browse/IGNITE-14740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400190#comment-17400190
 ] 

Ivan Daschinsky commented on IGNITE-14740:
------------------------------------------

So correct script is 
{code}
#!/usr/bin/env bash
set -o errexit; set -o pipefail; set -o errtrace; set -o functrace
set -x

PYENV_ROOT="/opt/pyenv"
PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"

pyenv install 3.9.6 -s
pyenv shell 3.9.6

tox -e codestyle,py39 || exit 1
{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)

Reply via email to