git.iko.soy/typeable/nixpkgs
on master help sign in
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

commite6a25e5645908b5f7271979e16c27c940dc54f14 authorR. RyanTM <ryantm-bot@ryantm.com> dateWed 22 May 2019, 16:42 (8 years ago) parent62bd8f6
1 file changed+8−7
pkgs/development/python-modules/sniffio/default.nix+8−7
pkgs/development/python-modules/sniffio/default.nix+8−7
@@ -1,26 +1,27 @@
11{ buildPythonPackage, lib, fetchPypi, glibcLocales, isPy3k, contextvars
2−, pythonOlder
2+, pythonOlder, pytest, curio
33}:
44
55buildPythonPackage rec {
66 pname = "sniffio";
7− version = "1.0.0";
7+ version = "1.1.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "1dzb0nx3m1hpjgsv6s6w5ac2jcmywcz6gqnfkw8rwz1vkr1836rf";
11+ sha256 = "8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21";
1212 };
1313
14− # breaks with the following error:
15− # > TypeError: 'encoding' is an invalid keyword argument for this function
1614 disabled = !isPy3k;
1715
1816 buildInputs = [ glibcLocales ];
1917
2018 propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ contextvars ];
2119
22− # no tests distributed with PyPI
23− doCheck = false;
20+ checkInputs = [ pytest curio ];
21+
22+ checkPhase = ''
23+ pytest
24+ '';
2425
2526 meta = with lib; {
2627 homepage = https://github.com/python-trio/sniffio;