Skip to content

Commit

Permalink
normalize alpha version to not have hyphen in Python
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Nov 12, 2024
1 parent 34ce72e commit 7f465e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vegafusion-python/vegafusion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def patched_version(distribution_name: str) -> str:
vegafusion package. This is just to satisfy Altair's version check.
"""
if distribution_name == "vegafusion-python-embed":
return cast(str, __version__)
return cast(str, __version__).replace("-", "")
return _original_version(distribution_name)


Expand Down

0 comments on commit 7f465e7

Please sign in to comment.