Skip to content

Replace use of sage.misc.package.PackageNotFoundError (2); lazy_import: Add keyword argument 'feature' #30616

@mkoeppe

Description

@mkoeppe

This helps with the modularization of sagelib.

We demonstrate its use by simplifying:

  • sage.groups.braid (which depends on the optional library libbraiding via sage.libs.libbraiding). Actually a standard package
  • sage.sat.solvers.cryptominisat, .picosat
  • sage.matrix.matrix_space (meataxe)
  • sage.graphs.graph (tdlib, mcqd)

This simplification helps eliminate the use of sage.misc.package.PackageNotFoundError. See #30607.

CC: @kiwifb @jhpalmieri @slel @seblabbe @dcoudert

Component: refactoring

Author: Matthias Koeppe

Branch: e1f6624

Reviewer: David Coudert

Issue created by migration from https://trac.sagemath.org/ticket/30616

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions