PerspectiveWidget
support for new Python API
#2658
Merged
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.
Adds
PerspectiveWidget
. Lots of small changes applied, most notably removal of client-only e.g.client=True
mode, but some care has been taken to maintain the rudiments of 2.10.1's user-facing API, at least so far. I would like to consider removing theViewConfig
traitlets as well in the future, asrestore()
is the preferred way to do this from both a usability and performance pov. This component needs a lot more cleanup, this PR just updates the internal API relevant parts.perspective-jupyterlab
client extension assets. These now usematurin
's data directory support to package the assets, which are built usingjupyter-packaging
'slabextension install
webpack builder.aarch64
builds for OSX. I've also added support for this architecture on Linux Provide linux aarch64 wheels #2221, but it is not yet enabled on CI (and hence will not distribute), as I am not sure how we can test it just yet. Suggestions welcome.PerspectiveWidget
, these steps were omitted from this PR and included here.perspective-server
andperspective-client
have been reorganized to allow a new variant of theSession
type introduced in Perspective Virtual API (Python) #2625,ProxySession
, which allows an existingClient
instance to itself act as aSession
for anotherClient
. This change was necessary to supportPerspectiveWidget
, as the API was designed for (and remains convenient for) working onTable
instances directly, for which the new API prevents access to the originatingServer
._version.py
in the Python package.perspective-jupyterlab
andperspective-python
dependency ranges to allow JupyterLab 4. This was already technically supported but will no longer warn of version mismatches.