Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.papis: remove restrictive version bounds #74202

Merged
merged 1 commit into from Nov 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions pkgs/development/python-modules/papis/default.nix
Expand Up @@ -3,7 +3,7 @@
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, pylibgen, click, python-slugify, habanero, isbnlib
, prompt_toolkit, pygments, stevedore, tqdm, lxml
, python-doi, isPy3k
, python-doi, isPy3k, pythonOlder
#, optional, dependencies
, whoosh, pytest
, stdenv
Expand All @@ -12,6 +12,7 @@
buildPythonPackage rec {
pname = "papis";
version = "0.9";
disabled = !isPy3k;

# Missing tests on Pypi
src = fetchFromGitHub {
Expand All @@ -32,9 +33,14 @@ buildPythonPackage rec {
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 = ([
pytest
Expand Down