Skip to content

Commit

Permalink
Deprecate conda.models.dist.IndexRecord (#5032)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Oct 11, 2023
1 parent 0844e23 commit 34ab134
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion conda_build/conda_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,19 @@
win_path_to_unix,
)
from conda.models.channel import get_conda_build_local_url # noqa: F401
from conda.models.dist import Dist, IndexRecord # noqa: F401
from conda.models.dist import Dist # noqa: F401
from conda.models.records import PackageRecord

from .deprecations import deprecated

deprecated.constant(
"3.28.0",
"4.0.0",
"IndexRecord",
PackageRecord,
addendum="Use `conda.models.records.PackageRecord` instead.",
)

# TODO: Go to references of all properties below and import them from `context` instead
binstar_upload = context.binstar_upload
default_python = context.default_python
Expand Down

0 comments on commit 34ab134

Please sign in to comment.