#18581: standard_packages()... should output installed and available versions
-------------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.8
Component: misc | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #18456 | Stopgaps:
-------------------------------+------------------------
Description changed by jdemeyer:
Old description:
> Currently, the function `standard_packages()` only gives the latest
> available version of a package, not the version which is installed. I
> propose to actually return a list of triples
> {{{
> (package_name, installed_version, latest_version)
> }}}
> where `installed_version` is `None` if the package is not installed and
> `latest_version` is the newest available version.
>
> If, for example, arb-2.5.0 is installed but arb-2.6.0 is availble, then
> one such triple would be
> {{{
> ('arb', '2.5.0', '2.6.0')
> }}}
>
> If arb is not installed, this would be:
> {{{
> ('arb', None, '2.6.0')
> }}}
New description:
Currently, the function `_package_lists_from_sage_output` only gives the
latest available version of a package, not the version which is installed.
I propose to actually return a list of triples
{{{
(package_name, installed_version, latest_version)
}}}
where `installed_version` is `None` if the package is not installed and
`latest_version` is the newest available version.
If, for example, arb-2.5.0 is installed but arb-2.6.0 is availble, then
one such triple would be
{{{
('arb', '2.5.0', '2.6.0')
}}}
If arb is not installed, this would be:
{{{
('arb', None, '2.6.0')
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18581#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.