anchor.diff:  , substituteAll
   , nix-update-script
     # To include additional plugins, pass them here as an overlay.
  -, packageOverrides ? self: super: {}
  +, packageOverrides ? self: super: { }
   }:
   let
     mkOverride = attrname: version: sha256:
  -  self: super: {
  -    ${attrname} = super.${attrname}.overridePythonAttrs (
  -      oldAttrs: {
  -        inherit version;
  -        src = oldAttrs.src.override {
  -          inherit version sha256;
  -        };
  -      }
  -    );
  -  };
  +    self: super: {
  +      ${attrname} = super.${attrname}.overridePythonAttrs (
  +        oldAttrs: {
  +          inherit version;
  +          src = oldAttrs.src.override {
  +            inherit version sha256;
  +          };
  +        }
  +      );
  +    };
   
     py = python3.override {
       self = py;
  -    packageOverrides = lib.foldr lib.composeExtensions (self: super: {}) (
  +    packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) (
         [
           # the following dependencies are non trivial to update since later versions introduce backwards incompatible
           # changes that might affect plugins, or due to other observed problems
  
positive.code:                 })
                ];
  
                postPatch = let
                  ignoreVersionConstraints = [
                    "cachelib"
                    "colorlog"
                    "emoji"
                    "immutabledict"
                    "PyYAML"
                    "sarge"
                    "sentry-sdk"
                    "watchdog"
                    "wrapt"
                    "zeroconf"
                  ];
                in
                  ''
                    sed -r -i \
                      ${lib.concatStringsSep "\n" (
                    map (
                      e:
                        ''-e 's@${e}[<>=]+.*@${e}",@g' \''
                    ) ignoreVersionConstraints
                  )}
                      setup.py
                  '';
  
                dontUseSetuptoolsCheck = true;
  
negative.code:               disabledTests = [
                  "test_apply_simulates_delivery_info"
                  "test_auto_enabling_integrations_catches_import_error"
                  "test_leaks"
                ];
                disabledTestPaths = [
                  # Don't test integrations
                  "tests/integrations"
                  # test crashes on aarch64
                  "tests/test_transport.py"
                ];
              });
            }
          )
  
          # Octoprint fails due to a newly added test in pytest-httpbin
          # see https://github.com/NixOS/nixpkgs/issues/159864
          (
            self: super: {
              pytest-httpbin = super.pytest-httpbin.overridePythonAttrs (oldAttrs: rec {
                disabledTests = [
                  "test_redirect_location_is_https_for_secure_server"
                ];
              });
            }
          )
  
          # All test fail on aarch64
          (
            self: super: {
              azure-core = super.azure-core.overridePythonAttrs (oldAttrs: rec {
                doCheck = stdenv.buildPlatform == "x86_64-linux";
              });
            }
          )
  
          # needs network
          (
            self: super: {
              falcon = super.falcon.overridePythonAttrs (oldAttrs: rec {
                #pytestFlagsArray = [ "-W ignore::DeprecationWarning" ];
                disabledTestPaths = oldAttrs.disabledTestPaths ++ [
                  "tests/asgi/test_asgi_servers.py"
                ];
              });
            }
          )
  
          # update broke some tests
          (
            self: super: {
              sanic = super.sanic.overridePythonAttrs (oldAttrs: rec {
                disabledTestPaths = oldAttrs.disabledTestPaths ++ [
                  "test_cli.py"
                  "test_cookies.py"
                  # requires network
                  "test_worker.py"
                ];
              });
            }
  