spack/lib/spack
Adam J. Stewart 3b94e22ad4
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>
2021-07-02 22:20:09 -07:00
..
docs Add when context manager to group common constraints in packages (#24650) 2021-07-02 08:43:15 -07:00
env cc: change mode to ccld for loopopt edit (#23482) 2021-05-13 21:31:20 -07:00
external Update archspec to support arm compiler on a64fx (#24524) 2021-06-26 09:18:48 +02:00
llnl Log performance improvement (#23925) 2021-05-31 20:33:14 -07:00
spack Fix fetching for Python 3.9.6 (#24686) 2021-07-02 22:20:09 -07:00