gnu: python-unittest2: Update to 1.1.0. * gnu/packages/python.scm (python-unittest2): Update to 1.1.0. [source]: Use PYPI-URI. Add two patches. [arguments]: Add phase to run tests. [propagated-inputs]: Add PYTHON-SIX and PYTHON-TRACEBACK2. (python2-unittest2): Use 'package-with-python2'. * gnu/packages/patches/python2-unittest2-remove-argparse.patch: Rename to ... * gnu/packages/patches/python2-unittest2-remove-argparse.patch: ... this. * gnu/packages/patches/python-unittest2-python3-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
gnu: python-jinja2: Remove workaround for < Python 3.6. * gnu/packages/python.scm (python-jinja2)[arguments]: Remove field.
gnu: Remove python-mock@1. * gnu/packages/python.scm (python-mock): Update to 2.0.0. [native-inputs]: Add PYTHON-UNITTEST2. [propagated-inputs]: Add PYTHON-PBR and PYTHON-SIX. [arguments]: Override 'check' phase. [properties]: Declare python2 variant. (python2-mock)[propagated-inputs]: Add PYTHON2-FUNCTOOLS32 and PYTHON2-FUNCSIGS. (python-mock-2): Remove variable. * gnu/packages/python.scm (python-flake8)[native-inputs]: Adjust accordingly. * gnu/packages/tls.scm (python-acme, certbot)[native-inputs]: Likewise.
gnu: Add python2-funcsigs. * gnu/packages/python.scm (python2-funcsigs): New variable.
gnu: python-flake8: Update to 3.4.1. * gnu/packages/python.scm (python-flake8): Update to 3.4.1. [source]: Remove obsolete snippet. [arguments]: Override 'check' phase. [propagated-inputs]: Remove PYTHON-PEP8. Add PYTHON-PYCODESTYLE and PYTHON-SETUPTOOLS. [native-inputs]: Change PYTHON-MOCK to PYTHON-MOCK-2. Remove PYTHON-NOSE. Add PYTHON-PYTEST-BOOTSTRAP and PYTHON-PYTEST-RUNNER. [properties]: Declare python2 variant. * gnu/packages/python.scm (python-flake8)[propagated-inputs]: Add PYTHON2-ENUM and PYTHON2-CONFIGPARSER.
gnu: Add python2-enum. * gnu/packages/python.scm (python2-enum): New variable.
gnu: Fix pytest dependency cycle. * gnu/packages/python.scm (python-traceback2, python-linecache2)[native-inputs]: Use PYTHON-PBR-MINIMAL instead of PYTHON-PBR.
gnu: python-mock@2: Add dependency on python-six. * gnu/packages/python.scm (python-mock-2)[propagated-inputs]: Add PYTHON-SIX.
gnu: python-mccabe: Update to 0.6.1. * gnu/packages/python.scm (python-mccabe): Update to 0.6.1.
gnu: python-pyflakes: Update to 1.5.0. * gnu/packages/python.scm (python-pyflakes): Update to 1.5.0.
gnu: python-pytest: Update to 3.2.3. * gnu/packages/python.scm (python-pytest): Update to 3.2.3. [native-inputs]: Add PYTHON-SETUPTOOLS-SCM. (python-pytest)[native-inputs]: Likewise. (python2-pytest)[native-inputs]: Remove PYTHON2-ENUM34.
gnu: python-setuptools-scm: Update to 1.15.6. * gnu/packages/python.scm (python-setuptools-scm): Update to 1.15.6.
gnu: python-pytest: Add a minimal variant for bootstrapping. * gnu/packages/python.scm (python-pytest-bootstrap, python2-pytest-bootstrap): New variables. (python-six, python-hypothesis, python-pytest-runner, python-mccabe)[native-inputs]: Use PYTHON-PYTEST-BOOTSTRAP instead of PYTHON-PYTEST.
gnu: Remove python-pytest@2. * gnu/packages/python.scm (python-pytest): Update to 3.0.7. [source]: Move substitution to ... [arguments]: ... here. Incorporate phase from pytest-3.0. [native-inputs]: Add PYTHON-HYPOTHESIS. (python-pytest-3.0): Remove variable. (python2-pytest-3.0): Rename to ... (python2-pytest): ... this. [native-inputs]: Add PYTHON2-ENUM34. * gnu/packages/backup.scm (borg)[native-inputs]: Replace PYTHON-PYTEST-3.0 with PYTHON-PYTEST. * gnu/packages/calendar.scm (khal): Likewise. * gnu/packages/databases.scm (python-orator): Likewise. * gnu/packages/python.scm (python-sphinx-1.6, python-sphinx-1.5.3, python-pexpect, python-cryptography, python-pyopenssl, python-pytest-warnings, python-pytest-capturelog, python-pytest-catchlog, python-marshmallow, python-apispec, python-flasgger, python-pyjwt, python-grako, python-honcho): Likewise. * gnu/packages/web.scm (python-internetarchive): Likewise.
gnu: python-six: Update to 1.11.0. * gnu/packages/python.scm (python-six): Update to 1.11.0.
gnu: python-six: Really enable tests. * gnu/packages/python.scm (python-six)[arguments]: Override 'check' phase.
gnu: python-py: Update to 1.4.34. * gnu/packages/python.scm (python-py, python2-py): Update to 1.4.34.
gnu: python@3: Update to 3.6.3. * gnu/packages/patches/python-3.5-fix-tests.patch: Rename to ... * gnu/packages/patches/python-3-fix-tests.patch: ... this. Adjust and disable more tests. * gnu/packages/patches/python-3.5-getentropy-on-old-kernels.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python.scm (python-2.7)[argument]: Patch '/bin/sh' in one more file. (python-3.5): Rename to ... (python-3.6): ... this. Update to 3.6.3. [source](patches): Remove obsolete patch, adjust to patch rename. (python-3): Use PYTHON-3.6.
gnu: python@2: Update to 2.7.14. * gnu/packages/python.scm (python-2.7): Update to 2.7.14. [source]: Add patch to skip two new tests. Delete upstreamed patch. * gnu/packages/patches/python-2.7-adjust-tests.patch: New file. * gnu/packages/patches/python-2.7-getentropy-on-old-kernels.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
gnu: Add python2-py2neo. * gnu/packages/python.scm (python2-py2neo): New variable.