python3Packages.azure-kusto-data: 6.0.3 -> 6.0.4
Diff: https://github.com/Azure/azure-kusto-python/compare/v6.0.3...v6.0.4 Changelog: https://github.com/Azure/azure-kusto-python/releases/tag/v6.0.4
This commit is contained in:
@@ -1,36 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
asgiref,
|
||||
azure-core,
|
||||
azure-identity,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
uv-build,
|
||||
|
||||
# dependencies
|
||||
azure-core,
|
||||
azure-identity,
|
||||
ijson,
|
||||
msal,
|
||||
python-dateutil,
|
||||
requests,
|
||||
|
||||
# optional-dependencies
|
||||
|
||||
# tests
|
||||
# aio:
|
||||
aiohttp,
|
||||
asgiref,
|
||||
# pandas:
|
||||
pandas,
|
||||
|
||||
# tests
|
||||
aioresponses,
|
||||
pytest-asyncio,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
requests,
|
||||
uv-build,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "azure-kusto-data";
|
||||
version = "6.0.3";
|
||||
version = "6.0.4";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-kusto-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-n69KpWZpAVMjr7d1QRQ/J/SgeTLkadJUhCgD62F6O7w=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-iggsVxLmDbP6+oSPaIiujPLsZAWwm5VLZSl+HYm0DIQ=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/${pname}";
|
||||
sourceRoot = "${finalAttrs.src.name}/azure-kusto-data";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
@@ -42,7 +55,6 @@ buildPythonPackage rec {
|
||||
pythonRelaxDeps = [
|
||||
"ijson"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
azure-core
|
||||
azure-identity
|
||||
@@ -66,22 +78,30 @@ buildPythonPackage rec {
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
pythonImportsCheck = [ "azure.kusto.data" ];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: Attributes of DataFrame.iloc[:, 1] (column name="rowguid") are different
|
||||
"test_sanity_data_frame"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"tests/aio/test_async_token_providers.py"
|
||||
"tests/test_token_providers.py"
|
||||
"tests/test_e2e_data.py"
|
||||
|
||||
# AssertionError: assert <class 'pandas.Timestamp'> is <class 'pandas.api.typing.NaTType'>
|
||||
"tests/test_helpers.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Kusto Data Client";
|
||||
homepage = "https://github.com/Azure/azure-kusto-python/tree/master/azure-kusto-data";
|
||||
changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user