From 4ff8995a18824cb8465cebe335f3b6b997213bab Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Wed, 3 Jun 2020 23:59:04 -0500 Subject: [PATCH] Drop Python 2 support --- .github/workflows/ci.yml | 4 ++-- .gitlab-ci.yml | 15 --------------- setup.py | 8 ++++---- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe74bf..5cfd99d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dfa95e..cad6284 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,3 @@ -Python 2.7: - script: - - py_version=2.7 - - EXTRA_INSTALL=numpy - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - - ". ./build-and-test-py-project.sh" - tags: - - python2.7 - - gfortran - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - Python 3: script: - py_version=3 diff --git a/setup.py b/setup.py index 706c6ed..28e8dd2 100644 --- a/setup.py +++ b/setup.py @@ -25,10 +25,10 @@ def main(): 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Scientific/Engineering :: Information Analysis', -- GitLab