Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate conda.models.dist.IndexRecord #5032

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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