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

Update to Jupyter Packaging 0.10 #3194

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented May 4, 2021

Similar to the update in the TypeScript cookiecutter: https://github.com/jupyterlab/extension-cookiecutter-ts/pull/143/files

We might also want to update widgetnbextension:

requires = ["setuptools>=40.8.0", "wheel", "jupyter-packaging~=0.7.3"]

And: https://github.com/jupyter-widgets/ipywidgets/blob/master/widgetsnbextension/setup.py

Originally brought in #3185 (review)

@jtpio jtpio force-pushed the jupyter-packaging-0-9 branch from fcd824d to 860c97e Compare May 4, 2021 11:02
@jtpio jtpio changed the title Update jupyterlab_widgets to Jupyter Packaging 0.9 Update to Jupyter Packaging 0.9 May 4, 2021
@jtpio
Copy link
Member Author

jtpio commented May 4, 2021

Need to check whether the test failure is related to jupyterlab/extension-cookiecutter-ts#146

@martinRenou
Copy link
Member

We'll need to do that on all other widgets

@jtpio jtpio changed the title Update to Jupyter Packaging 0.9 Update to Jupyter Packaging 0.10 May 6, 2021
@jtpio jtpio force-pushed the jupyter-packaging-0-9 branch from 4288b8f to 5ae06ce Compare May 6, 2021 12:38
@jtpio
Copy link
Member Author

jtpio commented May 6, 2021

Updating to 0.10 which added the skip-if-exists option back.

@jtpio jtpio marked this pull request as ready for review May 6, 2021 13:01
Copy link
Contributor

@bsyouness bsyouness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Are we waiting for someone else to review this before merging?

@jasongrout jasongrout self-requested a review May 18, 2021 17:04
@jasongrout jasongrout closed this May 18, 2021
@jasongrout jasongrout reopened this May 18, 2021
@jasongrout
Copy link
Member

Closing and reopening again to trigger the tests

@jasongrout jasongrout closed this May 19, 2021
@jasongrout jasongrout reopened this May 19, 2021
setup(cmdclass=cmdclass)
setup(
cmdclass=cmdclass,
data_files=get_data_files(data_files_spec),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtpio - I've been wondering about how jupyter_packaging handles data files that don't exist until after the build process. Part of the reason for the complicated build process before was that the data files could not be calculated until after the js was built. How are the data files retrieved with get_data_files before they are built now?

@jasongrout jasongrout merged commit 1bfbcae into jupyter-widgets:master Jun 8, 2021
@jtpio jtpio deleted the jupyter-packaging-0-9 branch June 9, 2021 16:33
@jasongrout jasongrout added this to the 8.0 milestone Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants