Resolvelib based conda solver
Project description
conda-resolvelib-solver
Resolvelib based conda solver. A pure python conda solver!
What is this?
Conda-resolvelib-solver is a demostration solver for the conda package manager which uses the resolvelib library, a pure python dependency resolver that is used by pip.
Installation
To install conda-resolvelib-solver use:
conda install --name base --channel conda-forge conda-resolvelib-solver
Or with the base environment activated install using pip:
python -m pip install conda-resolvelib-solver
Usage
Once installed the solver can be used by adding --solver resolvelib to a conda create command.
Note that the solver may fail for complex dependencies, commands other than create and does not
implement many configuration values of conda like channel priority.
Use as a general solver in conda is not recommended.
Development workflow
To setup a development environment use:
conda create --prefix ./env --file dev/conda-requirements.txt
conda activate ./env
python -m pip install -e .
Conda commands can now be run from this environment using:
python -m conda <command>
Tests can be run using
python -m pytest tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conda_resolvelib_solver-0.1.tar.gz.
File metadata
- Download URL: conda_resolvelib_solver-0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c046d83417bb6ce0208cf917e6f64992f76c3041945d592a7b934bb13daf628
|
|
| MD5 |
975a549d89446e2b656f9c9167a9a2f1
|
|
| BLAKE2b-256 |
2612650d2d7ff1e4a9f94fee71fbe22b678024e8f2355ac9601a7c5d7e374638
|
File details
Details for the file conda_resolvelib_solver-0.1-py3-none-any.whl.
File metadata
- Download URL: conda_resolvelib_solver-0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a020cddac5cead9bc775d14e1e83ff65cd011a71127b21e8d03a1beec84ec7
|
|
| MD5 |
daa67c83987ed6152ccbcdc40cd02e6e
|
|
| BLAKE2b-256 |
27496e4118542dedf5bfad769b314d2f2e8f7383d0c43251c86fb157cb8dfc1d
|