about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-02-10 14:23:27 -0800
committerJon <jonringer@users.noreply.github.com>2020-02-10 16:44:04 -0800
commit1a297c817fd5b9869a05cdaf1568455030c46db0 (patch)
treeac46446ccf24ee122e5edef26a70fc7c213b9510
parent157f392f57ddcb3a0c8b7062dc01469c6b43fdce (diff)
downloadnixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar.gz
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar.bz2
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar.lz
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar.xz
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.tar.zst
nixlib-1a297c817fd5b9869a05cdaf1568455030c46db0.zip
python3Packages.xmlschema: 1.0.18 -> 1.1.0
-rw-r--r--pkgs/development/python-modules/xmlschema/default.nix18
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/xmlschema/default.nix b/pkgs/development/python-modules/xmlschema/default.nix
index ade478bf82c5..d3db09bc022e 100644
--- a/pkgs/development/python-modules/xmlschema/default.nix
+++ b/pkgs/development/python-modules/xmlschema/default.nix
@@ -4,14 +4,14 @@
 }:
 
 buildPythonPackage rec {
-  version = "1.0.18";
+  version = "1.1.0";
   pname = "xmlschema";
 
   src = fetchFromGitHub {
     owner = "sissaschool";
     repo = "xmlschema";
     rev = "v${version}";
-    sha256 = "1pwq2sfh7klcxismsqzgw80cp3cdkq9wv8x9g3h1zx1p66xpas9p";
+    sha256 = "1h8321jb6q3dhlh3608y3f3sbbzfd3jg1psyirxkrm4w5xs3lbvy";
   };
 
   propagatedBuildInputs = [ elementpath ];
@@ -20,19 +20,17 @@ buildPythonPackage rec {
 
   postPatch = ''
     substituteInPlace setup.py \
-      --replace "elementpath~=1.3.0" "elementpath~=1.3"
+      --replace "elementpath~=1.4.0" "elementpath~=1.4"
   '';
 
   # Ignore broken fixtures, and tests for files which don't exist.
   # For darwin, we need to explicity say we can't reach network
   checkPhase = ''
-    substituteInPlace xmlschema/tests/__init__.py \
-      --replace "SKIP_REMOTE_TESTS = " "SKIP_REMOTE_TESTS = True #"
-    pytest . \
-      --ignore=xmlschema/tests/test_factory.py \
-      --ignore=xmlschema/tests/test_memory.py \
-      --ignore=xmlschema/tests/test_validators.py \
-      --ignore=xmlschema/tests/test_schemas.py \
+    pytest tests \
+      --ignore=tests/test_factory.py \
+      --ignore=tests/test_schemas.py \
+      --ignore=tests/test_memory.py \
+      --ignore=tests/test_validation.py \
       -k 'not element_tree_import_script'
   '';