summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiohttp
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-20 19:39:18 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-06-22 13:42:53 +0200
commitaf84578114a3ae3cea9297e58bf4b26cb869a39d (patch)
tree7605195e31531490781d8c0b75cf13f6c7677bff /pkgs/development/python-modules/aiohttp
parent70e15f8b846429d05006242b5de1e8726818fa39 (diff)
downloadnixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar.gz
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar.bz2
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar.lz
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar.xz
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.tar.zst
nixpkgs-af84578114a3ae3cea9297e58bf4b26cb869a39d.zip
python3Packages.aiohttp: remove pytest-xdist
Fails reproducible on hydra like this:

```
        try:
            # set_wakeup_fd() raises ValueError if this is not the
            # main thread.  By calling it early we ensure that an
            # event loop running in another thread cannot add a signal
            # handler.
>           signal.set_wakeup_fd(self._csock.fileno())
E           ValueError: set_wakeup_fd only works in main thread of the main interpreter
```

And was remove from upstreams tests due to 10-15% error rate way back
in 2018.
Diffstat (limited to 'pkgs/development/python-modules/aiohttp')
-rw-r--r--pkgs/development/python-modules/aiohttp/default.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index c0722c8c978..d6203c1ebeb 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -15,7 +15,6 @@
 , freezegun
 , gunicorn
 , pytest-mock
-, pytest-xdist
 , pytestCheckHook
 , re-assert
 , trustme
@@ -52,16 +51,11 @@ buildPythonPackage rec {
     freezegun
     gunicorn
     pytest-mock
-    pytest-xdist
     pytestCheckHook
     re-assert
     trustme
   ];
 
-  pytestFlagsArray = [
-    "-n auto"
-  ];
-
   disabledTests = [
     # Disable tests that require network access
     "test_mark_formdata_as_processed"