Skip to content

Commit

Permalink
Deprecate IndexPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Oct 10, 2023
1 parent 0844e23 commit dff7d28
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(
"24.3",
"24.9",
"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 dff7d28

Please sign in to comment.