-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
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
SolutionArray formatting tests fail with fmt 6.1.2 #1526
Comments
There was a change of support libraries in {fmt} version 7.1.0. With the current version being 10.0 (and numerous existing workarounds in |
Finally managed to get a configuration on macOS (Python 3.8 / fmt 6.1.2), by simply checking out the 6.1.2 hash from the submodule. It does, however, not compile with the following error right at the beginning: For
For the #1538 branch:
|
Yes, this corresponds to changes in the organization of the {fmt} source code. Our compilation done in |
Ah, this makes sense. |
Make it explicit that these should be printed as integers. Behavior of {fmt} is different between 6.1.2, which always includes a decimal digit when the input type is double if no other formatting specifier is provided, and later versions which format integral doubles as doubles. Fixes Cantera#1526
Make it explicit that these should be printed as integers. Behavior of {fmt} is different between 6.1.2, which always includes a decimal digit when the input type is double if no other formatting specifier is provided, and later versions which format integral doubles as doubles. Fixes #1526
Problem description
Using
fmt
version 6.1.2, a number of tests in the Python test suite that test the formatted output fromSolutionArray
report failures. This version offmt
is what is available on Ubuntu 20.04, so it would be nice to continue supporting it.Steps to reproduce
fmt
version 6.1.2scons test-python-composite
Behavior
The following tests fail:
A specific error that helps show that the output is indeed not as expected:
You can see that in the first data row, there is an ellipsis, not separated from adjacent entries, and also not present in either the header row or the following data row.
System information
Attachments
Complete log of running
scons test-python-composite
: test-python-composite-log.txtThe text was updated successfully, but these errors were encountered: