Unverified Commit 59f965b8 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

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

parents 594573d5 9c19757f
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})