#16759: install_package() is obsolete
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.9
      Component:  misc               |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/install_package___is_obsolete|  
ec6c23a895a72e46b4920ee08a5de73a3d269791
   Dependencies:                     |     Stopgaps:  #16760
-------------------------------------+-------------------------------------
Description changed by jdemeyer:

Old description:

> Packages should be installed using `sage -i` from a shell, not with the
> `install_package()` Sage command.
>
> For consistency in error message, we introduce the exception
> `PackageNotFoundError` which should be used to signal that a package is
> not installed. This idea was taken from an existing but unused exception
> `OptionalPackageNotFoundError` (which is removed).

New description:

 Packages should be installed using `sage -i` from a shell, not with the
 `install_package()` Sage command.

 For consistency in error messages, we introduce the exception
 `PackageNotFoundError` which should be used to signal that a package is
 not installed. This idea was taken from an existing but unused exception
 `OptionalPackageNotFoundError` (which is removed).

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16759#comment:27>
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.

Reply via email to