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

chore: Add upper version bound on VegaFusion #3638

Merged
merged 3 commits into from
Oct 13, 2024

Conversation

jonmmease
Copy link
Contributor

This PR is looking ahead toward the future release of VegaFusion 2. It adds an upper version bound in the all group, and makes a tweak to how the VegaFusion versions are validated.

I'm hoping there won't be breaking changes wrt to Altair's usage of VegFusion, but want to be safe.

VegaFusion 2 will only have a single Python package named VegaFusion (vegafusion-python-embed will be no more). If I can make things backward compatible, I'll patch things so that calling importlib_version("vegafusion-python-embed") will return the same version as importlib_version("vegafusion") so that our validation passes. To make this possible in the future, I moved the vegafusion import above these checks.

@jonmmease jonmmease changed the title Add upper version bound on VegaFusion chore: Add upper version bound on VegaFusion Oct 12, 2024
@dangotbanned dangotbanned self-requested a review October 13, 2024 12:13
Copy link
Member

@dangotbanned dangotbanned left a comment

Choose a reason for hiding this comment

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

Seems like a good idea to me, thanks @jonmmease
We should probably consider setting upper bounds more often.

I was planning to suggest some changes to fix the # type: ignore, but realised that it ended up touching 4 other files.

Looks good to me

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.

2 participants