Dependency solver used in Thoth project.
The aim of this project is to answer a simple question - what packages will be installed (resolved by pip) for the provided stack?
Imagine you have an application that has one dependency:
$ cat requirements.txt tensorflow
This project will tell you how dependencies could be resolved:
thoth-solver -vvv pypi -r requirements.txt
The output can be found at here.
You can optionally also specify a list of indexes which should be checked for each package.
Installation and Deployment
git clone firstname.lastname@example.org:thoth-station/solver.git thoth-solver cd thoth-solver PYTHONPATH='.' ./thoth-solver-cli --help
pipenv install thoth-solver
Solver is run in Thoth to gather information about package dependencies. You can find deployment templates in the openshift/ directory present in the root of solver's Git repository. The actual deployment is done using Ansible playbooks available in the Thoth's core repository.