python3Packages.papis: remove restrictive version bounds
This commit is contained in:
parent
cbe6c3a79c
commit
e0907e2ae9
@ -3,7 +3,7 @@
|
|||||||
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
|
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
|
||||||
, pylibgen, click, python-slugify, habanero, isbnlib
|
, pylibgen, click, python-slugify, habanero, isbnlib
|
||||||
, prompt_toolkit, pygments, stevedore, tqdm, lxml
|
, prompt_toolkit, pygments, stevedore, tqdm, lxml
|
||||||
, python-doi, isPy3k
|
, python-doi, isPy3k, pythonOlder
|
||||||
#, optional, dependencies
|
#, optional, dependencies
|
||||||
, whoosh, pytest
|
, whoosh, pytest
|
||||||
, stdenv
|
, stdenv
|
||||||
@ -12,6 +12,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "papis";
|
pname = "papis";
|
||||||
version = "0.9";
|
version = "0.9";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
# Missing tests on Pypi
|
# Missing tests on Pypi
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -32,9 +33,14 @@ buildPythonPackage rec {
|
|||||||
whoosh
|
whoosh
|
||||||
];
|
];
|
||||||
|
|
||||||
disabled = !isPy3k;
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "lxml<=4.3.5" "lxml~=4.3" \
|
||||||
|
--replace "python-slugify>=1.2.6,<4" "python-slugify"
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
# pytest seems to hang with python3.8
|
||||||
|
doCheck = !stdenv.isDarwin && pythonOlder "3.8";
|
||||||
|
|
||||||
checkInputs = ([
|
checkInputs = ([
|
||||||
pytest
|
pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user