Skip to content

Commit 0d02ff3

Browse files
authored
python312Packages.microsoft-kiota-*: update to 1.9.1 (#377988)
2 parents 21aaf7e + 280645d commit 0d02ff3

File tree

7 files changed

+76
-67
lines changed

7 files changed

+76
-67
lines changed

pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
opentelemetry-api,
77
opentelemetry-sdk,
88
pytest-asyncio,
@@ -14,19 +14,21 @@
1414

1515
buildPythonPackage rec {
1616
pname = "microsoft-kiota-abstractions";
17-
version = "1.3.3";
17+
version = "1.9.1";
1818
pyproject = true;
1919

20-
disabled = pythonOlder "3.8";
20+
disabled = pythonOlder "3.9";
2121

2222
src = fetchFromGitHub {
2323
owner = "microsoft";
24-
repo = "kiota-abstractions-python";
25-
tag = "v${version}";
26-
hash = "sha256-TgHj5Ga6Aw/sN2Hobn0OocFB/iGRHTKEeOa2j2aqnRY=";
24+
repo = "kiota-python";
25+
tag = "microsoft-kiota-abstractions-v${version}";
26+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2727
};
2828

29-
build-system = [ flit-core ];
29+
sourceRoot = "source/packages/abstractions/";
30+
31+
build-system = [ poetry-core ];
3032

3133
dependencies = [
3234
opentelemetry-api
@@ -52,8 +54,8 @@ buildPythonPackage rec {
5254

5355
meta = with lib; {
5456
description = "Abstractions library for Kiota generated Python clients";
55-
homepage = "https://github.com/microsoft/kiota-abstractions-python";
56-
changelog = "https://github.com/microsoft/kiota-abstractions-python/blob/${version}/CHANGELOG.md";
57+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/";
58+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-abstractions-v${version}";
5759
license = licenses.mit;
5860
maintainers = with maintainers; [ fab ];
5961
};

pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
azure-core,
55
buildPythonPackage,
66
fetchFromGitHub,
7-
flit-core,
7+
poetry-core,
88
microsoft-kiota-abstractions,
99
opentelemetry-api,
1010
opentelemetry-sdk,
@@ -16,19 +16,21 @@
1616

1717
buildPythonPackage rec {
1818
pname = "microsoft-kiota-authentication-azure";
19-
version = "1.1.0";
19+
version = "1.9.1";
2020
pyproject = true;
2121

22-
disabled = pythonOlder "3.8";
22+
disabled = pythonOlder "3.9";
2323

2424
src = fetchFromGitHub {
2525
owner = "microsoft";
26-
repo = "kiota-authentication-azure-python";
27-
tag = "v${version}";
28-
hash = "sha256-JoR7qjAPNqtcV35AGwbyjhIro6AnFUZXXLHLOj7InY8=";
26+
repo = "kiota-python";
27+
tag = "microsoft-kiota-authentication-azure-v${version}";
28+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2929
};
3030

31-
build-system = [ flit-core ];
31+
sourceRoot = "source/packages/authentication/azure/";
32+
33+
build-system = [ poetry-core ];
3234

3335
dependencies = [
3436
aiohttp
@@ -48,8 +50,8 @@ buildPythonPackage rec {
4850

4951
meta = with lib; {
5052
description = "Kiota Azure authentication provider";
51-
homepage = "https://github.com/microsoft/kiota-authentication-azure-python";
52-
changelog = "https://github.com/microsoft/kiota-authentication-azure-python/blob/v${version}/CHANGELOG.md";
53+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/authentication/azure";
54+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-authentication-azure-v${version}";
5355
license = licenses.mit;
5456
maintainers = with maintainers; [ fab ];
5557
};

pkgs/development/python-modules/microsoft-kiota-http/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
httpx,
77
microsoft-kiota-abstractions,
88
opentelemetry-api,
@@ -16,19 +16,21 @@
1616

1717
buildPythonPackage rec {
1818
pname = "microsoft-kiota-http";
19-
version = "1.3.4";
19+
version = "1.9.1";
2020
pyproject = true;
2121

22-
disabled = pythonOlder "3.8";
22+
disabled = pythonOlder "3.9";
2323

2424
src = fetchFromGitHub {
2525
owner = "microsoft";
26-
repo = "kiota-http-python";
27-
tag = "v${version}";
28-
hash = "sha256-0hntB9GSDE05l/ghWTzMrX1MAPdWNHJVIQFpskraDV8=";
26+
repo = "kiota-python";
27+
tag = "microsoft-kiota-http-v${version}";
28+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2929
};
3030

31-
build-system = [ flit-core ];
31+
sourceRoot = "source/packages/http/httpx/";
32+
33+
build-system = [ poetry-core ];
3234

3335
dependencies = [
3436
httpx
@@ -48,8 +50,8 @@ buildPythonPackage rec {
4850

4951
meta = with lib; {
5052
description = "HTTP request adapter implementation for Kiota clients for Python";
51-
homepage = "https://github.com/microsoft/kiota-http-python";
52-
changelog = "https://github.com/microsoft/kiota-http-python/blob/${version}/CHANGELOG.md";
53+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx";
54+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-http-v${version}";
5355
license = licenses.mit;
5456
maintainers = with maintainers; [ fab ];
5557
};

pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
microsoft-kiota-abstractions,
77
pytest-asyncio,
88
pendulum,
@@ -13,19 +13,21 @@
1313

1414
buildPythonPackage rec {
1515
pname = "microsoft-kiota-serialization-form";
16-
version = "0.1.1";
16+
version = "1.9.1";
1717
pyproject = true;
1818

19-
disabled = pythonOlder "3.8";
19+
disabled = pythonOlder "3.9";
2020

2121
src = fetchFromGitHub {
2222
owner = "microsoft";
23-
repo = "kiota-serialization-form-python";
24-
tag = "v${version}";
25-
hash = "sha256-yOdrqj8QPz497VWS4427zDRRFc/S5654JeYkO1ZcUcQ=";
23+
repo = "kiota-python";
24+
tag = "microsoft-kiota-serialization-form-v${version}";
25+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2626
};
2727

28-
build-system = [ flit-core ];
28+
sourceRoot = "source/packages/serialization/form/";
29+
30+
build-system = [ poetry-core ];
2931

3032
dependencies = [
3133
microsoft-kiota-abstractions
@@ -42,8 +44,8 @@ buildPythonPackage rec {
4244

4345
meta = with lib; {
4446
description = "Form serialization implementation for Kiota clients in Python";
45-
homepage = "https://github.com/microsoft/kiota-serialization-form-python";
46-
changelog = "https://github.com/microsoft/kiota-serialization-form-python/blob/v${version}/CHANGELOG.md";
47+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/form";
48+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-form-v${version}";
4749
license = licenses.mit;
4850
maintainers = with maintainers; [ fab ];
4951
};

pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
microsoft-kiota-abstractions,
77
pendulum,
88
pytest-asyncio,
@@ -13,19 +13,21 @@
1313

1414
buildPythonPackage rec {
1515
pname = "microsoft-kiota-serialization-json";
16-
version = "1.3.3";
16+
version = "1.9.1";
1717
pyproject = true;
1818

19-
disabled = pythonOlder "3.8";
19+
disabled = pythonOlder "3.9";
2020

2121
src = fetchFromGitHub {
2222
owner = "microsoft";
23-
repo = "kiota-serialization-json-python";
24-
tag = "v${version}";
25-
hash = "sha256-J+wX2vF1LZHq88RDhda6NDeYioZzAz2BxovVFz2xxfw=";
23+
repo = "kiota-python";
24+
tag = "microsoft-kiota-serialization-json-v${version}";
25+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2626
};
2727

28-
build-system = [ flit-core ];
28+
sourceRoot = "source/packages/serialization/json/";
29+
30+
build-system = [ poetry-core ];
2931

3032
dependencies = [
3133
microsoft-kiota-abstractions
@@ -40,15 +42,10 @@ buildPythonPackage rec {
4042

4143
pythonImportsCheck = [ "kiota_serialization_json" ];
4244

43-
disabledTests = [
44-
# Test compare an output format
45-
"test_parse_union_type_complex_property1"
46-
];
47-
4845
meta = with lib; {
4946
description = "JSON serialization implementation for Kiota clients in Python";
50-
homepage = "https://github.com/microsoft/kiota-serialization-json-python";
51-
changelog = "https://github.com/microsoft/kiota-serialization-json-python/blob/${version}/CHANGELOG.md";
47+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/json";
48+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-json-v${version}";
5249
license = licenses.mit;
5350
maintainers = with maintainers; [ fab ];
5451
};

pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
microsoft-kiota-abstractions,
77
microsoft-kiota-serialization-json,
88
pytest-asyncio,
@@ -13,19 +13,21 @@
1313

1414
buildPythonPackage rec {
1515
pname = "microsoft-kiota-serialization-multipart";
16-
version = "0.1.0";
16+
version = "1.9.1";
1717
pyproject = true;
1818

1919
disabled = pythonOlder "3.8";
2020

2121
src = fetchFromGitHub {
2222
owner = "microsoft";
23-
repo = "kiota-serialization-multipart-python";
24-
tag = "v${version}";
25-
hash = "sha256-OGX6vX02928F1uCP8bF/q1Z5aDrdj29iQNOITzF2LQI=";
23+
repo = "kiota-python";
24+
tag = "microsoft-kiota-serialization-multipart-v${version}";
25+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2626
};
2727

28-
build-system = [ flit-core ];
28+
sourceRoot = "source/packages/serialization/multipart/";
29+
30+
build-system = [ poetry-core ];
2931

3032
dependencies = [ microsoft-kiota-abstractions ];
3133

@@ -40,8 +42,8 @@ buildPythonPackage rec {
4042

4143
meta = with lib; {
4244
description = "Multipart serialization implementation for Kiota clients in Python";
43-
homepage = "https://github.com/microsoft/kiota-serialization-multipart-python";
44-
changelog = "https://github.com/microsoft/kiota-serialization-multipart-python/blob/${version}/CHANGELOG.md";
45+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/multipart";
46+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-multipart-v${version}";
4547
license = licenses.mit;
4648
maintainers = with maintainers; [ fab ];
4749
};

pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
flit-core,
5+
poetry-core,
66
microsoft-kiota-abstractions,
77
pytest-asyncio,
88
pytest-mock,
@@ -13,19 +13,21 @@
1313

1414
buildPythonPackage rec {
1515
pname = "microsoft-kiota-serialization-text";
16-
version = "1.0.0";
16+
version = "1.9.1";
1717
pyproject = true;
1818

19-
disabled = pythonOlder "3.8";
19+
disabled = pythonOlder "3.9";
2020

2121
src = fetchFromGitHub {
2222
owner = "microsoft";
23-
repo = "kiota-serialization-text-python";
24-
tag = "v${version}";
25-
hash = "sha256-jPuRfvqO4n5/PjSOS5NMCawaYRhXmrZtfg6LgYFCv7o=";
23+
repo = "kiota-python";
24+
tag = "microsoft-kiota-serialization-text-v${version}";
25+
hash = "sha256-ESRnI8prXG1h5H5RVD4eOQ1sQYSEMMLVHSk8yhzFGVw=";
2626
};
2727

28-
build-system = [ flit-core ];
28+
sourceRoot = "source/packages/serialization/text/";
29+
30+
build-system = [ poetry-core ];
2931

3032
dependencies = [
3133
microsoft-kiota-abstractions
@@ -42,8 +44,8 @@ buildPythonPackage rec {
4244

4345
meta = with lib; {
4446
description = "Text serialization implementation for Kiota generated clients in Python";
45-
homepage = "https://github.com/microsoft/kiota-serialization-text-python";
46-
changelog = "https://github.com/microsoft/kiota-serialization-text-python/blob/${version}/CHANGELOG.md";
47+
homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/text";
48+
changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-serialization-text-v${version}";
4749
license = licenses.mit;
4850
maintainers = with maintainers; [ fab ];
4951
};

0 commit comments

Comments
 (0)