python310Packages.duecredit: drop dependency on six, raise minimum python version to 3.8

This commit is contained in:
Nick Cao 2023-12-03 10:22:22 -05:00
parent 3e3853100a
commit 03982f1ffd
No known key found for this signature in database

View File

@ -7,7 +7,6 @@
, vcrpy , vcrpy
, citeproc-py , citeproc-py
, requests , requests
, six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +14,7 @@ buildPythonPackage rec {
version = "0.9.3"; version = "0.9.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -23,7 +22,7 @@ buildPythonPackage rec {
}; };
nativeBuildInputs = [ setuptools ]; nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ citeproc-py requests six ]; propagatedBuildInputs = [ citeproc-py requests ];
nativeCheckInputs = [ pytestCheckHook vcrpy ]; nativeCheckInputs = [ pytestCheckHook vcrpy ];
disabledTests = [ "test_import_doi" ]; # tries to access network disabledTests = [ "test_import_doi" ]; # tries to access network