git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.nvchecker: 1.4.4 -> 1.5
c855dceMario Rodas
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 }:
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "nvchecker";
4 pname = "nvchecker";
5− version = "1.4.4";
5+ version = "1.5";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
9+ sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
10 };
10 };
11
11
12 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
12 propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
13− checkInputs = [ pytest pytest-asyncio flaky ];
13+ checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];
14−
15− # requires network access
16− doCheck = false;
17
14
15+ # disable `test_ubuntupkg` because it requires network
18 checkPhase = ''
16 checkPhase = ''
19− py.test
17+ py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
20 '';
18 '';
21
19
22 disabled = pythonOlder "3.5";
20 disabled = pythonOlder "3.5";