When install this template package from dokku, lacks of the dependency jupyter. Which lead to the error:
Building wheels for collected packages: voila-materialscloud-template, nglview, optimade-client
Building wheel for voila-materialscloud-template (setup.py): started
Building wheel for voila-materialscloud-template (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
/app/.heroku/python/lib/python3.9/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
/app/.heroku/python/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_egg_info
running egg_info
writing voila_materialscloud_template.egg-info/PKG-INFO
writing dependency_links to voila_materialscloud_template.egg-info/dependency_links.txt
writing requirements to voila_materialscloud_template.egg-info/requires.txt
writing top-level names to voila_materialscloud_template.egg-info/top_level.txt
reading manifest file 'voila_materialscloud_template.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'voila_materialscloud_template.egg-info/SOURCES.txt'
Copying voila_materialscloud_template.egg-info to build/bdist.linux-x86_64/wheel/voila_materialscloud_template-0.3.14-py3.9.egg-info
running install_scripts
/bin/sh: 1: jupyter: not found
ERROR while copying template: Could not decode shell command 'jupyter --paths --json' as JSON.Original exception:
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-7ora5uco/voila-materialscloud-template_22e6d1b8761b4402971e1a4356dd7a20/setup.py", line 43, in <module>
setup(
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/app/.heroku/python/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 335, in run
self.run_command('install')
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/app/.heroku/python/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/tmp/pip-install-7ora5uco/voila-materialscloud-template_22e6d1b8761b4402971e1a4356dd7a20/setup.py", line 19, in run
post_install()
File "/tmp/pip-install-7ora5uco/voila-materialscloud-template_22e6d1b8761b4402971e1a4356dd7a20/setup.py", line 11, in post_install
check_call(['./copy_voila_template.py', template], cwd=TOP_DIR)
File "/app/.heroku/python/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./copy_voila_template.py', 'materialscloud']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for voila-materialscloud-template
Running setup.py clean for voila-materialscloud-template
Building wheel for nglview (pyproject.toml): started
Building wheel for nglview (pyproject.toml): finished with status 'done'
Created wheel for nglview: filename=nglview-3.0.3-py3-none-any.whl size=8057536 sha256=f9551c30931bc845fd39086e6cfbf05b6a47121c1f9c6c750f8c1c15639c44bc
Stored in directory: /tmp/pip-ephem-wheel-cache-292aqynb/wheels/db/31/9c/29d0a90fc9b34fcb1f6ccb352352cae800609195d7387eadfb
Building wheel for optimade-client (setup.py): started
Building wheel for optimade-client (setup.py): finished with status 'done'
Created wheel for optimade-client: filename=optimade_client-2022.9.19-py3-none-any.whl size=181638 sha256=e5e76ea6bf8283a624f98b92aa30a90ad28b97cc322b3b05f472825aa86f96a2
Stored in directory: /tmp/pip-ephem-wheel-cache-292aqynb/wheels/dd/84/06/bd746b49f1e247556487702138b2bffce32dc625320d246335
Successfully built nglview optimade-client
Failed to build voila-materialscloud-template
When install this template package from dokku, lacks of the dependency
jupyter
. Which lead to the error: