summary refs log tree commit diff
path: root/pkgs/development/python-modules/trio
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-09-08 01:02:55 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-08 01:02:55 +0200
commit218ac50fd47cb6155dd05885bb3676804036910d (patch)
treedf87361631deb630bbaec48ca5b180da91c6d88e /pkgs/development/python-modules/trio
parent56d0a70ef540d72c3771d28254b2b127e0608731 (diff)
downloadnixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar.gz
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar.bz2
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar.lz
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar.xz
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.tar.zst
nixpkgs-218ac50fd47cb6155dd05885bb3676804036910d.zip
pythonPackages.trio: fix build (#46342)
Fixes the build for `python3Packages.trio' for the next ZHF iteration.
Please refer to the Hydra build for further reference: https://hydra.nixos.org/build/80617356

`python3Packages.sniffio` is needed for the build, otherwise the build
aborts with an error like this:

```
  Could not find a version that satisfies the requirement sniffio (from trio==0.6.0) (from versions: )
No matching distribution found for sniffio (from trio==0.6.0)
```

See #45960
Diffstat (limited to 'pkgs/development/python-modules/trio')
-rw-r--r--pkgs/development/python-modules/trio/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix
index 4924fa527c6..89addb377dc 100644
--- a/pkgs/development/python-modules/trio/default.nix
+++ b/pkgs/development/python-modules/trio/default.nix
@@ -8,6 +8,7 @@
 , pytest
 , pyopenssl
 , trustme
+, sniffio
 }:
 
 buildPythonPackage rec {
@@ -31,6 +32,7 @@ buildPythonPackage rec {
     async_generator
     idna
     outcome
+    sniffio
   ] ++ lib.optionals (pythonOlder "3.7") [ contextvars ];
 
   meta = {