diff options
author | Elizabeth Fischer <rpf2116@columbia.edu> | 2016-10-06 05:35:34 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-06 02:35:34 -0700 |
commit | 208537f6f2620cba0520a5856df9387f80a82440 (patch) | |
tree | d1d3e83f2f19e1d815f14ce07c0d44d70be769ff /var | |
parent | a648dc6b334e8a170beab7d983130debc2ea9db1 (diff) | |
download | spack-208537f6f2620cba0520a5856df9387f80a82440.tar.gz spack-208537f6f2620cba0520a5856df9387f80a82440.tar.bz2 spack-208537f6f2620cba0520a5856df9387f80a82440.tar.xz spack-208537f6f2620cba0520a5856df9387f80a82440.zip |
Fix Issues with non-numeric versions, as well as preferred=True (#1561)
* Fix bug in handling of precedence of preferred=True vs. versions given in packages.yaml (#1556)
* Standardized comparison of versions: numeric versions are always greater than non-numeric versions; and non-numeric versions are sorted alphabetically.
This is
a) simple
b) ensures that non-numeric versions (such as 'develop') in package.py are not chosen ahead of numeric versions, when nothing is specified in packages.yaml
Fixes Issue #1557
* Removed debugging output
* Fix variable shadowing bug
* Ensure develop < numeric version.
* Bug fix.
* Passes all unit tests in versions.py
* flake8 fixes
* flake8 fixes
* Changed type test to be more correct.
See http://stackoverflow.com/questions/8203336/difference-between-int-and-numbers-integral-in-python
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions