diff --git a/pkgs/development/python-modules/pyrsistent/default.nix b/pkgs/development/python-modules/pyrsistent/default.nix index 9bb60ff18c5..a2b614ba3b8 100644 --- a/pkgs/development/python-modules/pyrsistent/default.nix +++ b/pkgs/development/python-modules/pyrsistent/default.nix @@ -20,9 +20,6 @@ buildPythonPackage rec { checkInputs = [ pytestrunner pytest hypothesis ]; - # pytestrunner is only needed to run tests - patches = [ ./no-setup-requires-pytestrunner.patch ]; - meta = with stdenv.lib; { homepage = https://github.com/tobgu/pyrsistent/; description = "Persistent/Functional/Immutable data structures"; diff --git a/pkgs/development/python-modules/pyrsistent/no-setup-requires-pytestrunner.patch b/pkgs/development/python-modules/pyrsistent/no-setup-requires-pytestrunner.patch deleted file mode 100644 index 74d85dc4293..00000000000 --- a/pkgs/development/python-modules/pyrsistent/no-setup-requires-pytestrunner.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/setup.py b/setup.py -index 90a39a5..7bf444f 100644 ---- a/setup.py -+++ b/setup.py -@@ -77,9 +77,8 @@ setup( - 'Programming Language :: Python :: Implementation :: PyPy', - ], - test_suite='tests', -- tests_require=['pytest','hypothesis'], -+ tests_require=['pytest-runner', 'pytest','hypothesis'], - scripts=[], -- setup_requires=['pytest-runner'], - ext_modules=extensions, - cmdclass={'build_ext': custom_build_ext}, - install_requires=['six'],