Skip to content

Meta-ticket: Eliminate use of patches for Python packages #31543

@mkoeppe

Description

@mkoeppe

Installing "sdist + patches" is not supported by Python package infrastructure.

We review existing patches, and for those packages that still need them, we create a repository fork and create and deposit an sdist tarball from here.

Tickets:

Packages with patches can be found as follows:

$ ./sage -package list --has-file install-requires.txt --has-file patches | sort
cvxopt
cypari
cython
dot2tex
ipywidgets
notedown
numpy
pillow
psutil
rpy2
setuptools
sphinx
widgetsnbextension

Also, some Python packages need specific settings of environment variables at build time. Example: #21170 (pypolymake); a new package script such as spkg-env could set these (#29045)

Finally, some packages may install custom configurations, such as the notebook package's jupyter_notebook_config.py that currently gets installed into "$SAGE_INST_LOCAL"/etc/jupyter.

CC: @dimpase @orlitzky @tobiasdiez

Component: build

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

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