Skip to content

Commit

Permalink
Use conda_lock.interfaces in favor of conda_lock._vendor
Browse files Browse the repository at this point in the history
This allows us to track exactly which things from vendored libraries we're using.
  • Loading branch information
maresb committed Sep 8, 2024
1 parent 8a2c748 commit cdfd958
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions conda_lock/interfaces/vendored_grayskull.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from conda_lock._vendor.grayskull.strategy.parse_poetry_version import (
encode_poetry_version,
)


__all__ = ["encode_poetry_version"]
4 changes: 1 addition & 3 deletions conda_lock/src_parser/pyproject_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
from packaging.utils import canonicalize_name as canonicalize_pypi_name
from typing_extensions import Literal

from conda_lock._vendor.grayskull.strategy.parse_poetry_version import (
encode_poetry_version,
)
from conda_lock.common import get_in
from conda_lock.interfaces.vendored_grayskull import encode_poetry_version
from conda_lock.lookup import get_forward_lookup as get_lookup
from conda_lock.models.lock_spec import (
Dependency,
Expand Down

0 comments on commit cdfd958

Please sign in to comment.