From acdbde7709816f76046e195a829b69c41a8eebb2 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Wed, 29 Jan 2025 10:17:09 +0100 Subject: [PATCH] python312Packages.microsoft-kiota-serialization-json: 1.3.3 -> 1.9.1 --- .../default.nix | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix index d6ae7067e684..270ea442ab89 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - flit-core, + poetry-core, microsoft-kiota-abstractions, pendulum, pytest-asyncio, @@ -13,19 +13,21 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-json"; - version = "1.3.3"; + version = "1.9.1"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "microsoft"; - repo = "kiota-serialization-json-python"; - tag = "v${version}"; - hash = "sha256-J+wX2vF1LZHq88RDhda6NDeYioZzAz2BxovVFz2xxfw="; + repo = "kiota-python"; + tag = "microsoft-kiota-serialization-json-v${version}"; + hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw="; }; - build-system = [ flit-core ]; + sourceRoot = "source/packages/serialization/json/"; + + build-system = [ poetry-core ]; dependencies = [ microsoft-kiota-abstractions @@ -40,15 +42,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_serialization_json" ]; - disabledTests = [ - # Test compare an output format - "test_parse_union_type_complex_property1" - ]; - meta = with lib; { description = "JSON serialization implementation for Kiota clients in Python"; - homepage = "https://github.com/microsoft/kiota-serialization-json-python"; - changelog = "https://github.com/microsoft/kiota-serialization-json-python/blob/${version}/CHANGELOG.md"; + homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/json"; + changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-json-v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };