aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/uvloop
diff options
context:
space:
mode:
authorKaiden Fey <kookie@spacekookie.de>2020-09-19 15:00:33 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-09-19 15:00:33 +0200
commite0800985dab8f8ebb4cebdfd7e361fd1fafdb2a7 (patch)
tree289f43c72dd1fffeec4eb18ced05ae91e50c179a /nixpkgs/pkgs/development/python-modules/uvloop
parent5581b5521e14317c3507a6e8451a3f14996e5c4d (diff)
parent441a7da8080352881bb52f85e910d8855e83fc55 (diff)
Merge commit '441a7da8080352881bb52f85e910d8855e83fc55'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/uvloop')
-rw-r--r--nixpkgs/pkgs/development/python-modules/uvloop/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/uvloop/default.nix b/nixpkgs/pkgs/development/python-modules/uvloop/default.nix
index 424f4d08fe0..b06f41ce5a3 100644
--- a/nixpkgs/pkgs/development/python-modules/uvloop/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/uvloop/default.nix
@@ -6,6 +6,7 @@
, libuv
, psutil
, isPy27
+, pythonAtLeast
, CoreServices
, ApplicationServices
# Check Inputs
@@ -44,14 +45,11 @@ buildPythonPackage rec {
"--tb=native"
# ignore code linting tests
"--ignore=tests/test_sourcecode.py"
- # Fails on Python 3.8
- # https://salsa.debian.org/python-team/modules/uvloop/-/commit/302a7e8f5a2869e13d0550cd37e7a8f480e79869
- "--ignore=tests/test_tcp.py"
];
disabledTests = [
"test_sock_cancel_add_reader_race" # asyncio version of test is supposed to be skipped but skip doesn't happen. uvloop version runs fine
- ];
+ ] ++ lib.optionals (pythonAtLeast "3.8") [ "test_write_to_closed_transport" ]; # https://github.com/MagicStack/uvloop/issues/355
# force using installed/compiled uvloop vs source by moving tests to temp dir
preCheck = ''