conda / conda/constructor

Option to completely disable check for spaces in install path

Open
#1,111 1 comment 0 reactions 0 assignees View on GitHub
type::feature
Dominant language
Python
Stars
497
Forks
181
Avg merge
1d 16h
Merged PRs (30d)
17

Description

### Checklist

- [x] I added a descriptive title
- [x] I searched open requests and couldn't find a duplicate

### What is the idea?

The `check_path_spaces` option issues a message either as an error (that blocks the installation) or as a warning (that allows the installation to continue). There should be an option to disable the warning completely for installer authors who are confident that spaces are not going to cause their users any issues.

### Why is this needed?

The warning in the installer is likely to scare users even if spaces have been determined to be necessary/acceptable by the installer author. As a result there should be an option to disable the message completely.

### What should happen?

The `check_path_spaces` setting should offer the ability to error, warn or to be disabled entirely.

### Additional Context

While this option would be good, it would be better if `conda create` and `conda-build` addressed their own issues/warnings with respect to spaces in paths. On Windows 'Program Files' is a common place for people to install to!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.