Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Port conda-build=24.1.2 clean_pkg_cache change
Browse files Browse the repository at this point in the history
ref:
- conda/conda-build#5184

Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
  • Loading branch information
mbargull committed Mar 16, 2024
1 parent 113e4d2 commit b6572ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion boa/core/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,10 @@ def run_test(
not hasattr(recipedir_or_package_or_metadata, "config")
and os.path.isfile(recipedir_or_package_or_metadata)
and recipedir_or_package_or_metadata.endswith(CONDA_PACKAGE_EXTENSIONS)
and os.path.dirname(recipedir_or_package_or_metadata) in pkgs_dirs[0]
and any(
os.path.dirname(recipedir_or_package_or_metadata) in pkgs_dir
for pkgs_dir in pkgs_dirs
)
)
if not in_pkg_cache:
clean_pkg_cache(metadata.dist(), metadata.config)
Expand Down

0 comments on commit b6572ec

Please sign in to comment.