Release 0.14.4 backports#1177
Merged
ax3l merged 20 commits intoopenPMD:release-0.14.4from Jan 21, 2022
Merged
Conversation
Forgot to add in openPMD#1128, which is then missing in Python sdist files for pip from-source builds.
Add support for Python 3.10.
musllinux uses the musl libc on an Alpine stack, especially for docker-ish containers. Let's add coverage while also covering CPython 3.10
Fix a typo in the `__repr__` of `Iteration` in Python.
Until now, the half-parsed records were not deleted. Our sanity checks in `Series::~Series()` caught up on that and threw errors.
No idea why this PR triggers that error
Happened so far in variable-based iteration encoding
The `Attribute` constructors with implicit variant conversion
sometimes do not work in ICC 19.1.2.
```
openPMD-api/src/RecordComponent.cpp(226): error: no instance of constructor "openPMD::Attribute::Attribute" matches the argument list
argument types are: (openPMD::Extent)
Attribute a(getExtent());
^
openPMD-api/include/openPMD/backend/Attribute.hpp(50): note: this candidate was rejected because arguments do not match
class Attribute :
^
openPMD-api/include/openPMD/backend/Attribute.hpp(50): note: this candidate was rejected because arguments do not match
class Attribute :
^
openPMD-api/include/openPMD/backend/Attribute.hpp(79): note: this candidate was rejected because arguments do not match
Attribute(resource r) : Variant(std::move(r))
^
```
Same work-around as for NVCC in openPMD#1103
Fix a warning with CMake 3.22+. We use simple syntax in cmake_dependent_option, so we are compatible with the extended syntax in CMake 3.22+: https://cmake.org/cmake/help/v3.22/policy/CMP0127.html
Fix minor warnings in the docs: - double reference (make 2nd ref annonymous) - misaligned reference
Fix misnamed filename and misnamed prefix in text.
Add `.bib` blocks for easier citation of standard and API.
Fix a highlighting issue for `openPMD-ls` in the docs. Explicitly use `python3` for module calls.
If we append them, then we overwrite flags like `-Wno-...` from environment variables.
Referes to post-`2.7.1` `master` branch of ADIOS2. Catch new ADIOS2 error type: string getCompressionOperator Dirtily catch ADIOS2 exception in automatically_deactivate_span Cleanly destruct a Series that errored during flushing Problem was that IO tasks that do not return cleanly but throw an exception must be removed from the IO queue, otherwise the task will be tried again during destruction. Usually, this means that anything will happen. SerialIOTest: Remove Comments (resolved) Print warning when removing task from IO queue std::string and fix warning
ax3l
commented
Jan 19, 2022
| new int[ size ]{}, []( auto * ptr ) { delete[] ptr; } ); | ||
| } ); | ||
|
|
||
| REQUIRE( spanWorkaround ); |
Member
Author
There was a problem hiding this comment.
@franzpoeschel does this test require the new JSON re-work or so? In that case, I would need to remove it from the backport.
Contributor
There was a problem hiding this comment.
It does, though it might actually make sense to backport the workaround too. I'll have a look
ax3l
commented
Jan 19, 2022
9bd6a28 to
7262fc1
Compare
7262fc1 to
de420f6
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/openPMD/openPMD-api/milestone/3
Increased Compatibility & Python Install Bug
This release fixes various read/parsing bugs and increases compatibility with upcoming versions of ADIOS and old releases of Intel
icpc. An installation issue for pip-based installs from source in the last release was fixed and Python 3.10 support added. Various documentation and installation warnings have been fixed.Thanks to @ax3l and @franzpoeschel for contributing to this release!
Which version am I running?
Python
C++
CLI
# command line option (since 0.12.0): openpmd-ls --version