-
Notifications
You must be signed in to change notification settings - Fork 61
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
Setting 3.22 as maximum version in plugin metadata.txt is used as 3.22.0 (while we think it should be 3.22.99) #236
Comments
@raymondnijssen Mmm, googling about how version numbering is handled normally, see PEP 440 It looks like 3.22 should be indeed interpreted as 3.22.0 if you use strict checking, but there is also a 'compatibility checking': The packaging version has some tools: https://packaging.pypa.io/en/latest/version.html This is also used to handle all the version regimes in 'requirements.txt' Some python code:
Then there is the So you can set a specification and test Version's against it:
Let me look into @raymondnijssen example:
@sumandari I updated the code above, I think this is very usable? |
In that case maybe somehow specifying this in the example metadata.txt comment would help? BTW, as a human I disagree with normal/formal version numbering. If someone tells me that a plugin works in 3.16, I would be surprised that it does not work in 3.16.4 |
@rduivenvoorde @raymondnijssen I submitted a PR #224 for this issue, but haven't merged it yet. Would you please look into it and give your feedback? Thank you |
This is actually a duplicate of #223 |
Hi All,
recently Raymond published a plugin which had some issues with master version (3.23) so in it's metadata he defined a maximum version as:
BUT users running QGIS 3.22 did not see it. Then in plugins.qgis.org we saw that the minimum version showed
3.22.0
so the people running 3.22.1 and 3.22.2 did not even see the plugin.So our conclusion: apparently 3.22 was internally translated to 3.22.0 while we think that should be 3.22.99 or so?
Only if somebody defined 3.22.0 THEN it should use 3.22.0?
The alternative would be defining 3.23 but that would translate to 3.23.0 which would be shown in master?
The text was updated successfully, but these errors were encountered: