You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python ./misc/releaser.py build --version 3.3.0-rc.12
Traceback (most recent call last):
File "/home/emmanuel/projects/parsec-cloud/./misc/releaser.py", line 1088, in <module>
args.func(args)
File "/home/emmanuel/projects/parsec-cloud/./misc/releaser.py", line 773, in build_main
raise ReleaseError(
ReleaseError: Current version is greater or equal that the new version (3.3.0-rc.12+dev >= 3.3.0-rc.12).
If you want to create a new release using the current version, use the `--current` flag instead of `--version <VERSION>`.
We used to rely on a custom semantic for versioning where X.Y.Z+dev means "the development version following the release of version X.Y.Z"
However we now follow PEP440 semantic where everything after a + sign correspond to the local part (e.g. 1.0.1+ubuntu.1), so X.Y.Z+dev now means "version X.Y.Z build for dev local"
In a nutshell, we should replace +dev by .dev
Relevant output:
No response
The text was updated successfully, but these errors were encountered:
We are more following semver that pep440 (because only python follow that semantic and is not supported by other tools that use semver instead like rust, npm, docker).
We found a middle ground where we can have a version that is compatible between semver and pep440 by putting dev in the build metadata instead of the pre-release part and having new version start at alpha.0 stage.
Using dev in the pre-release part would cause issues with ordering semver version for alpha , beta & dev versions causing the following 1.0.0-alpha.1 < 1.0.0-beta.1 < 1.0.0-dev.1
That also allow us to release dev version of release-candidate in the nightly build:
That nightly release as the following version 3.3.0-rc.12.dev.20142+f0a3e31 with the PEP440 formatted version 3.3.0rc12.dev20142+f0a3e31
Parsec version tested on:
master
Platforms tested on:
Any
Bug description:
We used to rely on a custom semantic for versioning where
X.Y.Z+dev
means "the development version following the release of versionX.Y.Z
"However we now follow PEP440 semantic where everything after a
+
sign correspond to the local part (e.g.1.0.1+ubuntu.1
), soX.Y.Z+dev
now means "version X.Y.Z build fordev
local"In a nutshell, we should replace
+dev
by.dev
Relevant output:
No response
The text was updated successfully, but these errors were encountered: