Skip to content
Dependency solver for the Thoth project
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/source
hack
openshift
thoth/solver
.coafile
.gitignore
.thoth.yaml
.zuul.yaml
CHANGELOG.md
LICENSE
MANIFEST.in
OWNERS
Pipfile
Pipfile.lock
README.rst
pyproject.toml
requirements.txt
setup.py
thoth-solver

README.rst

Thoth Solver

Dependency solver used in Thoth project.

Project Scope

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 git@github.com:thoth-station/solver.git thoth-solver
cd thoth-solver
PYTHONPATH='.' ./thoth-solver-cli --help

This project is also released on PyPI, so the latest release can be installed via pip or Pipenv:

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.

You can’t perform that action at this time.