Move notebook conf.d file to use python package name, which will not have a slash in it#80
Open
jasongrout wants to merge 3 commits intojupyter-widgets:masterfrom
Open
Move notebook conf.d file to use python package name, which will not have a slash in it#80jasongrout wants to merge 3 commits intojupyter-widgets:masterfrom
jasongrout wants to merge 3 commits intojupyter-widgets:masterfrom
Conversation
…have / in it.
We have an error using the cookie cutter right now if the npm package name has an org and a slash, like ‘@jupyter-widgets/example’, for example:
Traceback (most recent call last):
File "<snip>/bin/cookiecutter", line 10, in <module>
sys.exit(main())
File "<snip>/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "<snip>/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "<snip>/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "<snip>/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "<snip>/lib/python3.9/site-packages/cookiecutter/cli.py", line 140, in main
cookiecutter(
File "<snip>/lib/python3.9/site-packages/cookiecutter/main.py", line 101, in cookiecutter
result = generate_files(
File "<snip>/lib/python3.9/site-packages/cookiecutter/generate.py", line 352, in generate_files
generate_file(
File "<snip>/lib/python3.9/site-packages/cookiecutter/generate.py", line 179, in generate_file
with io.open(outfile, 'w', encoding='utf-8') as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/<snip>/@jupyter-widgets/example.json'
Member
Author
|
ping @martinRenou for review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We have an error using the cookie cutter right now if the npm package name has an org and a slash, like ‘@jupyter-widgets/example’, for example: