diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-10 22:28:01 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-31 13:40:41 -0700 |
commit | fe6f39b66287a4b3ecade2d776348d44920ec651 (patch) | |
tree | 4a64815172c967cb6bd1c4ce82062dfaa205b7db /.codecov.yml | |
parent | 0cd6555388ad6fafc110bc2aa60f256acf920bcd (diff) | |
download | spack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.gz spack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.bz2 spack-fe6f39b66287a4b3ecade2d776348d44920ec651.tar.xz spack-fe6f39b66287a4b3ecade2d776348d44920ec651.zip |
Use key sorting instead of cmp()
- Get rid of pkgsort() usage for preferred variants.
- Concretization is now entirely based on key-based sorting.
- Remove PreferredPackages class and various spec cmp() methods.
- Replace with PackagePrefs class that implements a key function for
sorting according to packages.yaml.
- Clear package pref caches on config test.
- Explicit compare methods instead of total_ordering in Version.
- Our total_ordering backport wasn't making Python 3 happy for some
reason.
- Python 3's functools.total_ordering and spelling the operators out
fixes the problem.
- Fix unicode issues with spec hashes, json, & YAML
- Try to use str everywhere and avoid unicode objects in python 2.
Diffstat (limited to '.codecov.yml')
0 files changed, 0 insertions, 0 deletions