Opened 23 months ago

Last modified 22 months ago

#31216 closed enhancement

tox.ini (local): Add environment variables to skip system package installs, mechanism for a local interactive shell — at Version 3

Reported by: Matthias Köppe Owned by:
Priority: major Milestone: sage-9.3
Component: porting Keywords:
Cc: Tobias Diez, gh-kliem, Dima Pasechnik Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/tox_ini__local___add_environment_variables_to_skip_system_package_installs__mechanism_for_a_local_interactive_shell (Commits, GitHub, GitLab) Commit: 13f58fc7445bca7f54cc80efea51c1082a615542
Dependencies: #30944 Stopgaps:

Status badges

Description (last modified by Matthias Köppe)

(from #31064)

We add the following to the local-... environments:

  • an environment variable that can be passed to tox to skip system package installs, directly reusing a previously set up system

This can save time and also give developers more control for experiments with system packages.

  • a target give an interactive shell:
    tox -e local-homebrew-macos-standard -- bash
    tox -e local-direct -- bash
    

Change History (3)

comment:1 Changed 23 months ago by Matthias Köppe

Dependencies: #30944

comment:2 Changed 23 months ago by Matthias Köppe

Branch: u/mkoeppe/tox_ini__local___add_environment_variables_to_skip_system_package_installs__mechanism_for_a_local_interactive_shell

comment:3 Changed 23 months ago by Matthias Köppe

Commit: 13f58fc7445bca7f54cc80efea51c1082a615542
Description: modified (diff)

Last 10 new commits:

e5fe752Merge tag '9.3.beta4' into t/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available
78ff9d5src/sage/misc/package.py: Add one more # optional - build
a44042fMerge branch 't/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available' into t/29124/script-packages-prereq-toolchain-bootstrap
64bde5fMerge tag '9.3.beta5' into t/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available
e9a7572src/sage/misc/package.py: Improve source formatting
c7bcda9Merge branch 't/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available' into t/29124/script-packages-prereq-toolchain-bootstrap
9988c5fci-cygwin*.yml: Adjust to new script packages _bootstrap, _prereq
ab19133Merge branch 't/29124/script-packages-prereq-toolchain-bootstrap' into t/30944/tox__improve_local_sudo_ubuntu_standard
c6ad06eMerge branch 't/30944/tox__improve_local_sudo_ubuntu_standard' into t/31216/tox_ini__local___add_environment_variables_to_skip_system_package_installs__mechanism_for_a_local_interactive_shell
13f58fctox.ini (local): Run an interactive shell if posargs are bash
Note: See TracTickets for help on using tickets.