spack/lib/spack
Massimiliano Culpo 97193a25ce
Mitigation for GitVersion bug when no =reference is given (#36159)
* ASP-based solver: use satisfies instead of intersects

They are semantically equivalent for concrete versions,
but the GitVersion.intersects implementation is buggy

* Mitigation for git version bug

fixes #36134

This commit works around the issue in #36134, by using
GitVersion.satisfies instead of GitVersion.intersects

There are still underlying issues when trying to infer the
"reference version" when no explicit one is given, but:

1. They are not reproducible with our synthetic repo
2. They occur only when the `git.<xxx>` form of Git version
   is used

Here we just work around the user facing issue and ensure
the tests are correct with our synthetic repository.
2023-03-17 11:36:29 +01:00
..
docs Remove leftover command from documentation (#36116) 2023-03-14 20:48:28 -04:00
env compiler wrapper: parse Wl and Xlinker properly (#35912) 2023-03-08 09:03:31 +01:00
external license year bump (#34921) 2023-01-18 14:30:17 -08:00
llnl windows: use sys.platform == "win32" instead of is_windows (#35640) 2023-03-05 07:58:05 -08:00
spack Mitigation for GitVersion bug when no =reference is given (#36159) 2023-03-17 11:36:29 +01:00
spack_installable license year bump (#34921) 2023-01-18 14:30:17 -08:00