From e0cdc47c59209494f50856779c3d7d237aa1eaf6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Jan 2024 23:29:02 +0100 Subject: [PATCH] python311Packages.dvc-ssh: 2.2.22 -> 3.0.0 Changelog: https://github.com/iterative/dvc-ssh/releases/tag/3.0.0 --- .../python-modules/dvc-ssh/default.nix | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/dvc-ssh/default.nix b/pkgs/development/python-modules/dvc-ssh/default.nix index 3da0a15dc93d..eaee2a6a579e 100644 --- a/pkgs/development/python-modules/dvc-ssh/default.nix +++ b/pkgs/development/python-modules/dvc-ssh/default.nix @@ -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="; }; - # Prevent circular dependency - pythonRemoveDeps = [ "dvc" ]; + pythonRemoveDeps = [ + # Prevent circular dependency + "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";