lol

python313Packages.fastjsonschema: 2.19.1 -> 2.21.1

https://github.com/horejsek/python-fastjsonschema/compare/v2.19.1...v2.21.1

+11 -13
+11 -13
pkgs/development/python-modules/fastjsonschema/default.nix
··· 3 3 stdenv, 4 4 buildPythonPackage, 5 5 fetchFromGitHub, 6 - fetchpatch2, 7 6 pytestCheckHook, 8 7 pythonOlder, 8 + setuptools, 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 12 pname = "fastjsonschema"; 13 - version = "2.19.1"; 14 - format = "setuptools"; 13 + version = "2.21.1"; 14 + pyproject = true; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 ··· 20 20 repo = "python-fastjsonschema"; 21 21 rev = "v${version}"; 22 22 fetchSubmodules = true; 23 - hash = "sha256-UxcxVB4ldnGAYJKWEccivon1CwZD588mNiVJOJPNeN8="; 23 + hash = "sha256-H/jmvm5U4RB9KuD5EgCedbc499Fl8L2S9Y5SXy51JP0="; 24 24 }; 25 25 26 - patches = [ 27 - (fetchpatch2 { 28 - name = "fastjsonschema-pytest8-compat.patch"; 29 - url = "https://github.com/horejsek/python-fastjsonschema/commit/efc04daf4124a598182dfcfd497615cd1e633d18.patch"; 30 - hash = "sha256-G1/PIpdN+KFfRP9pUFf/ANXLq3mzrocEHyBNWQMVOZM="; 31 - }) 32 - ]; 26 + build-system = [ setuptools ]; 33 27 34 28 nativeCheckInputs = [ pytestCheckHook ]; 35 - 36 - dontUseSetuptoolsCheck = true; 37 29 38 30 disabledTests = 39 31 [ ··· 46 38 "test_compile_to_code_custom_format" # cannot import temporary module created during test 47 39 ]; 48 40 41 + pytestFlagsArray = [ 42 + # fastjsonschema.exceptions.JsonSchemaDefinitionException: Unknown format uuid/duration 43 + "--deselect=tests/json_schema/test_draft2019.py::test" 44 + ]; 45 + 49 46 pythonImportsCheck = [ "fastjsonschema" ]; 50 47 51 48 meta = with lib; { 52 49 description = "JSON schema validator for Python"; 50 + downloadPage = "https://github.com/horejsek/python-fastjsonschema"; 53 51 homepage = "https://horejsek.github.io/python-fastjsonschema/"; 54 52 license = licenses.bsd3; 55 53 maintainers = with maintainers; [ drewrisinger ];