View Single Post
Old 01-14-2025, 12:08 PM   #1
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Beta plugins version number

Suppose I have a plugin with version number in __init__.py specified as

__version__ = (1, 2, 3)

Then I want to make a new version 1.3.0 but want it to be tested and also labelled as beta

I can change the version to something like

__version__ = (1, 3, 0 , 'beta' , 1)

But if anyone has installed this version manually, what happens when 1.3.0 is officially released, Will calibre know to prompt to install beta users to update, or does it think (1, 3, 0 , 'beta' , 1) is newer than (1, 3, 0) ?

Should I use __version__ = (1, 2, 2, 99, 'beta', '1') instead?
sgmoore is offline   Reply With Quote