diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-07-03 00:20:09 -0500 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2021-09-21 16:58:41 -0700 |
commit | 9120856c01bae7d57867e7b05fb7b292ed3ccacb (patch) | |
tree | be21c339eef59943d85719b2e900e5f08fdb92a9 /var | |
parent | c699e907fc436ecc2b153520040e5967f25dc7de (diff) | |
download | spack-9120856c01bae7d57867e7b05fb7b292ed3ccacb.tar.gz spack-9120856c01bae7d57867e7b05fb7b292ed3ccacb.tar.bz2 spack-9120856c01bae7d57867e7b05fb7b292ed3ccacb.tar.xz spack-9120856c01bae7d57867e7b05fb7b292ed3ccacb.zip |
Fix fetching for Python 3.9.6 (#24686)
When using Python 3.9.6, Spack is no longer able to fetch anything. Commands like `spack fetch` and `spack install` all break.
Python 3.9.6 includes a [new change](https://github.com/python/cpython/pull/25853/files#diff-b3712475a413ec972134c0260c8f1eb1deefb66184f740ef00c37b4487ef873eR462) that means that `scheme` must be a string, it cannot be None. The solution is to use an empty string like the method default.
Fixes #24644. Also see https://github.com/Homebrew/homebrew-core/pull/80175 where this issue was discovered by CI. Thanks @branchvincent for reporting such a serious issue before any actual users encountered it!
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions