Skip to content

Commit

Permalink
Remove deprecated code for conda-build 24.5 (#5299)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Apr 19, 2024
1 parent a6d53af commit 9870f9b
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 920 deletions.
27 changes: 0 additions & 27 deletions conda_build/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# make the Config class available in the api namespace
from .config import DEFAULT_PREFIX_LENGTH as _prefix_length
from .config import Config, get_channel_urls, get_or_merge_config
from .deprecations import deprecated
from .metadata import MetaData, MetaDataTuple
from .utils import (
CONDA_PACKAGE_EXTENSIONS,
Expand Down Expand Up @@ -186,32 +185,6 @@ def get_output_file_paths(
return sorted(set(outs))


@deprecated("24.3.0", "24.5.0", addendum="Use `get_output_file_paths` instead.")
def get_output_file_path(
recipe_path_or_metadata: str
| os.PathLike
| Path
| MetaData
| Iterable[MetaDataTuple],
no_download_source: bool = False,
config: Config | None = None,
variants: dict[str, Any] | None = None,
**kwargs,
) -> list[str]:
"""Get output file paths for any packages that would be created by a recipe
Both split packages (recipes with more than one output) and build matrices,
created with variants, contribute to the list of file paths here.
"""
return get_output_file_paths(
recipe_path_or_metadata,
no_download_source=no_download_source,
config=config,
variants=variants,
**kwargs,
)


def check(
recipe_path: str | os.PathLike | Path,
no_download_source: bool = False,
Expand Down
298 changes: 0 additions & 298 deletions conda_build/bdist_conda.py

This file was deleted.

Loading

0 comments on commit 9870f9b

Please sign in to comment.