Merge pull request #92279 from jonringer/prawcore-disable-py2

python2Packages.prawcore: disable on python2
This commit is contained in:
Maximilian Bosch 2020-07-04 18:48:44 +02:00 committed by GitHub
commit eb7113f2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi, isPy27
, requests , requests
, testfixtures, mock, requests_toolbelt , testfixtures, mock, requests_toolbelt
, betamax, betamax-serializers, betamax-matchers, pytest , betamax, betamax-serializers, betamax-matchers, pytest
@ -7,6 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "prawcore"; pname = "prawcore";
version = "1.4.0"; version = "1.4.0";
disabled = isPy27; # see https://github.com/praw-dev/prawcore/pull/101
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;