anchor.diff:  , pythonOlder
   
   # Build dependencies
  -, glibcLocales
  +, setuptools
   
   # Runtime dependencies
   , appnope
  
positive.code: 
  buildPythonPackage rec {
    pname = "ipython";
    version = "8.2.0";
    format = "pyproject";
    disabled = pythonOlder "3.8";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "sha256-cOXrEyysWUo0tfeZvSUliQCZBfBRBHKK6mpAPsJRncE=";
    };
  
    buildInputs = [
      glibcLocales
    ];
  
    propagatedBuildInputs = [
  
negative.code:     testpath
    ];
  
    disabledTests = [
      # UnboundLocalError: local variable 'child' referenced before assignment
      "test_system_interrupt"
    ] ++ lib.optionals (stdenv.isDarwin) [
      # FileNotFoundError: [Errno 2] No such file or directory: 'pbpaste'
      "test_clipboard_get"
    ];
  