python314Packages.beancount: fix failing tests (#476614)

This commit is contained in:
Yohann Boniface
2026-01-03 16:56:32 +00:00
committed by GitHub
@@ -5,6 +5,7 @@
buildPythonPackage,
click,
fetchFromGitHub,
fetchpatch2,
flex,
gnupg,
meson,
@@ -26,6 +27,19 @@ buildPythonPackage rec {
hash = "sha256-XWTgaBvB4/SONL44afvprZwJUVrkoda5XLGNxad0kec=";
};
patches = [
(fetchpatch2 {
name = "accept-date-range-error-message-from-py3.14";
url = "https://salsa.debian.org/python-team/packages/beancount/-/raw/debian/sid/debian/patches/0003-Accept-date-range-error-message-from-py3.14.patch";
hash = "sha256-wqMTGSi4Gn5VADjV4MjZhFNWB3ThUhxvLYK7sentScQ=";
})
(fetchpatch2 {
name = "skip-ref-count-test-with-py3.14";
url = "https://salsa.debian.org/python-team/packages/beancount/-/raw/debian/sid/debian/patches/0004-Skip-refcount-test-with-py3.14.patch";
hash = "sha256-6P9xe15WBGaWpVYB2HfGfFHLMMmGkfnDwdjdktlSNxk=";
})
];
build-system = [
meson
meson-python