diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b4cd23f7aaf0ca551ccca40a62655464e6c86335..c3cb800680f6070d89ec1d68d79ea267b9319000 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,25 +18,12 @@ jobs:
         -
             uses: actions/setup-python@v1
             with:
-                python-version: '3.x' 
+                python-version: '3.x'
         -   name: "Main Script"
             run: |
                 curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh
                 . ./prepare-and-run-flake8.sh "$(basename $GITHUB_REPOSITORY)" examples test
 
-    pytest2:
-        name: Pytest on Py2
-        runs-on: ubuntu-latest
-        steps:
-        -   uses: actions/checkout@v2
-        -   name: "Main Script"
-            run: |
-                sed 's/python=3/python=2.7/' .test-conda-env-py3.yml > .test-conda-env-py2.yml
-                grep -v mpi4py .test-conda-env-py2.yml > .test-conda-env.yml
-                CONDA_ENVIRONMENT=.test-conda-env.yml
-                curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
-                . ./build-and-test-py-project-within-miniconda.sh
-
     pytest3:
         name: Pytest on Py3
         runs-on: ubuntu-latest
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75d22eac0b290d112cf0a27071e71f7bc8353afa..7017334523806ff5e0b4337669dbf0d37113193e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,22 +1,3 @@
-Python 2.7 POCL:
-  script:
-  - export PY_EXE=python2.7
-  - export PYOPENCL_TEST=portable:pthread
-  - export EXTRA_INSTALL="pybind11 numpy mako"
-  - 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
-  - pocl
-  - mpi
-  # https://github.com/pocl/pocl/issues/757
-  allow_failure: true
-  except:
-  - tags
-  artifacts:
-    reports:
-      junit: test/pytest.xml
-
 Python 3 POCL:
   script:
   - export PY_EXE=python3
@@ -54,26 +35,6 @@ Python 3 Intel:
     reports:
       junit: test/pytest.xml
 
-Python 2.7 POCL MPI:
-  script:
-  - export PY_EXE=python2.7
-  - export PYOPENCL_TEST=portable:pthread
-  - export EXTRA_INSTALL="pybind11 numpy mako mpi4py pymetis"
-  - export PYTEST_ADDOPTS="-k mpi"
-  - 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
-  - pocl
-  - mpi
-  # https://github.com/pocl/pocl/issues/757
-  allow_failure: true
-  except:
-  - tags
-  artifacts:
-    reports:
-      junit: test/pytest.xml
-
 Python 3 POCL MPI:
   script:
   - export PY_EXE=python3
diff --git a/setup.py b/setup.py
index e975a5cbb9c9cf0f03f97099b2844d2eb51bbde3..4c2b718dc4cf873e06b2b9c47845c7de5dd50d08 100644
--- a/setup.py
+++ b/setup.py
@@ -31,9 +31,7 @@ def main():
               'Natural Language :: English',
               'Programming Language :: Python',
 
-              'Programming Language :: Python :: 2.6',
-              'Programming Language :: Python :: 2.7',
-              # 3.x has not yet been tested.
+              'Programming Language :: Python :: 3',
               'Topic :: Scientific/Engineering',
               'Topic :: Scientific/Engineering :: Information Analysis',
               'Topic :: Scientific/Engineering :: Mathematics',