Revert "python3Packages.holidays: 0.85 -> 0.89"

This reverts commit 13716aff67 because it
broke home-assistant.tests.components.holiday.
This commit is contained in:
Robert Schütz
2026-03-05 08:01:28 -08:00
parent e9471178ea
commit ff02e52070
@@ -8,7 +8,6 @@
numpy,
polib,
pytest-cov-stub,
pytest-xdist,
pytestCheckHook,
python-dateutil,
setuptools,
@@ -16,14 +15,14 @@
buildPythonPackage rec {
pname = "holidays";
version = "0.89";
version = "0.85";
pyproject = true;
src = fetchFromGitHub {
owner = "vacanza";
repo = "python-holidays";
tag = "v${version}";
hash = "sha256-g7f0364Xxz+jTjgA8y0nEPbzNalQdMLdwoBZ2odq1W0=";
hash = "sha256-ExleK66foB2Q/KK7zcPJ16q4ucz3gOkntB2SQETfHqk=";
};
build-system = [
@@ -37,10 +36,6 @@ buildPythonPackage rec {
postPatch = ''
patchShebangs scripts/l10n/*.py
# generating l10n files imports holidays before distinfo metadata exists
substituteInPlace holidays/version.py \
--replace-fail 'version("holidays")' '"${version}"'
'';
preBuild = ''
@@ -56,7 +51,6 @@ buildPythonPackage rec {
numpy
polib
pytest-cov-stub
pytest-xdist
pytestCheckHook
];