Commit 35a51e79 authored by Stephan Kuschel's avatar Stephan Kuschel
Browse files

Python2 end of life

parent 9e16615f
name: Python package
name: run-tests
on: [push]
......@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
......@@ -20,7 +20,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r pip-requirements.txt
pip install --user -e .
- name: run tests
run: |
./run-tests.py
......@@ -16,7 +16,8 @@ env:
jobs:
fast_finish: true
# allow_failures:
allow_failures:
- python: 2.7 # end of life since Jan 1st, 2020.
# have this allowed as there is a bug in matplotlib 2.1.0
# - env: MATPLOTLIB_V=* NUMPY_V=* SCIPY_V=* CYTHON_V=*
include:
......@@ -74,7 +75,6 @@ before_install:
install:
- pip install -r pip-requirements.txt
- python setup.py install
before_script:
- uname -a
......
......@@ -63,7 +63,8 @@ def run_alltests(python='python', fast=False, skip_setup=False):
cmdrpl = dict(python=python)
# make sure .pyx sources are up to date and compiled
if not skip_setup:
runcmd('{python} setup.py develop --user'.format(**cmdrpl))
# should be the same as `./setup.py develop --user`
runcmd('{python} -m pip install --user -e .'.format(**cmdrpl))
# find pep8 or pycodestyle (its successor)
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment