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

Fix table display wrapper #103

Merged
merged 3 commits into from
May 28, 2024
Merged

Conversation

trungleduc
Copy link
Contributor

No description provided.

@trungleduc
Copy link
Contributor Author

cc @martinRenou @achhina

Copy link
Collaborator

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks

@martinRenou
Copy link
Collaborator

Can you bump the version number so we can release right away after this PR?

@martinRenou
Copy link
Collaborator

The version is also hardcoded in beakerx_tabledisplay/beakerx_tabledisplay/_version.py

from IPython.display import display_html
from IPython.display import display
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not for this PR, but I realized this file is misspelled - we should fix that.

"version": "2.4.3",
"version": "2.4.4",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Versioning ergonomics tangent:

This would be for the front-end which I don't think is strictly required here for this patch? If this is to keep the two versions of the widget pinned together, that seems preferred to me too. Is there a versioning mechanism that other Jupyter projects use in these scenarios, where they can bump both versions without updating the respective lock/requirements files individually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Most Jupyter packages keep frontend and backend versions in sync. We use only the version number in the package.json file for both. The Python version number is generated at release-time.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We could technically publish of new version of the Python package of beakerx_tabledisplay without bumping the frontend version indeed. There is a loose requirement for the front-end package, the Python package will work with any front-end extension as long as the widget models are compatible (which is the case in this PR).

@achhina achhina merged commit db64522 into twosigma:master May 28, 2024
1 of 2 checks passed
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.

3 participants