./math/py-asdf, Advanced Scientific Data Format

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.0, Package name: py312-asdf-3.5.0, Maintainer: pkgsrc-users

The Advanced Scientific Data Format (ASDF) is a next-generation interchange
format for scientific data.


Master sites:

Filesize: 785.704 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 16:02:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asdf: updated to 3.5.0

3.5.0 (2024-10-02)

Bugfix

- Allow ``asdf.util.load_yaml`` to handle recursive objects

Doc

- added issue links to changelog entries
- Change asdf standard changelog entries to notes to ease transition to
  towncrier

General

- fix changelog checker to remove brackets

Removal

- Deprecate ``ignore_version_mismatch``. This option has done nothing since
  asdf 3.0.0 and will be removed in an upcoming asdf version
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-08-06 10:01:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asdf: updated to 3.4.0

3.4.0 (2024-08-04)

- Fix issue where roundtripping a masked array with no masked values removes the mask

- Use a custom exception ``AsdfSerializationError`` to indicate when an object in the
  tree fails to be serialized by asdf (and by yaml). This exception currently \ 
inherits
  from ``yaml.representer.RepresenterError`` to provide backwards compatibility. \ 
However
  this inheritance may be dropped in a future asdf version. Please migrate to the new
  ``AsdfSerializationError``.

- Drop ``importlib_metadata`` as a dependency on Python 3.12 and newer

- Bumped minimal requirement on ``attrs`` from ``20.1.0`` to ``22.2.0``
   2024-08-03 08:00:52 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asdf: updated to 3.3.0

3.3.0 (2024-07-12)

- Fix ``__asdf_traverse__`` for non-tagged objects

- Deprecate ``asdf.testing.helpers.format_tag``

- Deprecate ``asdf.versioning.AsdfSpec``

- Deprecate ``asdf.util.filepath_to_url`` use ``pathlib.Path.to_uri``

- Record package providing manifest for extensions used to write
  a file and ``AsdfPackageVersionWarning`` when installed extension/manifest
  package does not match that used to write the file

- Fix bug where a dictionary containing a key ``id`` caused
  any contained references to fail to resolve

- Issue a ``AsdfManifestURIMismatchWarning`` during write if a used
  extension was created from a manifest registered with a uri that
  does not match the id in the manifest

- Allow converters to provide types as strings that can
  resolve to public classes (even if the class is implemented
  in a private module).

- Add options to control saving the base array when saving array views
  controlled via ``AsdfConfig.default_array_save_base``,
  ``AsdfFile.set_array_save_base`` and
  ``SerializationContext.set_array_save_base``

- Deprecate ``ignore_implicit_conversion`` and "implicit conversion"

- Add ``lazy_tree`` option to ``asdf.open`` and ``asdf.config``
  to allow lazy deserialization of ASDF tagged tree nodes to
  custom objects.
   2024-04-21 20:04:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-asdf: updated to 3.2.0

3.2.0 (2024-04-05)

- Deprecate ``AsdfFile.version_map``
- Fix ``numpy.ma.MaskedArray`` saving for numpy 2.x
- Add ``float16`` support
- Removed unused ``asdf-unit-schemas`` dependency
   2024-03-17 10:57:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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)
   2023-11-10 19:54:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-asdf: updated to 3.0.1

3.0.1 (2023-10-30)
------------------

The ASDF Standard is at v1.6.0

- Fix bug in ``asdftool diff`` for arrays within a list

3.0.0 (2023-10-16)
------------------

The ASDF Standard is at v1.6.0

- Drop support for ASDF-in-FITS.
- Add ``all_array_storage``, ``all_array_compression`` and
  ``all_array_compression_kwargs`` to ``asdf.config.AsdfConfig``
- Move built-in tags to converters (except ndarray and integer).
- Add block storage support to Converter
- Remove deprecated legacy extension API
- Fix issue opening files that don't support ``fileno``
- Allow Converters to defer conversion to other Converters
  by returning ``None`` in ``Converter.select_tag``
- Remove deprecated tests.helpers
- Remove deprecated load_custom_schema
- Remove deprecated TagDefinition.schema_uri
- Removed deprecated AsdfFile.open and deprecated asdf.open
  AsdfFile.write_to and AsdfFile.update kwargs
- Fix ``AsdfFile.info`` loading all array data
- Blank out AsdfFile.tree on close
- Move ndarray to a converter, add ``convert_unknown_ndarray_subclasses``
  to ``asdf.config.AsdfConfig``, move ``asdf.Stream`` to
  ``asdf.tags.core.Stream``, update block storage support for
  Converter and update internal block API
- Remove deprecated resolve_local_refs argument to load_schema
- Move IntegerType to converter and drop cache of converted values.
- Remove legacy extension API
- Fix bug that left out the name of the arrays that differed
  for ``asdftool diff`` comparisons