From dc324b109ef2bbf45244699df2448a9b8fe2e660 Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Thu, 4 Jun 2020 00:35:43 -0500 Subject: [PATCH] drop py2 --- .github/workflows/ci.yml | 12 ------------ .gitlab-ci.yml | 33 --------------------------------- pyopencl/version.py | 2 +- setup.py | 2 -- 4 files changed, 1 insertion(+), 48 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55999a7..51b22c4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,18 +24,6 @@ jobs: curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh . ./prepare-and-run-flake8.sh ./pyopencl ./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 - CONDA_ENVIRONMENT=.test-conda-env-py2.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 62b2df99..7796b71e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,22 +84,6 @@ Python 3 AMD GPU: reports: junit: test/pytest.xml -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 - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - Python 3 POCL: script: - export PY_EXE=python3 @@ -166,23 +150,6 @@ Python 3 POCL (+GL and special functions): reports: junit: test/pytest.xml -Python 2.7 Apple: - script: - - export PY_EXE=python2.7 - - export PYOPENCL_TEST=app:cpu - - export EXTRA_INSTALL="pybind11 numpy mako" - - export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig - - 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 - - apple - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - Python 3 Conda Apple: script: - CONDA_ENVIRONMENT=.test-conda-env-py3.yml diff --git a/pyopencl/version.py b/pyopencl/version.py index ea2c3fd8..0371d44e 100644 --- a/pyopencl/version.py +++ b/pyopencl/version.py @@ -1,3 +1,3 @@ -VERSION = (2020, 1) +VERSION = (2020, 2) VERSION_STATUS = "" VERSION_TEXT = ".".join(str(x) for x in VERSION) + VERSION_STATUS diff --git a/setup.py b/setup.py index 1b71cb57..495ebd20 100644 --- a/setup.py +++ b/setup.py @@ -209,8 +209,6 @@ def main(): 'Natural Language :: English', 'Programming Language :: C++', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', -- GitLab