pkgs/development/python-modules: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-24 01:29:22 +01:00
parent 2f34b4b883
commit a4bbfba80d
211 changed files with 525 additions and 546 deletions

View File

@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, buildPythonPackage
, fetchPypi
, tornado
@@ -20,7 +20,7 @@ buildPythonPackage rec {
# drop this for version > 0.9.7
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
doCheck = stdenv.lib.versionAtLeast version "0.9.8";
doCheck = lib.versionAtLeast version "0.9.8";
src = fetchPypi {
inherit pname version;
@@ -37,7 +37,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
# Those flaky tests are failing intermittently on all platforms
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
NOSE_EXCLUDE = lib.concatStringsSep "," [
"tests.functional.test_httplib2.test_callback_response"
"tests.functional.test_requests.test_streaming_responses"
"tests.functional.test_httplib2.test_callback_response"

View File

@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, buildPythonPackage
, fetchPypi
, tornado
@@ -23,7 +23,7 @@ buildPythonPackage rec {
# drop this for version > 0.9.7
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
doCheck = stdenv.lib.versionAtLeast version "0.9.8";
doCheck = lib.versionAtLeast version "0.9.8";
src = fetchPypi {
inherit pname version;
@@ -44,7 +44,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
# Those flaky tests are failing intermittently on all platforms
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
NOSE_EXCLUDE = lib.concatStringsSep "," [
"tests.functional.test_httplib2.test_callback_response"
"tests.functional.test_requests.test_streaming_responses"
"tests.functional.test_httplib2.test_callback_response"