dmypy does not work when it lives in a directory path with spaces
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
The directory into which I have cloned mypy has spaces in its path. When I run the tests from a venv therein, every daemon.test test fails. The error message indicates that it can't find the executable, because it has separated on the space (just displaying the pre-space prefix as what it was searching for).
I am on windows in case that matters.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on Windows with a mypy checkout whose path contains spaces, using the daemon.test tests from a virtual environment. Trace the executable lookup and invocation that produces the truncated pre-space path. Done means the daemon.test tests pass when the checkout and virtual environment paths contain spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100