about summary refs log tree commit diff
path: root/pkgs/development/python-modules/devtools
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-05-18 21:07:25 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-07-28 12:13:24 +0200
commit6ac38ebe01db9e58ad33a8f4b9620a2dab98eb97 (patch)
tree1bb3d75c1345e269dd3f6c460c86273c66da445f /pkgs/development/python-modules/devtools
parentaade3b0c00aeb84e884fc3e5fddf17c035d4133e (diff)
python311Packages.devtools: 0.10.0 -> 0.11.0
Diff: https://github.com/samuelcolvin/python-devtools/compare/refs/tags/v0.10.0...v0.11.0

Changelog: https://github.com/samuelcolvin/python-devtools/releases/tag/v0.11.0
Diffstat (limited to 'pkgs/development/python-modules/devtools')
-rw-r--r--pkgs/development/python-modules/devtools/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/devtools/default.nix b/pkgs/development/python-modules/devtools/default.nix
index 79f8d3d5cbb92..ec386f8e0b296 100644
--- a/pkgs/development/python-modules/devtools/default.nix
+++ b/pkgs/development/python-modules/devtools/default.nix
@@ -12,7 +12,7 @@
 
 buildPythonPackage rec {
   pname = "devtools";
-  version = "0.10.0";
+  version = "0.11.0";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
@@ -20,8 +20,8 @@ buildPythonPackage rec {
   src = fetchFromGitHub {
     owner = "samuelcolvin";
     repo = "python-${pname}";
-    rev = "v${version}";
-    hash = "sha256-x9dL/FE94OixMAmjnmfzZUcYJBqE5P2AAIFsNJF0Fxo=";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-ogogXZnuSFkWktCin+cyefjqIbGFRBVIeOrZJAa3hOE=";
   };
 
   nativeBuildInputs = [
@@ -47,10 +47,15 @@ buildPythonPackage rec {
   disabledTests = [
     # Test for Windows32
     "test_print_subprocess"
-    # sensitive to timing
+    # Sensitive to timing
     "test_multiple_not_verbose"
-    # sensitive to interpreter output
-    "test_simple_vars"
+    # Sensitive to interpreter output
+    "test_simple"
+  ];
+
+  disabledTestPaths = [
+    # pytester_pretty is not available in Nixpkgs
+    "tests/test_insert_assert.py"
   ];
 
   pythonImportsCheck = [