Path to this page:
Subject: CVS commit: pkgsrc/math/py-asdf
From: Adam Ciarcinski
Date: 2024-03-17 10:57:09
Message id: 20240317095709.94FFCFA2C@cvs.NetBSD.org
Log Message:
py-asdf: updated to 3.1.0
3.1.0 (2024-02-27)
The ASDF Standard is at v1.6.0
- Cleanup ``asdf.util`` including deprecating: ``human_list``
``resolve_name`` ``minversion`` and ``iter_subclasses``
- Deprecate validation on ``AsdfFile.tree`` assignment. Please
use ``AsdfFile.validate`` to validate the tree
- Deprecate validation during ``AsdfFile.resolve_references``. Please
use ``AsdfFile.validate`` to validate the tree
- Deprecate ``asdf.asdf`` and ``AsdfFile.resolve_and_inline``
- Deprecate automatic calling of ``AsdfFile.find_references`` during
``AsdfFile.__init__`` and ``asdf.open``
- Allow views of memmapped arrays to keep the backing mmap
open to avoid segfaults
- Introduce ``memmap`` argument to ``asdf.open`` that
overrides ``copy_arrays`` with documentation that describes
that the default for ``memmap`` when ``copy_arrays``
is removed in an upcoming asdf release will be ``False`` and
asdf will no longer by-default memory map arrays.
- Introduce ``asdf.util.load_yaml`` to load just the YAML contents
of an ASDF file (with the option ``tagged`` to load the contents
as a tree of ``asdf.tagged.Tagged`` instances to preserve tags)
- Require pytest 7+ and update asdf pytest plugin to be compatible
with the current development version of pytest (8.1)
- Eliminate the use of the legacy ``tmpdir`` fixture in favor of
the new ``tmp_path`` fixture for temporary directory creation.
- Remove conversion of warnings to errors in asdf pytest plugin. This
prevented other warning filters (like those provided with ``-W``)
from working. If you want these warnings to produce errors you can
now add your own warning filter
- Only show ``str`` representation during ``info`` and ``search``
if it contains a single line (and does not fail)
Files: