quaint-telephone-89068
02/06/2023, 5:51 PMpytest<=1.0.0 and the lock-file has pytest==1.0.0, than I consider the lock-file to be valid.
However, if I then change the constraint to pytest>1.0.0, then the lock-file is no longer valid and needs to be re-generated.
While running a relevant target will result in an error, it is not enough as I'm still in the process of integrating Pants into our flow and, unfortunately, the process will take a few more months.
In the meantime, people push new commits that might make the lock-file invalid without it being flagged in CI.
pantsbuild/pants