diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-12-14 15:44:56 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-12 20:00:10 +0100 |
| commit | 05686efeb2275e477c5ff760a66070ac87abf15f (patch) | |
| tree | 3afea22200c1a808c31b8da3a5901e4dae45abf9 /gnu/packages | |
| parent | 23c0e85f76edbf53edf8e7385920e6cb2225784b (diff) | |
gnu: conda: Rename to conda-bootstrap.
* gnu/packages/package-management.scm (conda): Rename to...
(conda-bootstrap): ...this.
[arguments]<#:phases>{pre-check}: Also set CONDA_PKGS_DIRS.
[propagated-inputs]: Add python-archspec, python-boltons, python-boto3,
python-charset-normalizer, python-conda-package-handling,
python-conda-content-trust, python-distro, python-frozendict,
python-jsonpatch, python-menuinst, python-packaging, python-platformdirs,
python-pluggy, python-pycosat, python-requests, python-ruamel.yaml,
python-setuptools, python-tqdm, python-truststore, python-zstandard.
[inputs]: Remove all. Add python-wrapper.
Change-Id: I8f6a3ae4c8c1edceee1be43721c61014cf4da120
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/package-management.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 74f7b1274ce..c625c57520a 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1448,9 +1448,9 @@ allows you to declare the libraries your project depends on and it will manage (install/update) them for you.") (license license:expat))) -(define-public conda +(define-public conda-bootstrap (package - (name "conda") + (name "conda-bootstrap") (version "25.9.1") (source (origin @@ -1588,21 +1588,20 @@ manage (install/update) them for you.") (setenv "HOME" "/tmp") (invoke (string-append #$output "/bin/conda") "init"))) (add-after 'unpack 'set-default-solver-to-classic - ;; XXX: Remove when conda-libmamba-solver is packaged. (lambda _ (substitute* "conda/base/constants.py" (("DEFAULT_SOLVER: Final = \"libmamba\"") "DEFAULT_SOLVER: Final = \"classic\"")))) (add-before 'check 'pre-check (lambda _ - ;; TODO: Package libsolv, libmamba, and conda-libmamba-solver: - ;; <https://github.com/openSUSE/libsolv>, - ;; <https://github.com/conda/conda-libmamba-solver>, - ;; <https://github.com/mamba-org/mamba>. (setenv "CONDA_CLASSIC_SOLVER" "classic") (setenv "CONDA_DEFAULT_SOLVER" "classic") + ;(setenv "CONDA_SOLVER" "classic") (setenv "CONDA_TEST_SOLVERS" "classic") - (setenv "HOME" "/tmp"))) + (setenv "HOME" "/tmp") + ;; Prevent tests from writing package cache to the output + ;; directory, which would cause non-reproducible builds. + (setenv "CONDA_PKGS_DIRS" "/tmp/conda-pkgs"))) (add-after 'wrap 'wrap-executable (lambda _ (wrap-program (string-append #$output "/bin/conda") @@ -1631,12 +1630,11 @@ manage (install/update) them for you.") python-pytest-xprocess python-responses python-werkzeug)) - (inputs + (propagated-inputs (list python-archspec python-boltons python-boto3 python-charset-normalizer - ;; python-conda-libmamba-solver ;TODO: not packaged yet python-conda-package-handling python-conda-content-trust python-distro @@ -1652,8 +1650,9 @@ manage (install/update) them for you.") python-setuptools python-tqdm python-truststore - python-wrapper ;XXX: Check if it's actually required python-zstandard)) + (inputs + (list python-wrapper)) ; for the tests test_init_all, test_initialize_dev_bash, test_initialize_dev_cmd_exe (home-page "https://github.com/conda/conda") (synopsis "Cross-platform, OS-agnostic, system-level binary package manager") (description |
