mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
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:
parent
06416d63ed
commit
9e6b63302f
@ -7,36 +7,48 @@
|
||||
, flatten-dict
|
||||
, pythonRelaxDepsHook
|
||||
, s3fs
|
||||
, setuptools-scm }:
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvc-s3";
|
||||
version = "2.23.0";
|
||||
format = "setuptools";
|
||||
version = "3.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HyhZj1sN70o1CTNCiroGKjaMk7tBGqPG2PRsrnm1uVc=";
|
||||
hash = "sha256-ax2Wsjfvu4hoF99eDPT2sbFhl30wuYtGdEonYCCkJMY=";
|
||||
};
|
||||
|
||||
# Prevent circular dependency
|
||||
pythonRemoveDeps = [ "dvc" ];
|
||||
pythonRemoveDeps = [
|
||||
"dvc"
|
||||
];
|
||||
|
||||
# dvc-s3 uses boto3 directly, we add in propagatedBuildInputs
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace 'aiobotocore[boto3]' 'aiobotocore'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiobotocore boto3 dvc-objects flatten-dict s3fs
|
||||
aiobotocore
|
||||
boto3
|
||||
dvc-objects
|
||||
flatten-dict s3fs
|
||||
];
|
||||
|
||||
# Network access is needed for tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "dvc_s3" ];
|
||||
# Circular dependency
|
||||
# pythonImportsCheck = [
|
||||
# "dvc_s3"
|
||||
# ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "s3 plugin for dvc";
|
||||
|
Loading…
Reference in New Issue
Block a user