Skip to content

Commit

Permalink
Adding file back in, removing old deprecated message and putting in n…
Browse files Browse the repository at this point in the history
…ew one.
  • Loading branch information
ryanskeith committed Mar 8, 2024
1 parent 453eea3 commit 6479a6f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions conda_build/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
from os.path import dirname, expanduser, join
from pathlib import Path

from conda.deprecations import deprecated

# 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
Expand Down Expand Up @@ -167,6 +169,28 @@ def get_output_file_paths(
return sorted(list(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,
no_download_source=False,
config=None,
variants=None,
**kwargs,
):
"""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, no_download_source=False, config=None, variants=None, **kwargs):
"""Check validity of input recipe path
Expand Down

0 comments on commit 6479a6f

Please sign in to comment.