We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtest.py
KeyError
Since the merging of #19628 the python ./runtest.py fails with a KeyError.
python ./runtest.py
Based on the traceback it seems that sysconfig.get_path('platlib', expand=False) returns an incorrect formattable string.
sysconfig.get_path('platlib', expand=False)
>>> python .\runtests.py Traceback (most recent call last): File "C:\Users\hardd\Documents\GitHub\numpy\runtests.py", line 695, in <module> main(argv=sys.argv[1:]) File "C:\Users\hardd\Documents\GitHub\numpy\runtests.py", line 192, in main site_dir, site_dir_noarch = build_project(args) File "C:\Users\hardd\Documents\GitHub\numpy\runtests.py", line 480, in build_project site_dir = site_dir_template.format(platbase=dst_dir, KeyError: 'base'
And the content of the offending site_dir_template formattable string:
site_dir_template
>>> print(site_dir_template) {base}/Lib/site-packages
1.22.0.dev0+696.g334428c4d 3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:10:34) [MSC v.1916 64 bit (AMD64)]
The text was updated successfully, but these errors were encountered:
I wonder how it passed CI.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Since the merging of #19628 the
python ./runtest.py
fails with aKeyError
.Based on the traceback it seems that
sysconfig.get_path('platlib', expand=False)
returns an incorrect formattable string.Error message:
And the content of the offending
site_dir_template
formattable string:NumPy/Python version information:
1.22.0.dev0+696.g334428c4d
3.9.4 | packaged by conda-forge | (default, May 10 2021, 22:10:34) [MSC v.1916 64 bit (AMD64)]
The text was updated successfully, but these errors were encountered: