-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate vendored imports into a single module
I want it to be clear what we are and aren't using. Ideally we will eventually get rid of vendored dependencies.
- Loading branch information
Showing
7 changed files
with
55 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from conda_lock._vendor.conda.common.toposort import toposort | ||
from conda_lock._vendor.conda.models.match_spec import MatchSpec | ||
|
||
|
||
__all__ = ["toposort", "MatchSpec"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from conda_lock._vendor.poetry.core.packages import Dependency as PoetryDependency | ||
from conda_lock._vendor.poetry.core.packages import Package as PoetryPackage | ||
from conda_lock._vendor.poetry.core.packages import ( | ||
ProjectPackage as PoetryProjectPackage, | ||
) | ||
from conda_lock._vendor.poetry.core.packages import URLDependency as PoetryURLDependency | ||
from conda_lock._vendor.poetry.core.packages import VCSDependency as PoetryVCSDependency | ||
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 as PoetrySolver | ||
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 | ||
|
||
|
||
__all__ = [ | ||
"Chooser", | ||
"Env", | ||
"Factory", | ||
"PoetryDependency", | ||
"PoetryPackage", | ||
"PoetryProjectPackage", | ||
"PoetrySolver", | ||
"PoetryURLDependency", | ||
"PoetryVCSDependency", | ||
"Pool", | ||
"PyPiRepository", | ||
"Repository", | ||
"Uninstall", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters