plotly / Kaleido

Fast static image export for web-based visualization libraries with zero dependencies
Other
363 stars 36 forks source link

Use Semantic Versioning #89

Closed FranzForstmayr closed 3 years ago

FranzForstmayr commented 3 years ago

Current versioning scheme breaks tools which are heavily depending on semantic versioning, like poetry https://python-poetry.org/ The actual version 0.2.1.post is not compatible with semver https://semver.org/.

Semver provides a regex check for versions here: https://regex101.com/r/Ly7O1x/3/

It would work already if you replace the last dot with a dash, like 0.2.1-post

FranzForstmayr commented 3 years ago

I just found https://www.python.org/dev/peps/pep-0440/#post-release-separators :)

jmigual commented 2 years ago

Hey @FranzForstmayr did you find a way to install version "0.2.1.post1" with poetry?

FranzForstmayr commented 2 years ago

Hi, no, I didn't find a way to install kaleido with plotly, but it's a issue of poetry, that's why I closed this one. I see you already participated in the relevant poetry issue on gitlab, I hope it will be fixed soon.

As a workaround I simply install kaleido with pip in an install script.

jmigual commented 2 years ago

By the way, I found out that you can install version 0.2.1. instead of post1 (as the later only added support for ARM) by doing poetry add kaleido==0.2.1 and it works fine.