Skip to content

Commit fba6d9b

Browse files
committed
python3Packages.plumbum: 1.10.0 -> 2.0.1
Bump to the latest version 2.0.1 (released Jun 8, 2026). New runtime dependency: typing-extensions for Python < 3.13. New test dependency: pytest-asyncio (>= 0.21.0) required by upstream. Dropped disabled test test_incorrect_login (fixed upstream). Dropped disabled test path tests/test_remote.py (fixed upstream). New disabled test test_mount_table_parses_only_matching_lines (plumbum.cmd is now a real module; monkeypatching non-existent attributes fails). New disabled test path tests/test_ssh_paths.py (requires ssh in sandbox). Assisted-by: OpenCode + DeepSeek v4 Flash
1 parent a4b4f29 commit fba6d9b

1 file changed

Lines changed: 26 additions & 20 deletions

File tree

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,47 @@
1-
{
2-
lib,
3-
buildPythonPackage,
4-
fetchFromGitHub,
5-
hatch-vcs,
6-
hatchling,
7-
paramiko,
8-
psutil,
9-
pytest-cov-stub,
10-
pytest-mock,
11-
pytest-timeout,
12-
pytestCheckHook,
1+
{ lib
2+
, buildPythonPackage
3+
, fetchFromGitHub
4+
, hatch-vcs
5+
, hatchling
6+
, paramiko
7+
, psutil
8+
, pytest-asyncio
9+
, pytest-cov-stub
10+
, pytest-mock
11+
, pytest-timeout
12+
, pytestCheckHook
13+
, typing-extensions
14+
,
1315
}:
1416

1517
buildPythonPackage rec {
1618
pname = "plumbum";
17-
version = "1.10.0";
19+
version = "2.0.1";
1820
pyproject = true;
1921

2022
src = fetchFromGitHub {
2123
owner = "tomerfiliba";
2224
repo = "plumbum";
2325
tag = "v${version}";
24-
hash = "sha256-ca9avbBJnMecuKljIrx3mYIGA50QXmhC/LP3hM9Uvcs=";
26+
hash = "sha256-XwsEcAHvVhWQG5trznOvkfP8Al7kfMGSG2wR0sXY+eI=";
2527
};
2628

2729
build-system = [
2830
hatchling
2931
hatch-vcs
3032
];
3133

34+
propagatedBuildInputs = [
35+
typing-extensions
36+
];
37+
3238
optional-dependencies = {
3339
ssh = [ paramiko ];
3440
};
3541

3642
nativeCheckInputs = [
3743
psutil
44+
pytest-asyncio
3845
pytest-cov-stub
3946
pytest-mock
4047
pytest-timeout
@@ -51,21 +58,20 @@ buildPythonPackage rec {
5158
"test_change_env"
5259
"test_dictlike"
5360
"test_local"
54-
# incompatible with pytest 7
55-
"test_incorrect_login"
61+
# plumbum.cmd is a real module, cannot monkeypatch attributes that don't exist
62+
"test_mount_table_parses_only_matching_lines"
5663
];
5764

5865
disabledTestPaths = [
59-
# incompatible with pytest7
60-
# https://github.com/tomerfiliba/plumbum/issues/594
61-
"tests/test_remote.py"
66+
# needs ssh
67+
"tests/test_ssh_paths.py"
6268
];
6369

6470
meta = {
6571
description = "Module Shell Combinators";
6672
changelog = "https://github.com/tomerfiliba/plumbum/releases/tag/v${version}";
6773
homepage = "https://github.com/tomerfiliba/plumbum";
6874
license = lib.licenses.mit;
69-
maintainers = [ ];
75+
maintainers = with lib.maintainers; [ yajo ];
7076
};
7177
}

0 commit comments

Comments
 (0)