diff options
author | R. RyanTM <ryantm-bot@ryantm.com> | 2019-05-22 16:42:29 -0700 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-05-22 23:32:28 -0500 |
commit | e6a25e5645908b5f7271979e16c27c940dc54f14 (patch) | |
tree | 81809db59c0b75fda9902d7f93f54a002d581731 /pkgs/development/python-modules/sniffio | |
parent | 62bd8f6d2495c4e40c62d1f2f39f1de34109c7fa (diff) | |
download | nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar.gz nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar.bz2 nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar.lz nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar.xz nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.tar.zst nixlib-e6a25e5645908b5f7271979e16c27c940dc54f14.zip |
python37Packages.sniffio: 1.0.0 -> 1.1.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-sniffio/versions
Diffstat (limited to 'pkgs/development/python-modules/sniffio')
-rw-r--r-- | pkgs/development/python-modules/sniffio/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/sniffio/default.nix b/pkgs/development/python-modules/sniffio/default.nix index 9893bc5828a0..f5674c09e021 100644 --- a/pkgs/development/python-modules/sniffio/default.nix +++ b/pkgs/development/python-modules/sniffio/default.nix @@ -1,26 +1,27 @@ { buildPythonPackage, lib, fetchPypi, glibcLocales, isPy3k, contextvars -, pythonOlder +, pythonOlder, pytest, curio }: buildPythonPackage rec { pname = "sniffio"; - version = "1.0.0"; + version = "1.1.0"; src = fetchPypi { inherit pname version; - sha256 = "1dzb0nx3m1hpjgsv6s6w5ac2jcmywcz6gqnfkw8rwz1vkr1836rf"; + sha256 = "8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21"; }; - # breaks with the following error: - # > TypeError: 'encoding' is an invalid keyword argument for this function disabled = !isPy3k; buildInputs = [ glibcLocales ]; propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ contextvars ]; - # no tests distributed with PyPI - doCheck = false; + checkInputs = [ pytest curio ]; + + checkPhase = '' + pytest + ''; meta = with lib; { homepage = https://github.com/python-trio/sniffio; |