Skip to content
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

[ANSIENG-4238] | installing py 3.8 to avoid test failures #1864

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .semaphore/build_collection.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -ex

cd $PATH_TO_CPA

pyenv local $PYTHON_VERSION 3.9 3.10 3.11 3.12 # This creates .python-version file which lists all these versions.
pyenv install 3.8 # installing 3.8 as it doesnt come preinstalled in semaphore node
pyenv local $PYTHON_VERSION 3.9 3.8 3.10 3.11 3.12 # This creates .python-version file which lists all these versions.
# 1st version in list will be 3.9 and also become the default version of python
pip install wheel
pip install pylint
Expand Down
3 changes: 2 additions & 1 deletion .semaphore/sanity_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ fi

sudo apt install -y shellcheck

pyenv local $PYTHON_VERSION 3.8 3.9 3.10 3.11 3.12 # This creates .python-version file which lists all these versions.
pyenv install 3.8
pyenv local $PYTHON_VERSION 3.9 3.8 3.9 3.10 3.11 3.12 # This creates .python-version file which lists all these versions.
# 1st version in list will be the one coming from $PYTHON_VERSION and also become the default version of python
pip install wheel
pip install pylint
Expand Down