-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
Not quite sure where the test failures are coming from. They seem unrelated to the changes I made |
Looks good! We'll need some tests of this here as well. I think you could add one of path-based format inference here: altair_saver/altair_saver/tests/test_core.py Lines 309 to 315 in e710a76
and add one of file opening and writing here: altair_saver/altair_saver/tests/test_utils.py Lines 63 to 72 in 46cdbff
As a side-note, it looks like we don't have any integration tests of saving a chart to a disk. That is indirectly covered by unit tests of the relevant utilities, but since saving a chart is a core functionality of this library, it would be better to have a full end-to-end test of that behavior! |
Wouldn't
fp ?
If so, I'm not sure I understand the current test. The |
The test aims to exercise format inference from either a file pointer (in which case |
Oh, I see. In that case one would want to test four different possible values for
with format inference working as inteded for 1-3 and failing in the fourth case? |
Yeah, that sounds right. |
New tests look great! |
The build seems to have encountered an internal error. Any way to trigger a new one manually? |
I triggered a new run |
Lots of failing tests but none look like they're due to the changes? |
Yeah, looks like there are failures on master due to tests not being resilient to dependency updates. |
Also the lint job is just failing for reasons I don't understand. |
That makes two of us then :) |
Thanks for you PR @RoyalTS . As you have noticed, there hasn't been any development in this repo for a while. Since Altair 5.2, the functionality of Altair Saver is now available in Altair via the vl-convert package. Most of the functionality has been available since 5.0, and the main addition in 5.2 was PDF export. See the docs on how to save charts 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 saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo. |
Complement to vega/altair#2355