Skip to content

Installation issue: py-nbconvert #22108

@kuramoto-fj

Description

@kuramoto-fj

Hello,

I builded py-nbconvert, but I didn't get a expected results.
There are copies in build of py-nbconvert. One of the copy commands In the spack-build-out.txt of it is below:

copying share/jupyter/nbconvert/templates/asciidoc/conf.json -> $HOME/spack/opt/spack/linux-rhel8-skylake_avx512/gcc-8.3.1/ py-nbconvert-6.0.1-vn5kgn2s34ise64hcognusscc3erh4cm/""/share/jupyter/nbconvert/templates/asciidoc

There is a "" in the copy destination specification, which is bad.
This is because the path specified below in the recipe of it and the above copy destination will be different.

env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)

The build of py-nbconvert itself succeeds, but the build of oss that using py-nbconver and referencing the above path fails.
However, no problem occurred in the following environment.

$ spack debug report

  • Spack: 0.16.1-1533-62f8087716
  • Python: 3.6.8
  • Platform: linux-rhel8-cascadelake
  • Concretizer: original

Best regards,

Masahiro Kuramoto

Steps to reproduce the issue

$ spack install py-nbconvert
...

Information on your system

$ spack debug report

  • Spack: 0.16.1-1580-f1d0a819e9
  • Python: 3.6.8
  • Platform: linux-rhel8-cascadelake
  • Concretizer: original

Additional information

Nothing special.

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions