-
-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Milestone
Description
For all script packages SPKG
that have an embedded source tree -- currently sagelib
, sage_docbuild
, sage_sws2rst
-- we add a new target:
SPKG-tox-%
(which callstox -e %
in the package's source tree)
These targets are particularly useful for invoking them within the portability tests of the top-level tox
:
$ TARGETS_PRE=config.status tox -e docker-ubuntu-focal-standard -- sage_docbuild-tox
invokes the tox testing of thesage_docbuild
distribution$ EXTRA_CONFIGURE_ARGS="--disable-notebook" tox -e docker-ubuntu-focal-standard -- build sagelib-tox-python-sagewheels-nopypi
builds (in a Docker container) the Sage distribution (without Jupyter notebook) and then invokes the tox testing of sagelib (added in sagelib: Generate pyproject.toml and setup.cfg [install_requires], requirements.txt, Pipfile, and src/Pipfile #30913) in a venv populated using the wheels$ tox -e local-homebrew-macos-maximal -- build-local cysignals networkx sagelib-tox-python-sagewheels-sitepackages-norequirements-nopypi
(added in sagelib: Generate pyproject.toml and setup.cfg [install_requires], requirements.txt, Pipfile, and src/Pipfile #30913) builds the non-Python parts of the Sage distribution on top of Homebrew, using a virtual environment that uses homebrew's Python packages$ tox -e local-conda-forge-macos-src-environment -- sage_conf sagelib-tox-python-sagewheels-sitepackages-norequirements-nobuildisolation-nopypi
(needs sagelib: Generate pyproject.toml and setup.cfg [install_requires], requirements.txt, Pipfile, and src/Pipfile #30913, cython_aliases: Do not fail if one of the listed libraries is not known to pkgconfig #31384) uses thesrc/environment.yml
file to set up a complete environment from conda and then tests sagelib in a venv using tox
Depends on #32899
CC: @jhpalmieri @dimpase @kliem @orlitzky @tobiasdiez
Component: porting
Author: Matthias Koeppe
Branch/Commit: ad12d25
Reviewer: Michael Orlitzky
Issue created by migration from https://trac.sagemath.org/ticket/31535