This fix makes sure that nougat installs lightning 2.x.x and not lightning 2022.10.25 which is older that 2.x.x
lightning used to use year.mm.dd versioning scheme before they switched to the standard semantic versioning. Without this fix, lightning>=2.0.0 matched 2022.10.25 which is older than 2.x.x. This leads to a deprecation warning or broken installation (depending on the python/pip versions) due to the bug in older lightning versions.
This fix makes sure that nougat installs lightning 2.x.x and not lightning 2022.10.25 which is older that 2.x.x
lightning
used to useyear.mm.dd
versioning scheme before they switched to the standard semantic versioning. Without this fix,lightning>=2.0.0
matched2022.10.25
which is older than2.x.x
. This leads to a deprecation warning or broken installation (depending on the python/pip versions) due to the bug in older lightning versions.