Skip to content

Commit

Permalink
Revert python version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbabu committed Oct 31, 2023
1 parent e4fa7c4 commit 3baa18b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/nestml-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
uses: actions/checkout@v3

# Setup Python version
- name: Setup Python 3.9
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.8

# Install dependencies
- name: Install apt dependencies
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
uses: actions/checkout@v3

# Setup Python version
- name: Setup Python 3.9
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.8

# Install dependencies
- name: Install apt dependencies
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
# Install NESTML
- name: Install NESTML
run: |
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.9/site-packages
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.8/site-packages
#echo PYTHONPATH=`pwd` >> $GITHUB_ENV
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
python setup.py install
Expand Down Expand Up @@ -131,10 +131,10 @@ jobs:
uses: actions/checkout@v3

# Setup Python version
- name: Setup Python 3.9
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.8

# Install dependencies
- name: Install apt dependencies
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
# Install NESTML (repeated)
- name: Install NESTML
run: |
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.9/site-packages
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.8/site-packages
#echo PYTHONPATH=`pwd` >> $GITHUB_ENV
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
python setup.py install
Expand Down Expand Up @@ -262,10 +262,10 @@ jobs:
uses: actions/checkout@v3

# Setup Python version
- name: Setup Python 3.9
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.8

# Install dependencies
- name: Install apt dependencies
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
# Install NESTML (repeated)
- name: Install NESTML
run: |
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.9/site-packages
export PYTHONPATH=${{ env.PYTHONPATH }}:${{ env.NEST_INSTALL }}/lib/python3.8/site-packages
#echo PYTHONPATH=`pwd` >> $GITHUB_ENV
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Installing NESTML
=================

Please note that only Python 3.9 (and later versions) are supported. The instructions below assume that ``python`` is aliased to or refers to ``python3``, and ``pip`` to ``pip3``.
Please note that only Python 3.8 (and later versions) are supported. The instructions below assume that ``python`` is aliased to or refers to ``python3``, and ``pip`` to ``pip3``.

Installing the latest release from PyPI
---------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys
from setuptools import setup, find_packages

assert sys.version_info.major >= 3 and sys.version_info.minor >= 9, "Python 3.9 or higher is required to run NESTML"
assert sys.version_info.major >= 3 and sys.version_info.minor >= 8, "Python 3.8 or higher is required to run NESTML"

with open("requirements.txt") as f:
requirements = f.read().splitlines()
Expand Down

0 comments on commit 3baa18b

Please sign in to comment.