python313Packages.baize: fix build (#390036)

This commit is contained in:
Nick Cao
2025-03-15 21:59:54 -04:00
committed by GitHub
@@ -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