anchor.diff: -{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35, fetchpatch
  +{ stdenv
  +, lib
  +, fetchPypi
  +, buildPythonPackage
  +, isPy3k
  +, pythonOlder
  +, greenlet
  +, importlib-metadata
   , mock
   , pysqlite ? null
   , pytestCheckHook
  
positive.code:   dontUseSetuptoolsCheck = true;
  
    # disable mem-usage tests on mac, has trouble serializing pickle files
    disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "]
      ++ lib.optionals stdenv.isDarwin [ "MemUsageWBackendTest" "MemUsageTest" ];
  
    meta = with lib; {
      homepage = "http://www.sqlalchemy.org/";
  
negative.code:     mock
    ] ++ lib.optional (!isPy3k) pysqlite;
  
    pytestFlagsArray = [
      "-n auto"
    ];
  
    postInstall = ''
      sed -e 's:--max-worker-restart=5::g' -i setup.cfg
  