Unverified Commit e858476a authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python313Packages.baize: fix build (#390036)

parents 1a4711b6 5bc0d4dc
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  pytestCheckHook,
  setuptools,
  starlette,
  fetchpatch,
}:

buildPythonPackage rec {
@@ -22,6 +23,16 @@ buildPythonPackage rec {
    hash = "sha256-vsYt1q8QEDmEXjd8dlzHr85Fz3YAjPowS+oBWYGbG1o=";
  };

  patches = [
    # Fix tests failing with httpx>=0.28
    # https://github.com/abersheeran/baize/pull/74
    # FIXME: Remove in next release
    (fetchpatch {
      url = "https://github.com/abersheeran/baize/commit/40dc83bc03b4e5acd5155917be3a481e6494530e.patch";
      hash = "sha256-z4jb4iwo51WIPAAECiM4kPThpHcrzy3349gm/orgoq8=";
    })
  ];

  build-system = [
    pdm-pep517
    setuptools