Commit Graph

24 Commits

Author SHA1 Message Date
Erik Sundell
7a491e403c Merge branch 'main' into conda-channels 2024-09-04 13:16:58 +02:00
Min RK
634956c33e Update base user environment to miniforge 24.5.0-0 (Python 3.12)
mambaforge is deprecated, mamba has been in miniforge for some time now
2024-08-27 10:54:07 +02:00
pre-commit-ci[bot]
b35851f2b7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 20:29:33 +00:00
pre-commit-ci[bot]
9bde7e4680 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-29 21:35:50 +00:00
YuviPanda
6359bf498c Merge remote-tracking branch 'upstream/main' into conda-channels 2023-09-29 14:27:25 -07:00
pre-commit-ci[bot]
e95942d61b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 08:51:36 +00:00
Erik Sundell
b366d6b63f Remove unused copy-paste remnants in tests 2023-05-15 10:49:56 +02:00
Min RK
b5a6b3f590 Avoid downgrading user-env conda/mamba
- Only check lower bound on conda/mamba, upgrade unbounded if not matched (let conda apply upper bound according to existing pins, such as Python)
- handle missing mamba
- avoid upgrading Python by aborting the install, instead of keeping old envs
- minimum supported Python for user env is 3.9
- Fix output reporting of conda install step (no need for json capture when we don't parse the output - exit codes will do)
2023-03-27 13:20:22 +02:00
Min RK
1a3c48a500 Update base user environment to mambaforge 22.11.1-4
shift some duplicated code into utility functions and constants
2023-03-21 14:37:50 +01:00
Will Dampier
fc8f70463c Adding the ability to define conda channels 2022-09-02 14:10:43 -04:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Connor Dibble
a91571dd22 Support Arm64 CPU architectures 2021-11-03 23:06:37 +01:00
Erik Sundell
c2c4d708f5 pyupgrade fixes 2021-10-31 11:26:40 +01:00
Simon Li
80b347349a Update to mambaforge_version 4.10.3-7 2021-10-18 22:51:12 +01:00
Simon Li
0018beca4f Switch to mambaforge 2021-10-18 19:41:50 +01:00
YuviPanda
f82c49c12c Use sha256 sums for verifying miniconda download
miniconda downloader now provides sha256 hashes. Previously
it provided only md5 hashes. md5 is deprecated everywhere for
everything, so let's use this
2020-05-29 13:32:55 +03:00
GeorgianaElena
8b5d7ee79a Bump conda in tests too 2020-01-30 12:05:54 +02:00
GeorgianaElena
fd81e9fef4 Bump conda to 4.7.10 2020-01-30 12:05:54 +02:00
GeorgianaElena
2bc44e672b pin conda version in tests 2019-08-26 15:13:19 +03:00
yuvipanda
e97b81fe7a Require miniconda to be installed for conda. to work
We can no longer assume that sys.executable has conda
installed. Instead, we require that prefix has conda installed.
This requires miniconda to be installed into prefix.
2018-07-20 11:30:11 -07:00
yuvipanda
3d74ee71b3 Add option to install requirements.txt file on install
Also add docs about --admin option

Refer #49
2018-07-18 01:01:37 -07:00
yuvipanda
f7813a9385 Add function to install packages from pip too 2018-06-26 17:38:56 -07:00
yuvipanda
92558e913e Add unit test for conda environment management
- Also fix a bug caught by unit test!
2018-06-26 04:40:39 -07:00