python3Packages.python-datemath: disable failing test (#515951)

This commit is contained in:
Michael Daniels
2026-05-03 23:01:05 +00:00
committed by GitHub
@@ -9,7 +9,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "python-datemath";
version = "3.0.3";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "nickmaccarthy";
repo = "python-datemath";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-VwdY6Gmbmoy7EKZjUlWj56uSiE0OdegPiQv+rmigkq8=";
};
@@ -35,11 +35,16 @@ buildPythonPackage rec {
pythonImportsCheck = [ "datemath" ];
disabledTests = [
# Test relies on timezone data that may not be present in the test environment
"testTimezone"
];
meta = {
description = "Python module to emulate the date math used in SOLR and Elasticsearch";
homepage = "https://github.com/nickmaccarthy/python-datemath";
changelog = "https://github.com/nickmaccarthy/python-datemath/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [ asl20 ];
changelog = "https://github.com/nickmaccarthy/python-datemath/blob/v${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})