Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Add MAMBARC support to mamba #1373

Merged
merged 15 commits into from
Feb 4, 2024
Merged

Conversation

HaoZeke
Copy link
Member

@HaoZeke HaoZeke commented Jan 28, 2024

Cannot be reviewed until #1372 is in

Closes #1358. Also explicitly removes conda-forge as a default for mamba. Users are free to either:

  • Specify it in their .condarc and use export MAMBARC=$HOME/.condarc
    or (better)
  • Explicitly provide an environment.yml or set the corresponding variable in asv.conf.json

The documentation has also been updated to reflect the same.

@HaoZeke HaoZeke added this to the 0.6.2 milestone Jan 28, 2024
This was referenced Feb 1, 2024
@HaoZeke HaoZeke requested a review from mattip February 1, 2024 20:13
@mattip
Copy link
Contributor

mattip commented Feb 4, 2024

Does this need a rebase now that #1372 is in? Does this need a specific test?

@HaoZeke HaoZeke force-pushed the ctxMamba branch 2 times, most recently from 21f6c13 to 305340a Compare February 4, 2024 11:45
@HaoZeke
Copy link
Member Author

HaoZeke commented Feb 4, 2024

Does this need a rebase now that #1372 is in? Does this need a specific test?

@mattip, I've rebased and added more tests covering all the additional features for the mamba solver, should be good to go.

test/test_environment_bench.py::test_asv_mamba[with_conda_forge] PASSED  [ 50%]
test/test_environment_bench.py::test_asv_mamba[empty_conda_channels] PASSED [ 62%]
test/test_environment_bench.py::test_asv_mamba_condarc[with_proper_condarc_and_mambarc] PASSED [ 75%]
test/test_environment_bench.py::test_asv_mamba_condarc[with_condarc_but_no_mambarc] PASSED [ 87%]
test/test_environment_bench.py::test_asv_mamba_condarc[without_condarc_and_mambarc] PASSED [100%]

@mattip
Copy link
Contributor

mattip commented Feb 4, 2024

CI is not happy. It would be nice to have at least one windows (and maybe one macos) CI run to prove the code works on those platforms as well, since path parsing differs.

@HaoZeke HaoZeke force-pushed the ctxMamba branch 3 times, most recently from 7680638 to 41623c1 Compare February 4, 2024 14:27
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci_win.yml Outdated Show resolved Hide resolved
HaoZeke and others added 2 commits February 4, 2024 14:48
Co-authored-by: mattip <mattip@users.noreply.github.com>
Co-authored-by: mattip <mattip@users.noreply.github.com>
@HaoZeke
Copy link
Member Author

HaoZeke commented Feb 4, 2024

@mattip I think this now ready.

@mattip mattip merged commit cc29be7 into airspeed-velocity:main Feb 4, 2024
14 checks passed
@mattip
Copy link
Contributor

mattip commented Feb 4, 2024

thanks @HaoZeke

@mattip mattip mentioned this pull request Feb 4, 2024
@HaoZeke HaoZeke deleted the ctxMamba branch February 4, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Override default channels for conda / mamba
2 participants