3
0
Fork 0
forked from mirrors/nixpkgs

python311Packages.dvc-ssh: 2.2.22 -> 3.0.0

Changelog: https://github.com/iterative/dvc-ssh/releases/tag/3.0.0
This commit is contained in:
Fabian Affolter 2024-01-08 23:29:02 +01:00
parent 4770e67ec9
commit e0cdc47c59

View file

@ -10,20 +10,29 @@
buildPythonPackage rec {
pname = "dvc-ssh";
version = "2.22.2";
format = "setuptools";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-eJwNCZvdBqYKEbX4On3pGm2bzCvH9G7rdsgeN7XPJB0=";
hash = "sha256-Xlbav0mk+8/VTgS1MCide76QW8WhlflzNXQ7YM4N4iw=";
};
pythonRemoveDeps = [
# Prevent circular dependency
pythonRemoveDeps = [ "dvc" ];
"dvc"
];
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
nativeBuildInputs = [
setuptools-scm
pythonRelaxDepsHook
];
propagatedBuildInputs = [ bcrypt dvc-objects sshfs ];
propagatedBuildInputs = [
bcrypt
dvc-objects
sshfs
];
# bcrypt is enabled for sshfs in nixpkgs
postPatch = ''
@ -33,7 +42,10 @@ buildPythonPackage rec {
# Network access is needed for tests
doCheck = false;
pythonImportsCheck = [ "dvc_ssh" ];
# Circular dependency
# pythonImportsCheck = [
# "dvc_ssh"
# ];
meta = with lib; {
description = "ssh plugin for dvc";