stratisd: 3.7.3 -> 3.8.0 (#389415)

This commit is contained in:
Nick Cao 2025-05-28 20:41:48 -04:00 committed by GitHub
commit a09d6bc43d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 10 deletions

View file

@ -30,7 +30,7 @@ import ../make-test-python.nix (
machine.succeed("stratis pool rebind keyring testpool testkey2") machine.succeed("stratis pool rebind keyring testpool testkey2")
# test restarting encrypted pool # test restarting encrypted pool
machine.succeed("stratis pool stop --name testpool") machine.succeed("stratis pool stop --name testpool")
machine.succeed("stratis pool start --name testpool --unlock-method keyring") machine.succeed("stratis pool start --name testpool --unlock-method any")
''; '';
} }
) )

View file

@ -7,21 +7,21 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "stratis-cli"; pname = "stratis-cli";
version = "3.7.0"; version = "3.8.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stratis-storage"; owner = "stratis-storage";
repo = pname; repo = "stratis-cli";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-F/RP/bWf2fV1IvNbrkYX3d94om1kACNe+oJI8pXM5P4="; hash = "sha256-zyby53QEC9txH/EP0plV4vUg9fRV6tZJtdQEWQ2iKCA=";
}; };
nativeBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools setuptools
]; ];
propagatedBuildInputs = with python3Packages; [ dependencies = with python3Packages; [
dbus-client-gen dbus-client-gen
dbus-python-client-gen dbus-python-client-gen
justbytes justbytes
@ -42,6 +42,8 @@ python3Packages.buildPythonApplication rec {
pythonImportsCheck = [ "stratis_cli" ]; pythonImportsCheck = [ "stratis_cli" ];
env.STRATIS_STRICT_POOL_FEATURES = "1"; # required for unit tests
passthru.tests = nixosTests.stratis; passthru.tests = nixosTests.stratis;
meta = with lib; { meta = with lib; {

View file

@ -29,18 +29,18 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "stratisd"; pname = "stratisd";
version = "3.7.3"; version = "3.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stratis-storage"; owner = "stratis-storage";
repo = pname; repo = "stratisd";
tag = "stratisd-v${version}"; tag = "stratisd-v${version}";
hash = "sha256-W8ssLTFU36t6iLrt9S9V8qcN7EP4IsL7VbhNPLpftio="; hash = "sha256-vYqvYC3r1TQ62YtMJYOx8bRxFJOam5ntbOS+FJZL/gQ=";
}; };
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit src; inherit src;
hash = "sha256-blhB+UfvG22Xe2O0csZ00/jgnVcLTUIkDJG5P22mffQ="; hash = "sha256-B3n9Ot4CFcVL/R2wHPuDIPBca/5pb2VgcuP1pxnnUrA=";
}; };
postPatch = '' postPatch = ''