git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.nvchecker: 1.4.4 -> 1.5
commitc855dceacf55060540b89151dc8d1aadd118406c authorMario Rodas <marsam@users.noreply.github.com> dateMon 4 Nov 2019, 21:00 (7 years ago) parent02fb0b9
1 file changed+6−8
pkgs/development/python-modules/nvchecker/default.nix+6−8
pkgs/development/python-modules/nvchecker/default.nix+6−8
@@ -1,22 +1,20 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
1+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, pytest-httpbin }:
22
33buildPythonPackage rec {
44 pname = "nvchecker";
5− version = "1.4.4";
5+ version = "1.5";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
9+ sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
1010 };
1111
1212 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
13− checkInputs = [ pytest pytest-asyncio flaky ];
14−
15− # requires network access
16− doCheck = false;
13+ checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
1714
15+ # disable `test_ubuntupkg` because it requires network
1816 checkPhase = ''
19− py.test
17+ py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
2018 '';
2119
2220 disabled = pythonOlder "3.5";