-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cross-platform support for the new menuinst (#474)
* support alphas and other non-int minor versions * act on .version * fix conda version handling again * add shortcuts handling on linux / macos * change how --shortcuts-only is set * handle shortcus with --shortcuts-only now * simplify shortcut flags generation * conda-standalone always available as $PREFIX/_conda.exe * revert accidental error on rebase * make shortcuts optional on windows again * rework some options * fix macro conditional * ensure conda is in base env for extra_envs so we can remove the has_conda check from header.sh * update script path * escape curly braces * render docs * fix quotes * adjust cli syntax * define CONDA_ROOT_PREFIX so conda-standalone doesn't incorrectly use its own sys.prefix * set CONDA_ROOT_PREFIX on uninstaller too * add env shortcuts.txt to shar * remove unused import * ppd templating doesn't support nested ifs * add 'enable_shortcuts' to shellcheck * pre-commit * sync docs * fix shellcheck * relax test * only sh * revert to 'all' * create .nonadmin if not run as sudo * add menuinst v2 tests * Try with bundle_tools_2 and let's see what happens! * missing .exists() * fix expected paths * print windows install logs to stderr * move back to napari/label/bundle_tools_3 * darwin in lowercase * debug windows ci * try using cmd on windows? * move tmate * assert before uninstalling * restore workflow * force activate constructor-dev * do not initialize conda by default * restore main.yml * guard against undefined env vars * remove dup key * deprecate menuinst wrappers * revert bad merge * allow micromamba in some cases * better place for guards * add docs * pre-commit * rerender docs * process all envs under $INSTDIR * extend not append * this is already a list * enable micromamba tests on Windows * do not skip here either * do not test micromamba x windows yet * use regular conda-standalone nightly * test miniforge shortcuts too * pre-commit * debug * retrigger * revert * fix expected path * debug conda-standalone 23.10 * debug uninstall logs too * try more verbosity * fix SetDetailsPrint * logset on in uninstall * pass name * tmate again * revert debugging and require conda-standalone 23.11 * comment version out for now * remove libmamba specific test * add news * skip / xfail as needed * warn early about incompatible conda-exes * test menu_packages from extra_envs * debug * fix directory * revert debugging * allow None * pre-commit * win-select menu_packages too * revert -k selector * mark as incompatible, not disabled * fix shellcheck tests * fix conda_exe param * fix $env_shortcuts * rename conda.exe to _conda on Unix * pre-commit * pre-commit * compare enable_shortcuts to strings * return early --------- Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
- Loading branch information
Showing
28 changed files
with
509 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.