Merge pull request #95525 from jonringer/disable-pytrends-py2

python3Packages.pytrends: disable python2
This commit is contained in:
Martin Weinelt 2020-08-15 22:33:01 +02:00 committed by GitHub
commit 2a925d8b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, requests , requests
, lxml , lxml
, pandas , pandas
@ -9,6 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytrends"; pname = "pytrends";
version = "4.7.3"; version = "4.7.3";
disabled = isPy27; # python2 pandas is too old
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;