summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/csvw
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/csvw
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/csvw')
-rw-r--r--pkgs/development/python-modules/csvw/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/csvw/default.nix b/pkgs/development/python-modules/csvw/default.nix
index e4bd7ab2b624..27f3f291113c 100644
--- a/pkgs/development/python-modules/csvw/default.nix
+++ b/pkgs/development/python-modules/csvw/default.nix
@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
-, isPy27
+, pythonOlder
, attrs
, isodate
, dateutil
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "csvw";
- version = "1.10.1";
- disabled = isPy27;
+ version = "1.11.0";
+ disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "cldf";
repo = "csvw";
rev = "v${version}";
- sha256 = "1764nfa4frjdd7v6wj35y7prnciaqz57wwygy5zfavl4laxn4nxd";
+ sha256 = "1393xwqawaxsflbq62vks92vv4zch8p6dd1mdvdi7j4vvf0zljkg";
};
patchPhase = ''
@@ -42,6 +42,12 @@ buildPythonPackage rec {
pytest-mock
];
+ disabledTests = [
+ # this test is flaky on darwin because it depends on the resolution of filesystem mtimes
+ # https://github.com/cldf/csvw/blob/45584ad63ff3002a9b3a8073607c1847c5cbac58/tests/test_db.py#L257
+ "test_write_file_exists"
+ ];
+
meta = with lib; {
description = "CSV on the Web";
homepage = "https://github.com/cldf/csvw";