Remove spaces in version specs (conda is stricter than pip about this). https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/pkg-specs.html#package-match-specifications
(version_spec)
| 27 | |
| 28 | |
| 29 | def remove_spaces(version_spec): |
| 30 | """Remove spaces in version specs (conda is stricter than pip about this). |
| 31 | |
| 32 | https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/pkg-specs.html#package-match-specifications |
| 33 | """ |
| 34 | return "".join(version_spec.split()) |
| 35 | |
| 36 | |
| 37 | def split_dep(dep): |
no test coverage detected