Commit Graph

143 Commits

Author SHA1 Message Date
David Brochart 4bbfbc2735
[skip ci] Fix typo (#4000) 2025-07-01 09:37:27 +02:00
John Muradeli 1573192395
doc: Mention fix for ``libmamba Download error (7) Could not connect ...`` (#3980) 2025-06-11 10:07:52 +02:00
Antoine Prouvost e39ddf4833
Remove obsolete mamba/micromamba differences (#3924) 2025-05-05 21:03:23 +02:00
Antoine Prouvost 5f4759e271
Fix VersionSpec globs (#3889) 2025-04-18 08:32:17 +02:00
Hind-M 8824be1105
Use correct `url` in metadata and mirrors (#3816) 2025-02-21 10:48:45 +01:00
John Blischak c34de5e488
docs: Document that mamba 2 only supports trailing globs in version strings (#3783) 2025-02-05 11:07:48 +01:00
Ayaz Salikhov 95eb248ee8
maint: Update pre-commit hooks (#3746) 2025-01-15 18:38:36 +01:00
Ayaz Salikhov d0c7458839
maint: Add prettier pre-commit hook (#3663) 2025-01-13 09:09:07 +01:00
TechnoHouse 374228f860
Update Linux installation script for Nushell (#3721) 2025-01-09 09:59:11 +01:00
Julien Jerphanion 6e6515ecfb
docs: Use a portable web request for Windows (#3704)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-19 16:54:42 +01:00
Julien Jerphanion dd5abc39b4
docs: Clarify installation of lock file (#3686)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-11 14:30:40 +01:00
Ayaz Salikhov f67914ef8a
maint: Add pyupgrade pre-commit hook (#3671) 2024-12-09 17:05:54 +01:00
Julien Jerphanion 9d6281c5ed
docs: Adapt shell completion subsection (#3672)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-09 15:39:17 +01:00
Ayaz Salikhov b6150dba8f
maint: Restructure docs configuration file and improve docs pages (#3615) 2024-12-06 10:12:40 +01:00
Julien Jerphanion a595d0d19c
docs: Remove installation non-recommendation (#3656)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-04 18:04:03 +01:00
Julien Jerphanion c9eddf3ccd
docs: Remove hint on Homebrew (#3645)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-02 14:55:55 +01:00
Cornelius Roemer c0ce48bebe
doc: show how to use advanced match specs in yaml spec (#3384)
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2024-11-20 15:24:31 +01:00
Jakob Klepp bed1396224
Doc: how to install specific Micromamba version (#3517)
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2024-11-20 15:10:12 +01:00
Cornelius Roemer 4f79ad8b78
doc: Homebrew currently only installs micromamba v1 (#3499) 2024-11-20 14:51:37 +01:00
Julien Jerphanion d42b8c2481
docs: Update pieces of documentation after the release of mamba 2 (#3610)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2024-11-18 17:41:17 +01:00
Ayaz Salikhov 0f4ad44c2e
Update pre-commit hooks except clang-format (#3599) 2024-11-14 10:27:18 +01:00
Hind-M b94b30e941
Fix doc (#3568) 2024-10-30 10:20:58 +01:00
Henry Schreiner 5bfdd90adf
chore: some CMake cleanup (#3564)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2024-10-28 11:58:57 +01:00
Julien Jerphanion 7ae780c6ed
dev: Remove the use of Taskfile (#3544)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-10-17 13:55:22 +02:00
Julien Jerphanion 764f85f881
maint: Clarify `env` subcommand documentation in help menu (cont'd) (#3539)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-10-15 18:30:24 +02:00
Julien Jerphanion 5e30f9f777
maint: Clarify `env` subcommand documentation in help menu (#3502)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Hind-M <70631848+Hind-M@users.noreply.github.com>
2024-10-15 17:07:20 +02:00
Hind-M 45c437a3c8
Fix `channel` and `base_url` in `list` cmd (#3488)
* Fix channel and base_url in list cmd

* Add func

* Fix oci tests
2024-10-02 14:01:07 +02:00
Tim Hoffmann db5f6de8f2
doc: add github links to documentation (#3471)
I've tried to find the github repository from the documentation, but it seems that it's not linked.

This PR adds links

- as a button in the theme
- at the top of https://mamba.readthedocs.io/en/latest/developer_zone/contributing.html

Co-authored-by: Sylvain Corlay <sylvain.corlay@gmail.com>
2024-09-28 04:54:50 +02:00
Hind-M a9d8ea58ff
Fix wrong version of miniforge in doc (#3462) 2024-09-19 11:27:10 +02:00
Julien Jerphanion 71f0ed38fb
docs: Specify `CMAKE_INSTALL_PREFIX` (#3438)
docs: Specify CMAKE_INSTALL_PREFIX

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-09-10 13:51:42 +02:00
Sylvain Corlay a33950261b
Replaces instances of -p with --root-prefix in documentation (#3411) 2024-08-23 10:45:23 +02:00
Julien Jerphanion 2270348727
docs: Adapt "Solving Package Environments" section (#3326)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-08-21 11:14:20 +02:00
Cornelius Roemer b418cf4a68
doc(more_concepts.rst): improve clarity (#3357)
`all the file systems are not supporting such links` is most likely meant to mean "not all are" rather "all are not"
2024-07-19 14:03:13 +02:00
Klaim (Joël Lamotte) ab088e5d8a
libmambapy: use `Context` explicitly (#3309)
* All python singletons lifetime are bound to a unique `Context` instance lifetime

In `libmambapy`:
- bound singletons lifetime to the first `Context` instance created
- throw an error if more than one `Context` instance are created at any time
(this only applies to python and will be changed at another time)
- therefore the python user must create a `Context` before using any other functions

This specific change does not (yet) changes the other functions APIs to take
explicitly the `Context` object.

* simplify python expressions

* python API change, added requirement for a `Context` instance

affected functions:
- MultiPackageCache (constructor)
- SubdirData.create_repo
- SubdirIndex.create
- SubdirIndex.download
- clean
- transmute
- get_virtual_packages
- cancel_json_output

* libmamba loggers are now unregistered when Context instance is destroyed

* fixed: dont use `default` as a name

* remove quick-test file

* linter fixes

* Updated documentation

* temptative fix for potential data race in libmamba tests

* libmamba tests: added an assertion to be sure

* linter pass

* fixup libmambatests

* added log for helping understanding ci failure

* review fixes
2024-06-14 09:50:58 +02:00
Hind-M 7f8d5649c0
[OCI - Mirrors] Add tests and doc (#3307)
* 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
2024-06-12 16:36:31 +02:00
Julien Jerphanion 7e1aae7d6e
docs: Add note about `ccache` (#3305)
* Update `dev/environment-dev.yml`

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* Specify to use dev/environment-dev-extra.yml

Since is contains ccache.

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* Use the normal dev env and add note regarding ccache

Co-authored-by: Hind-M <Hind-M@users.noreply.github.com>

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* fixup! Use the normal dev env and add note regarding ccache

* Adapt notes

Co-authored-by: Hind-M <Hind-M@users.noreply.github.com>

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

* Stop multitasking, Julien.

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>

---------

Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-06-07 10:30:57 +02:00
Hind-M 3e1e97b0e6
Add checking typos to pre-commit (#3278)
* Add checking typos to pre-commit

* Add missed corrections

* Add more corrections to doc
2024-05-27 09:16:14 +02:00
Antoine Prouvost 25a253b255
Small changelog additions (#3254) 2024-03-29 14:54:55 +01:00
Antoine Prouvost 245de2009e
Update pre-commit hooks" (#3252)
* Update Pre-commit hooks

* Apply updated hook
2024-03-28 16:18:19 +01:00
Yash Malik 25431a6d38
Fixed a spelling mistake in micromamba-installation.rst (#3236) 2024-03-18 11:15:56 +01:00
James Foster e472362943
Typos in dev_environment.rst (#3235) 2024-03-15 12:37:04 +01:00
Antoine Prouvost 7125518164
Add MatchSpec::contains_except_channel" (#3231)
* Add MatchSpec::contains_except_channel

* Add MatchSpec::contains_except_channel overload

* Bind MatchSpec::contains_except_channel

* Add documentation for MatchSpec::contains
2024-03-13 16:37:25 +01:00
Antoine Prouvost a00ef35675
Add MatchSpec doc and fix errors (#3224)
* Add missing spec doc

* Add 2.0 changes to doc

* Cleanup spec usage doc

* Remove outdated documentation page

* Fix doc link

* Fix backticks in docs

* Add rst pre-commit checks
2024-03-08 14:44:52 +01:00
Antoine Prouvost 6d535ea5ff
Finalized Solver bindings and add solver doc (#3195)
* Fix cross reference in docs

* Rename Request::Item > Job

* Add missing Request python test

* Add Solver usage documentation

* Add tests for ProblemsGraph

* Adjust 2.0 changes

* use mambatest directories

* Remove channel from test repodata.json

* Add simple solver tests
2024-02-21 17:27:35 +01:00
Antoine Prouvost 9f1b5b7e06
Solver sort deps (#3163)
* Improve Solver::solve

* Add Solver request ordering

* Refactor context solver flags

* Add config option order_solver_request

* Fix config

* Change pin test expected solution

* Refactor custom variant comparison

* Add 2.0 order_solver_request doc
2024-01-31 16:21:29 -05:00
Antoine Prouvost dedf072874
Split Solver and Unsolvable (#3156)
* No capture MPool in Solver

* Solution in MSolver

* Change MTransaction solver ctor

* Split UnSolvable from MSolver

* Implement MSolver Outcome

* Private SolverProblem

* Move UnSolvable to solve::libsolv

* Move sat* solver::problems_graph

* Clean test_problems_graph

* Move MSolver to solver::libsolv

* Rename MSolver > Solver

* Add minimal 2.0 doc

* Bind solver::Solution

* Move problems_graph bindings to libmambapy.solver

* Change Solver namespace

* Move Solver bindings to libmambapy.solver.libsolv
2024-01-30 22:20:36 +01:00
Antoine Prouvost 7d6856e9b5
MRepo refactor (#3118)
* Rename Enum members in MRepo

* use solv::Pool in MRepo

* Free MRepo add_pip_as_python_dependency

* Free MRepo repodata reading

* Free MRepo read_solv

* Free MRepo write_solv

* Remove MRepo constructor

* Remove MPool capture from MRepo

* Add missing pip dependency

* Refactor solv file serialization

* No lock on non-existant files

* Cleanup dead code

* write_solve create-directories

* Clean MRepo member functions

* Decouple MRepo and Pool

* Finetune Clang-format

* Add filename location to error

* Do not fail on solv file write

* Load new pool loader for repodata and .solv files

* Remove repo name in favor of URL

* Refactor MRepo index loading

* Fix SubDirData.writable_solv_cache

* Fix solv file loading

* Lock repodata.json while reading metadata

* Refactor expected in load_subdir_in_pool

* use expected in solver helpers

* Refactor helpers functions and error messages in Repo

* Add MPool::create_repo_from_packages

* Use load_installed_packages_in_pool

* Remove MRepo ctor

* Fix rebase

* Refactor MRepo::priority

* Update Taskfile realpath to work on MacOS

* Fix virtual packages being removed

* Move MRepo::priority to MPool

* Rename MRepo > solver::libsolv::RepoInfo

* Move RepoInfo parameters for its own library

* Move make_package_info to helpers

* Add libmambapy.solver.libsolv

* Add solver::libsolv::Priorities op

* Bind libsolv parameters

* Bind RepodataOrigin

* Merge libsolv/serialization and libsolv/parameters

* Bind new MPool methods

* Add RepoInfo op

* Add RepoInfo changes to log

* Rename attribute

* Remove RepoInfo::repo
2024-01-17 16:44:47 +01:00
Antoine Prouvost f72364d404
Warning around manual install and add ref to conda-libmamba (#3119)
* Remove confusing manual install instructions

* Fix doc errors

* Add reference to Conda libmamba solver

* Restore manual install and add warning
2024-01-11 11:27:06 +01:00
Antoine Prouvost 13d034147f
Rename ChannelSpec > UndefinedChannel (#3117)
* Rename ChannelSpec > UndefinedChannel

* Rename UndefinedChannel > UnresolvedChannel
2024-01-09 13:52:23 +01:00
Ben Moss b849683139
Add instructions for gnu coreutils on OSX (#3111)
Fixes #3110

Co-authored-by: Ben Moss <bmoss40@bloomberg.com>
2024-01-08 16:35:08 +01:00