summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-07-03 07:51:28 -0500
committerGitHub <noreply@github.com>2021-07-03 07:51:28 -0500
commit01405e44918d72edd4d1126d9f1f1ab0c7543ca0 (patch)
treec3302316e028bb812e3c5f482b7e604abe2e725f /pkgs
parent27d101d2204f7cb07da971dd0cc092c8e636a975 (diff)
parent1fd0090f14a5423dff8ef24d8440b0008422a64f (diff)
downloadnixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar.gz
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar.bz2
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar.lz
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar.xz
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.tar.zst
nixpkgs-01405e44918d72edd4d1126d9f1f1ab0c7543ca0.zip
Merge pull request #129109 from fabaff/bump-curio
python3Packages.curio: 1.4 -> 1.5
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/curio/default.nix29
1 files changed, 9 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/curio/default.nix b/pkgs/development/python-modules/curio/default.nix
index fb1eceda7f2..1a0f4e2d9fe 100644
--- a/pkgs/development/python-modules/curio/default.nix
+++ b/pkgs/development/python-modules/curio/default.nix
@@ -1,7 +1,6 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, fetchpatch
 , isPy3k
 , pytestCheckHook
 , sphinx
@@ -10,31 +9,19 @@
 
 buildPythonPackage rec {
   pname = "curio";
-  version = "1.4";
+  version = "1.5";
+  disabled = !isPy3k;
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744";
+    sha256 = "sha256-rwghLlkLt9qOTMOcQgEnEUlNwg1iLxYhVbopbMLjvBA=";
   };
 
-  patches = [
-    # Fix the flaky test due to slow moving time on Apple Silicon chips.
-    # Remove when https://github.com/dabeaz/curio/pull/339 is in the next release.
-    (fetchpatch {
-      url = "https://github.com/dabeaz/curio/commit/132376724bbfaa0a52d3d63d0791aa4ac1eb6f5f.patch";
-      sha256 = "sha256-AxO0xRcR9l9/NKEJFwyZIoYcyZxpqOhpdNaeaYokVb4=";
-    })
-    # Same as above
-    (fetchpatch {
-      url = "https://github.com/dabeaz/curio/commit/8ac2f12a2cdacbc750b01fc7459cee8879bc1ee3.patch";
-      sha256 = "sha256-2Si3fuDLrI09QuzJd1TrE0QY02G9e9m+1eHFTB/MrWU=";
-    })
+  checkInputs = [
+    pytestCheckHook
+    sphinx
   ];
 
-  disabled = !isPy3k;
-
-  checkInputs = [ pytestCheckHook sphinx ];
-
   __darwinAllowLocalNetworking = true;
 
   disabledTests = [
@@ -46,9 +33,11 @@ buildPythonPackage rec {
      "test_unix_ssl_server" # socket bind error on hydra when built with other packages
    ];
 
+  pythonImportsCheck = [ "curio" ];
+
   meta = with lib; {
     homepage = "https://github.com/dabeaz/curio";
-    description = "Library for performing concurrent I/O with coroutines in Python 3";
+    description = "Library for performing concurrent I/O with coroutines in Python";
     license = licenses.bsd3;
     maintainers = [ maintainers.marsam ];
   };