Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Version 0.4.0 does not include updated listing.json #50

Closed
tempdata73 opened this issue Jul 9, 2022 · 3 comments
Closed

Version 0.4.0 does not include updated listing.json #50

tempdata73 opened this issue Jul 9, 2022 · 3 comments

Comments

@tempdata73
Copy link

tempdata73 commented Jul 9, 2022

Newest version 0.4.0 does not include vega-lite version 5.2.0 in its listing.json file.

This has a cascading effect and generates an error when trying to build documentation on the altair repo (I actually discovered this whilst addressing #2645).

Reproducing the error

Just run make html under the doc directory, having all requirements installed via pip.

Error message:
exception: No matches for version='5.2.0' among ['4.0.2', '4.8.1', '4.17.0'].
Often this can be fixed by updating altair_viewer: pip install -U altair_viewer

This, however, does not fix the problem.

Possible solution

Taking a look at the logs, altair_viewer's latest version was published on November 2021, while the listing.json file was updated on January 2022. If I'm not terribly mistaken, republishing the package would fix this problem.

@RomeshA
Copy link

RomeshA commented May 24, 2023

It would be great to have an update for this because the base altair package has now been updated on PyPI to expect v5.8, so it's no longer possible to view plots locally since the update to altair_viewer adding vega-lite-5.8.0.js hasn't been deployed yet

@franzhaas
Copy link

I believe this is related to this one.:

#52

@joelostblom
Copy link
Member

Since Altair 5.3, the functionality of Altair Viewer is now available in Altair via the vl-convert package instead. See the docs on how to use the browser renderer to display charts via .show(), and the PR vega/altair#3379 for more details.

We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for rendering charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.

@joelostblom joelostblom closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants