anchor.diff:      sha256 = "sha256-0S7Dj6PMSbZkEAY6ZLUpKVfe/tFxsq60TTAFj0Qhtv0=";
     };
   
  -  # See https://github.com/NixOS/nixpkgs/issues/156957.
  -  postPatch = ''
  -    substituteInPlace setup.py \
  -      --replace "dill>=0.3.1.1,<0.3.2" "dill" \
  -      --replace "pyarrow>=0.15.1,<8.0.0" "pyarrow" \
  -      --replace "numpy>=1.14.3,<1.23.0" "numpy" \
  -      --replace "pymongo>=3.8.0,<4.0.0" "pymongo"
  -  '';
  +  pythonRelaxDeps = [
  +    # See https://github.com/NixOS/nixpkgs/issues/156957
  +    "dill"
  +    "numpy"
  +    "pyarrow"
  +    "pymongo"
  +
  +    # See https://github.com/NixOS/nixpkgs/issues/193613
  +    "protobuf"
  +  ];
   
     sourceRoot = "source/sdks/python";
   
  
positive.code: , pymongo
  , pytestCheckHook
  , python
  , pythonAtLeast
  , python-dateutil
  , pytz
  , pyyaml
  , requests
  , requests-mock
  , setuptools
  , sqlalchemy
  , tenacity
  , typing-extensions
  , testcontainers
  , scikit-learn }:
  
  buildPythonPackage rec {
    pname = "apache-beam";
  
negative.code:     cython
      grpcio-tools
      mypy-protobuf
      pythonRelaxDepsHook
    ];
  
    propagatedBuildInputs = [
  