diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2021-07-03 00:20:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 22:20:09 -0700 |
commit | 3b94e22ad44a5921b639dfc5a59a7626562457c7 (patch) | |
tree | 6e59455df9256098b17dbcfc32e799ed00dfc50a /.github/workflows/install_spack.sh | |
parent | e568564e2f5b462c54cb86e98bdbe2b126a480cf (diff) | |
download | spack-3b94e22ad44a5921b639dfc5a59a7626562457c7.tar.gz spack-3b94e22ad44a5921b639dfc5a59a7626562457c7.tar.bz2 spack-3b94e22ad44a5921b639dfc5a59a7626562457c7.tar.xz spack-3b94e22ad44a5921b639dfc5a59a7626562457c7.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 '.github/workflows/install_spack.sh')
0 files changed, 0 insertions, 0 deletions