Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78214 - [jupyter-nbconvert] check() incorrectly relies on installed jupyter-nbconvert package

Attached to Project: Community Packages
Opened by Levi Zim (kxxt) - Sunday, 16 April 2023, 13:07 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 16 April 2023, 17:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This package is a transitive dependency of itself via the following dependency chain:

jupyter-nbconvert -> jupyterlab_pygments -> python-jupyterlab_server -> jupyter-server -> jupyter-nbconvert

In check(), this package relies on the installed jupyter-nbconvert(itself) package. It uses templates installed in /usr/share/jupyter/templates instead of ones from srcdir.

It is an incorrect behavior and the PKGBUILD already contains the following line where the same idea has already been suggested in the comment:

export PYTHONPATH="$PWD" # Make sure system nbconvert is not used

We should create a virtualenv for testing instead.

Patch attached.
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 16 April 2023, 17:08 GMT
Reason for closing:  Fixed

Loading...