Skip to content

Add script-type _spkg_check package that installs tox, mock, pytest etc. #28998

@mkoeppe

Description

@mkoeppe

Following a suggestion by vbraun in #19680, this ticket adds a
_spkg_check package (type=script) that

  • installs the Python packagestox, mock, pytest via pip if SAGE_CHECK=true
  • does nothing otherwise.

The package _spkg_check can be added as a dependency of Python packages that use this standard testing infrastructure, for testing them if SAGE_CHECK=true.

The branch demonstrates this on the package pygments by adding an spkg-check.

If this approach is favored, probably the spkg nose, currently a dependency of cvxopt and networkx, could be removed.

CC: @vbraun @jdemeyer @kiwifb

Component: build

Branch/Commit: public/28998-check_dependencies_package @ 623cb21

Reviewer: Matthias Koeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions