python3Packages.cloudpathlib: 0.19.0 -> 0.20.0

This commit is contained in:
Martin Weinelt
2025-01-27 10:54:56 +01:00
parent ff44cf9ee3
commit ea1620c8ad
@@ -5,6 +5,7 @@
fetchFromGitHub,
flit-core,
typing-extensions,
azure-identity,
azure-storage-blob,
azure-storage-file-datalake,
google-cloud-storage,
@@ -22,7 +23,7 @@
buildPythonPackage rec {
pname = "cloudpathlib";
version = "0.19.0";
version = "0.20.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -31,9 +32,15 @@ buildPythonPackage rec {
owner = "drivendataorg";
repo = "cloudpathlib";
tag = "v${version}";
hash = "sha256-VjoQc9nzwcMh9kiqWXsJNE5X7e7/sVGId5jgFTLZQy4=";
hash = "sha256-821uSJL1QSj1BTdNWyisN8WWomMuXO3HF6IsAdw7Lac=";
};
postPatch = ''
# missing pytest-reportlog test dependency
substituteInPlace pyproject.toml \
--replace-fail "--report-log reportlog.jsonl" ""
'';
build-system = [ flit-core ];
dependencies = lib.optional (pythonOlder "3.11") typing-extensions;
@@ -51,6 +58,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "cloudpathlib" ];
nativeCheckInputs = [
azure-identity
psutil
pydantic
pytestCheckHook