Antoine Prouvost
7ce51b3de9
Compile with C++20 ( #3965 )
2025-06-04 11:28:11 +02:00
Antoine Prouvost
95050ee170
DX: libmambapy import in build tree ( #3916 )
2025-05-01 09:49:09 +02:00
Julien Jerphanion
50c3aae986
ci: Remove Conda Nightly tests ( #3629 )
...
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-12-04 10:53:18 +01:00
Ayaz Salikhov
0a8128d23e
maint: Enable `-Werror` compiler flag for GCC, Clang and AppleClang ( #3611 )
2024-11-21 13:50:09 +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
Antoine Prouvost
80f1e84d49
Bind text_style and graphic params ( #3266 )
...
* Rename binding utils.hpp > bind_utils.hpp
* Bind fmt::text_style
* Change format type in Unsolvable explain message
* Bind attributes
* Bind GraphicsParams
2024-04-08 16:39:38 +02:00
Antoine Prouvost
a190d9394c
Solver Request ( #3141 )
...
* Change type for MSolver::add_pin
* Add Solver Request 1
* Add Solver Request 2
* Add Solver Request 3
* Cleanup retry flags
* Remove constant parameter
* Add Solver Request 4
* Add Request::Freeze
* Add Request::Keep
* Add Request::UpdateAll
* Remove MSolver::add_global_job
* Use MSolver::add_request for remove
* Remove MSolver::add_jobs
* Remove MSolver::add_pins
* Add api/install pins in request
* Add api/update pins in request
* Remove MSolver::add_pin
* Remove dead MSovler neuter_specs & pinned_specs
* Move Request to solver::Request
* Bind solver::Request
* Apply review comments
2024-01-23 13:38:11 +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
5509ed3044
Bind Channel ( #3001 )
...
* Rename binding functions
* Minimal specs bindings
* Add ChannelSpec setters
* Fix flat_set caster
* Bind ChannelSpecs
* Bind Platform
* Rename CondaURL::base > CondaURL::generic
* Automatically convert enums from strings
* Fix CondaURL encoding bug
* Bind CondaURL
* Add comparison for AuthenticationInfo
* Bind AuthenticationInfo
* Rename libmambapy tests
* Bind AuthenticationDataBase
* Fix binding size
* Add weakening_map comparison
* Refactor AuthenticationDataBase bindings
* Bind ChannelResolveParams
* Separate binding utility functions
* Bind CondaURL / subpath
* Fix Channel
* Bind Channel
* Modify specs import
* Remove ChannelSpec setters
* Simplify channel tests
2023-11-28 20:50:51 +01:00
Antoine Prouvost
0d42e81667
Modularize libmambapy ( #2960 )
...
* Modularize libmambapy
* Add test-libmambapy to Taskfile
* Fix libmamba installation
* Fix standalone libmambapy configuration
* Change libmambapy layout
* Add scikit-build
* Fix libmambapy extension name
* Add submodules shims
* Fix libmambaoy tests
* Fix stubgen
* Adapt libmambapy tests to scikit-build
* Read version from Python
* Replace confusing names
2023-11-10 18:29:16 +01:00
Antoine Prouvost
d116ff8917
Add cmake-format ( #2962 )
...
* Add cmake-format
* Apply cmake-format
2023-11-07 11:08:26 +01:00
Antoine Prouvost
80e3475e06
Explicit and smart CMake target ( #2935 )
...
* Explicit and smart CMake target
* Only expose explicit CMake targets
2023-10-31 12:07:03 +01:00
Antoine Prouvost
0002794f3c
Aggressive compilation warnings ( #2304 )
2023-02-20 09:02:36 +01:00
Johan Mabille
aab7768807
Added missing public dependency to libmambaConfig.cmake ( #2227 )
2023-02-02 16:08:32 +01:00
Wolf Vollprecht
3f2135ef9e
remove patches for feedstock ( #2216 )
2023-01-11 13:40:19 +01:00
AntoinePrv
4e2a91bea7
Direct dependency on fmt
2022-10-26 10:49:50 +02:00
Wolf Vollprecht
69cc8944ff
use external spdlog in libmambapy if desired
2022-10-04 09:20:20 +02:00
Joël Lamotte (Klaim)
a6a1251c10
Replaced `fs::u8path` long-path support on windows by enabling it explicitly.
2022-08-12 14:37:49 +02:00
Wolf Vollprecht
1439f321c5
Build fixes ( #1261 )
...
* wheel is not universal
* use modern way of finding Python
* set policy needed for pybind 11, and up cmake required version
2021-11-10 14:51:54 +01:00
Adrien DELSALLE
1b6fccb39d
use find package only is libmamba targets are not defined
2021-10-28 17:12:01 +02:00
Adrien DELSALLE
73b1760e5e
improve cmake build options
...
create a libmamba-full-static target to expose static deps
remove automagic activation of libmamba build options to fix packaging
add find_package libmamba in micromamba and libmambapy
add umamba MICROMAMBA_LINKAGE option to select libmamba target
update documentation
2021-10-28 16:36:22 +02: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