Skip to content

Commit

Permalink
Fix bug regarding missing anaconda executable (#5050)
Browse files Browse the repository at this point in the history
* making the check for missing anaconda executable a little broader

* adding news file
  • Loading branch information
travishathaway authored Nov 3, 2023
1 parent f7dd4ed commit 64e3332
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4099,7 +4099,7 @@ def handle_anaconda_upload(paths, config):
print(no_upload_message)
return

if anaconda is None:
if not anaconda:
print(no_upload_message)
sys.exit(
"Error: cannot locate anaconda command (required for upload)\n"
Expand Down
19 changes: 19 additions & 0 deletions news/5050-missing-anaconda-client-bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Enhancements

* <news item>

### Bug fixes

* Fixes the check for a missing anaconda-client so a useful error message is shown

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>

0 comments on commit 64e3332

Please sign in to comment.