diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9374b60..b37c29ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: needs: upload strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] os: [ ubuntu-latest, windows-latest ] steps: - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/run_tests_develop.yml b/.github/workflows/run_tests_develop.yml index 82c0a9b0..287eedfa 100644 --- a/.github/workflows/run_tests_develop.yml +++ b/.github/workflows/run_tests_develop.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -30,11 +30,7 @@ jobs: python -m pip install --upgrade pip python -m pip install pytest igraph pytest-split numba if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if ${{ matrix.python-version == '3.7' }}; - then pip install pandapower==2.11.1; - else python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower - fi pip install . - name: List all installed packages run: | @@ -90,7 +86,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -102,11 +98,7 @@ jobs: python -m pip install --upgrade pip python -m pip install pytest nbmake pytest-xdist pytest-split igraph numba if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if ${{ matrix.python-version == '3.7' }}; - then pip install pandapower==2.11.1; - else python -m pip install git+https://github.com/e2nIEE/pandapower@develop#egg=pandapower - fi pip install . - name: List all installed packages run: | diff --git a/.github/workflows/run_tests_master.yml b/.github/workflows/run_tests_master.yml index 2bc6099d..7d3240e3 100644 --- a/.github/workflows/run_tests_master.yml +++ b/.github/workflows/run_tests_master.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 @@ -30,11 +30,7 @@ jobs: python -m pip install --upgrade pip python -m pip install pytest igraph pytest-split numba if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if ${{ matrix.python-version == '3.7' }}; - then pip install pandapower==2.11.1; - else python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower; - fi pip install . - name: List all installed packages run: | @@ -58,7 +54,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -70,11 +66,7 @@ jobs: python -m pip install --upgrade pip python -m pip install pytest nbmake pytest-xdist pytest-split igraph numba if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if ${{ matrix.python-version == '3.7' }}; - then pip install pandapower==2.11.1; - else python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower - fi pip install . - name: List all installed packages run: | diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8c77346b..8b911be3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,7 @@ Change Log - [FIXED] np.bool error in pipeflow calculation due to deprecation of np.bool - [FIXED] use igraph package instead of python-igraph (has been renamed) - [ADDED] gas specific calculation of heat capacity ration kappa = cp/cv (for pumps/compressors) +- [REMOVED] Python 3.7 removed from test pipeline due to inconsistencies with pandapower [0.8.4] - 2023-02-02 ------------------------------- diff --git a/setup.py b/setup.py index b1d110bc..4c22eda5 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ with open('.github/workflows/run_tests_master.yml', 'rb') as f: lines = f.read().decode('utf-8') - versions = set(re.findall('3.[7-9]', lines)) | set(re.findall('3.1[0-9]', lines)) + versions = set(re.findall('3.[8-9]', lines)) | set(re.findall('3.1[0-9]', lines)) for version in versions: classifiers.append('Programming Language :: Python :: %s' % version)