python311Packages.dvc-s3: 2.23.0 -> 3.0.1

Changelog: https://github.com/iterative/dvc-s3/releases/tag/3.0.1
This commit is contained in:
Fabian Affolter 2023-12-28 16:27:37 +01:00
parent 06416d63ed
commit 9e6b63302f

View File

@ -7,36 +7,48 @@
, flatten-dict , flatten-dict
, pythonRelaxDepsHook , pythonRelaxDepsHook
, s3fs , s3fs
, setuptools-scm }: , setuptools-scm
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dvc-s3"; pname = "dvc-s3";
version = "2.23.0"; version = "3.0.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-HyhZj1sN70o1CTNCiroGKjaMk7tBGqPG2PRsrnm1uVc="; hash = "sha256-ax2Wsjfvu4hoF99eDPT2sbFhl30wuYtGdEonYCCkJMY=";
}; };
# Prevent circular dependency # Prevent circular dependency
pythonRemoveDeps = [ "dvc" ]; pythonRemoveDeps = [
"dvc"
];
# dvc-s3 uses boto3 directly, we add in propagatedBuildInputs # dvc-s3 uses boto3 directly, we add in propagatedBuildInputs
postPatch = '' postPatch = ''
substituteInPlace setup.cfg --replace 'aiobotocore[boto3]' 'aiobotocore' substituteInPlace setup.cfg --replace 'aiobotocore[boto3]' 'aiobotocore'
''; '';
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ]; nativeBuildInputs = [
setuptools-scm
pythonRelaxDepsHook
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiobotocore boto3 dvc-objects flatten-dict s3fs aiobotocore
boto3
dvc-objects
flatten-dict s3fs
]; ];
# Network access is needed for tests # Network access is needed for tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "dvc_s3" ]; # Circular dependency
# pythonImportsCheck = [
# "dvc_s3"
# ];
meta = with lib; { meta = with lib; {
description = "s3 plugin for dvc"; description = "s3 plugin for dvc";