diff --git a/doc/source/python-jobs.rst b/doc/source/python-jobs.rst index 67f67837d..71b552619 100644 --- a/doc/source/python-jobs.rst +++ b/doc/source/python-jobs.rst @@ -18,7 +18,6 @@ Python Jobs .. zuul:autojob:: tox-bashate .. zuul:autojob:: tox-nodejs-npm .. zuul:autojob:: nox -.. zuul:autojob:: nox-py27 .. zuul:autojob:: nox-py36 .. zuul:autojob:: nox-py37 .. zuul:autojob:: nox-py38 diff --git a/playbooks/nox/pre27.yaml b/playbooks/nox/pre27.yaml deleted file mode 100644 index ef7a8f460..000000000 --- a/playbooks/nox/pre27.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- hosts: all - tasks: - - name: Downgrade virtualenv for python2.7 support - # Assume pip is installed in the same relative path as nox - # and use that to downgrade virtualenv to a version python2.7 supports. - command: "{{ nox_executable | dirname }}/pip install -U virtualenv<20.22.0" diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index 6fcf4f9d0..041fa8a1f 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -396,19 +396,6 @@ run: playbooks/nox/run.yaml pre-run: playbooks/nox/pre.yaml -- job: - name: nox-py27 - parent: nox - description: | - Run unit tests for a Python project under cPython version 2.7. - - Uses nox with the ``test`` keyword forcing python 2.7. - pre-run: playbooks/nox/pre27.yaml - vars: - nox_keyword: tests - nox_force_python: "2.7" - python_version: "2.7" - - job: name: nox-py36 parent: nox