potiuk edited a comment on pull request #21145:
URL: https://github.com/apache/airflow/pull/21145#issuecomment-1026014527
> @potiuk I was testing with one of the versions of docker that is lower
than the minimum docker version
>
> ```
> docker version --format '{{.Client.Version}}'
> 19.03.5
> ```
>
> But when validated with semver library, it says it's a invalid version
name.
>
> ```
> In [2]: VersionInfo.isvalid("19.03.5")
too strict semver :)? I guess it's the leading 0 in 03. Maybe normalizing it
similar to the SO thread would help (or maybe semver has an option to accept
leading 0s ?) :
https://stackoverflow.com/questions/52510965/how-to-remove-leading-zeros-from-version-number-string
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]