* test: Non-regression test
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* fix: Use penultimate libsolv's log level
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Only run `test_env_spdlog_overhead_regression` on Linux
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
* Add time-out on test and rename conda env
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
* Decrease timout to 15 seconds and use dry-run
A dry run takes slightly less than 10 seconds.
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Use bounded value of `output_params.verbosity` as in 1.x
See: https://github.com/mamba-org/mamba/blob/1.x/libmamba/src/core/pool.cpp#L72
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Instead define and use and alternative `set_level`
I was hesitating between the previous solution and
this one (which is not really ideal either) but
which at least does not leak the `Context`.
Friend function could be used but we get this kind of
issue, but I am currently meeting this problem:
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2174
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Revert "Instead define and use and alternative `set_level`"
This reverts commit f1f41b71d0.
* Simply hardcode the verbosity level to 3
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
* Increase timeout from 15 to 30 seconds
15 seconds is not sufficient as shown on the CI.
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* From 30 sec to 60 sec
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* DEBUG No timeout
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* test: Remove edge-case for unlinks
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* test: Adapt number of unlinks on Linux
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Assert success
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
* docs: Update comments
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* `const`-qualify `level`
* Use 100 seconds for the timeout
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
* Use 200 seconds for the timeout
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* Adapt according to `1.x`'s behavior
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
* fixup! Adapt according to `1.x`'s behavior
* Revert changes to handle CI failures
This is handled by another PR.
See: https://github.com/mamba-org/mamba/pull/3417
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
---------
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
Co-authored-by: Hind Montassif <hind.montassif@gmail.com>
* Map packages names starting with '_' to match OCI registries rules (and CEP 70)
* Use _go_select instead of _libgcc_mutex in tests
Remove dry-run and check result with umamba_list
* Add doc and micromamba python test
* Add some tests for mirrors
* Use another channel name to avoid interfering with conda-forge
* Add test parameter to use libsolv parser
* Remove dry-run from tests
* Refactor make_virtual_package
* Refactor macos_version
* Add new windows_version
* Add __win virtual package version
* Use new util::windows_version
* Add virtual packages version test
* Add Plaform os detection
* Refactor linux_version
* Fix linux_version on mac with unix_name_version
* Added HTTP Mirrors
* Mirror mirror on the wall...
* True hope lies beyond the coast
* You're a damned kind can't you see
* That the winds will change
* Mirror mirror on the wall
* True hope lies beyond the coast
* You're a damned kind can't you see
* That tomorrow bears insanity
* tested and working
* docs update
* disallow multiple spec types
* add test for only one yaml specifies channel
* fix install yaml test
* Update micromamba/tests/test_create.py
Co-authored-by: Jonas Haag <jonas@lophus.org>
* Update micromamba/tests/test_create.py
Co-authored-by: Jonas Haag <jonas@lophus.org>
* suggestions
* separate loop
* appease the linter
* another test
---------
Co-authored-by: Jonas Haag <jonas@lophus.org>
* TMP disable Unix tests
* Try refactor win CI
* Add libmambapy tests
* Run Windows libamamba tests via CMake
* Add Windows menuinst dependency
* Fix typo
* Debug libmambapy tests Win
* Add micromamba tests windows
* Call test_libmamba from different paths
* Merge workflow launchers
* Fix libmamba tests win
* Fxi
* Fix workspace key
* DEbug win
* Implement local channel tests as part of the intergration tests
* Try Win libmamba tests bash
* Cleanup
* Restore Unix tests
* Make test local channel noarch
* Fix workspace action number
* No error on test cleanup in CI
* Reduce number of threads to conda-index
* Disable local channel tests on Windows
* Fix channels with slashes regression
* fix formatting
* make the test isolated
Co-authored-by: Antoine Prouvost <AntoinePrv@users.noreply.github.com>
* Add more tests
* Use pytest utilities for negative testing
* Add extra test doc
---------
Co-authored-by: Antoine Prouvost <AntoinePrv@users.noreply.github.com>
* Improve `is_writable` on non-existing sub-folders
Co-authored-by: Katrin Muck <katrin.muck@tuwien.ac.at>
* Add contains test case
* Include envs_dirs in target_prefix computation
* Use target_prefix and root_prefix in micromamba shell cmds
* Add umamba envs_dirs activation test
* Add envs_dirs create test
* Mantain umamba shell cmds backward compat
* Improve activate error message
* Fix activation on windows
---------
Co-authored-by: Katrin Muck <katrin.muck@tuwien.ac.at>
* micromamba: add tests creating/installing with pip in prefix with whitespaces
* Fixed installing with pip when prefix have whitespaces on Windows
Co-authored-by: Jonas Haag <jonas@lophus.org>
* Fixed: `--json` throwing exceptions in some situations (lockfiles)
* Refactored Console pimpl handling
* Automatic json printing instead of explicit.
* added a way to cancel the print of json log from libmamba, used in mamba which already output the right json;
From now on the json output will be automatically printed at the end of the program
(after `main()` call) instead of explicitly invoked.