python310Packages.xmlschema 0 -> 1 attrpath: python310Packages.xmlschema Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/1v3qc8763cnpcp1cicjrdqfw3vl3a4jv-packages.json.drv building '/nix/store/1v3qc8763cnpcp1cicjrdqfw3vl3a4jv-packages.json.drv'... Going to be running update for following packages: - python3.10-xmlschema-2.3.1 Press Enter key to continue... Running update for: - python3.10-xmlschema-2.3.1: UPDATING ... - python3.10-xmlschema-2.3.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/xmlschema/default.nix b/pkgs/development/python-modules/xmlschema/default.nix index 42af3b86d4bc..ba5a5762b547 100644 --- a/pkgs/development/python-modules/xmlschema/default.nix +++ b/pkgs/development/python-modules/xmlschema/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "xmlschema"; - version = "2.3.1"; + version = "2.4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "sissaschool"; repo = "xmlschema"; rev = "refs/tags/v${version}"; - hash = "sha256-0xXA3IguVAyFp5dFvuzAQhzJlGMmNthmPXcja9FYV44="; + hash = "sha256-oUCqKDauBxmWsFfxj4LcmPJMkz352iO8PZbrDUtFrP8="; }; propagatedBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.xmlschema nix build failed. errors = [error.reason for error in schema.iter_errors(xml_path)] > assert errors == expected_errors E assert ["Zawartość e...w1:Wniosek'."] == ["Zawartość e...RachunkuPL'."] E At index 0 diff: "Zawartość elementu 'tw1:TrescDokumentu' nie jest kompletna. Oczekiwany znacznik 'tw1:Wniosek'." != "Zawartość elementu 'com:Opisowy' nie jest kompletna. Oczekiwany znacznik 'com:Miejscowosc'." E Right contains 2 more items, first extra item: "atrybut rodzaj='8': wartość musi być jedną z [1, 2]" E Use -v to get more diff tests/test_translations.py:128: AssertionError =============================== warnings summary =============================== tests/test_documents.py::TestXmlDocuments::test_to_etree_api_on_schema__issue_325 /build/source/xmlschema/documents.py:449: XMLSchemaImportWarning: Import of namespace 'http://www.w3.org/XML/1998/namespace' from ['http://www.w3.org/2001/xml.xsd'] failed: cannot access to resource 'http://www.w3.org/2001/xml.xsd': [Errno -3] Temporary failure in name resolution. _schema = cls(schema) tests/test_translations.py::TestTranslations::test_pl_validation_translation /build/source/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/' from ['http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/StrukturyDanych_v7-0E.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/StrukturyDanych_v7-0E.xsd': [Errno -3] Temporary failure in name resolution. schema = XMLSchema( tests/test_translations.py::TestTranslations::test_pl_validation_translation /build/source/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/struktura/2009/11/16/' from ['http://crd.gov.pl/xml/schematy/struktura/2009/11/16/struktura.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/struktura/2009/11/16/struktura.xsd': [Errno -3] Temporary failure in name resolution. schema = XMLSchema( tests/test_translations.py::TestTranslations::test_pl_validation_translation /build/source/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/' from ['http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/schemat_commons.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/schemat_commons.xsd': [Errno -3] Temporary failure in name resolution. schema = XMLSchema( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_translations.py::TestTranslations::test_pl_validation_translation - assert ["Zawartość e...w1:Wniosek'."] == ["Zawartość e...RachunkuPL'."] =========== 1 failed, 1261 passed, 14 skipped, 4 warnings in 18.30s ============ /nix/store/vr6wwdxkmyy44sg0gwxi10b8fc5zhwz0-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context