Skip to content

Commit

Permalink
Update pypi_solver to use vendored poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Sep 19, 2022
1 parent 1fd2413 commit e798669
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions conda_lock/pypi_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,23 @@
from clikit.api.io.flags import VERY_VERBOSE
from clikit.io import ConsoleIO, NullIO
from packaging.tags import compatible_tags, cpython_tags
from poetry.core.packages import Dependency, Package, ProjectPackage, URLDependency
from poetry.factory import Factory
from poetry.installation.chooser import Chooser
from poetry.installation.operations.uninstall import Uninstall
from poetry.puzzle import Solver
from poetry.repositories.pool import Pool
from poetry.repositories.pypi_repository import PyPiRepository
from poetry.repositories.repository import Repository
from poetry.utils.env import Env

from conda_lock import src_parser
from conda_lock.lookup import conda_name_to_pypi_name
from conda_lock.vendor.poetry.core.packages import (
Dependency,
Package,
ProjectPackage,
URLDependency,
)
from conda_lock.vendor.poetry.factory import Factory
from conda_lock.vendor.poetry.installation.chooser import Chooser
from conda_lock.vendor.poetry.installation.operations.uninstall import Uninstall
from conda_lock.vendor.poetry.puzzle import Solver
from conda_lock.vendor.poetry.repositories.pool import Pool
from conda_lock.vendor.poetry.repositories.pypi_repository import PyPiRepository
from conda_lock.vendor.poetry.repositories.repository import Repository
from conda_lock.vendor.poetry.utils.env import Env


if typing.TYPE_CHECKING:
Expand Down

0 comments on commit e798669

Please sign in to comment.