Commit Graph

9 Commits

Author SHA1 Message Date
Antoine Prouvost 1230b92094
Move to Ruff (#3011)
* Use Ruff LSP

* Remove unused imports

* More Ruff fixes

* Remove unused test vars

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Warning fixes

* Import fixtures

* Add ruff pre-commit

* Remove pre-commits checks superceded by ruff

* Fix imports

* Fix ruff warning

* Fix test_linking fixtures

* Fix typo

* Fix test_update fixture import

* Python line-length to 100

* Reformat Python code line length

* Fix typo
2023-11-27 19:10:34 +01:00
Hind-M 806287599c
[Micromamba] Add `env update` (#2827)
* Remove weird piece of code

* Add micromamba env update

* Add env update test

* Add xtl check in tests
2023-09-13 13:15:37 +02:00
Antoine Prouvost 05f1b9b6b3
Refactor test_create, test_proxy, and test_env for test isolation (#2416)
* Deactivate PyCQA line-length warnings

* Proper os.environ restore in pytest

* Add --mamba-pkgs-dir for cache reuse in Pytest

* Set pytest tmp retention policy

* Allow Path in test helpers

* Refactor test_create for isolation

* Improve pytest fixtures

* Refactor test_env.py for test isolation

* Refactor test_proxy for isolating tests
2023-03-29 19:30:38 +02:00
Joël Lamotte (Klaim) 3625231fd3 Added test detecting failure when cleaning removed packages. 2022-10-03 19:19:51 +02:00
Wolf Vollprecht 792e2e5853 make tests pass for now 2021-12-08 14:26:47 +01:00
Wolf Vollprecht c82233dd4b wait for python to start 2021-12-07 23:55:23 +01:00
Wolf Vollprecht 34c2383465 store relative link, add tests 2021-12-07 22:05:12 +01:00
Wolf Vollprecht 6241df934d use remove_or_rename to fix deleting files in use on Windows 2021-12-07 22:05:03 +01:00
Adrien Delsalle bff16c2bdc
Split projects (#1219)
* make a clear split between CMake targets
* split versions between libmamba and mamba
* add libmambapy target for python bindings and make mamba depend on it
* rename CMake options to make them homogeneous, simplify CMake
* remove termcolor from thirdparties, use it as a dependency
* remove unnecessary version global vars and convert to functions
* update CI workflows
2021-10-26 16:01:53 +02:00