[vistrails-dev] [VisTrails] Load valid or latest package version (#1135)
notifications at github.com
Fri Oct 16 09:51:59 EDT 2015
Adds a heuristic for selecting the best package version when multiple are available:
1. Select packages that pass requirements
2. Select latest package version
Caveat: This can cause package_requirements() to be called earlier, but this is only called when trying to load a package anyway.
This method maps identifiers to codepaths, and returns
the first match. This has been updated to return valid
packages first (That passes package_requirements()),
or the latest version if all versions are valid or invalid.
This is used by matplotlib that use different packages for
different versions of matplotlib. (#1133)
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Load valid or latest package version
-- File Changes --
M vistrails/core/packagemanager.py (45)
-- Patch Links --
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vistrails-dev