Revisions of python-asdf
buildservice-autocommit
accepted
request 1225035
from
Factory Maintainer (factory-maintainer)
(revision 55)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 54)
- update to 3.5.0: * Allow asdf.util.load_yaml to handle recursive objects * added issue links to changelog entries * Change asdf standard changelog entries to notes to ease transition to towncrier * fix changelog checker to remove brackets * Deprecate ignore_version_mismatch. This option has done nothing since asdf 3.0.0 and will be removed in an upcoming asdf version
buildservice-autocommit
accepted
request 1197473
from
Benjamin Greiner (bnavigator)
(revision 53)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
accepted
request 1197472
from
Benjamin Greiner (bnavigator)
(revision 52)
- Update to 3.4.0 * Fix issue where roundtripping a masked array with no masked values removes the mask [#1803] * 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. [#1809] * Drop importlib_metadata as a dependency on Python 3.12 and newer [#1810] * Bumped minimal requirement on attrs from 20.1.0 to 22.2.0 [#1815] - Release 3.3.0 * Fix __asdf_traverse__ for non-tagged objects [#1739] * Deprecate asdf.testing.helpers.format_tag [#1774] * Deprecate asdf.versioning.AsdfSpec [#1774] * Deprecate asdf.util.filepath_to_url use pathlib.Path.to_uri [#1735] * 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 [#1758] * Fix bug where a dictionary containing a key id caused any contained references to fail to resolve [#1716] * 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 [#1785] * Allow converters to provide types as strings that can resolve
buildservice-autocommit
accepted
request 1169275
from
Benjamin Greiner (bnavigator)
(revision 51)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
accepted
request 1169274
from
Benjamin Greiner (bnavigator)
(revision 50)
- Update to 3.2.0 * Deprecate AsdfFile.version_map [#1745] * Fix numpy.ma.MaskedArray saving for numpy 2.x [#1769] * Add float16 support [#1692] * Removed unused asdf-unit-schemas dependency [#1767]
buildservice-autocommit
accepted
request 1156732
from
Benjamin Greiner (bnavigator)
(revision 49)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
accepted
request 1156712
from
Benjamin Greiner (bnavigator)
(revision 48)
- Update to 3.1.0 * Cleanup asdf.util including deprecating: human_list resolve_name minversion and iter_subclasses [#1688] * Deprecate validation on AsdfFile.tree assignment. Please use AsdfFile.validate to validate the tree [#1691] * Deprecate validation during AsdfFile.resolve_references. Please use AsdfFile.validate to validate the tree [#1691] * Deprecate asdf.asdf and AsdfFile.resolve_and_inline [#1690] * Deprecate automatic calling of AsdfFile.find_references during AsdfFile.__init__ and asdf.open [#1708] * Allow views of memmapped arrays to keep the backing mmap open to avoid segfaults [#1668] * 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. [#1667] * 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) [#1700] * Require pytest 7+ and update asdf pytest plugin to be compatible with the current development version of pytest (8.1) [#1731] * Eliminate the use of the legacy tmpdir fixture in favor of the new tmp_path fixture for temporary directory creation. [#1759] * 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 [#1757] * Only show str representation during info and search if it
buildservice-autocommit
accepted
request 1146005
from
Benjamin Greiner (bnavigator)
(revision 47)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
committed
(revision 46)
- Drop removed test dependencies: gwcs throws AsdfWarnings about an
Benjamin Greiner (bnavigator)
committed
(revision 45)
Benjamin Greiner (bnavigator)
committed
(revision 44)
- Drop removed test depencencies: gwcs throws AsdfWarnings about an API change in Converter gh#asdf-format/asdf#1594 - Fix some rpmlint
Dirk Mueller (dirkmueller)
committed
(revision 43)
- update to 3.0.1: * Fix bug in asdftool diff for arrays within a list * 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 * Add support for python 3.12
buildservice-autocommit
accepted
request 1114796
from
Dirk Mueller (dirkmueller)
(revision 42)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 41)
- update to 2.15.2: * The ASDF Standard is at v1.6.0 * Add support for python 3.12 [#1641] - Update to 2.10.1 - Add multibuild to avoid a build loop. - Update to version 2.7.2 - Fix pytest collection error by importing from source dir - Update to version 2.7.1 * Fix bug preventing access to copied array data after * Fix bug preventing diff of files containing * Fix bug causing duplicate elements to appear when * Improve validator performance by skipping unnecessary * Fix bug with auto_inline option where inline blocks are not converted to internal when they exceed the threshold. * Fix misinterpretation of byte order of blocks stored in * Improve read performance by skipping unnecessary * Add option to asdf.open and fits_embed.AsdfInFits.open * Fix bugs and code style found by adding F and W flake8 * Eliminate warnings in pytest plugin by using * Prevent validation of empty tree when AsdfFile is * All warnings now subclass asdf.exceptions.AsdfWarning. * Improve warning message when falling back to an older schema, and note that fallback behavior will be removed * Stop traversing oneOf and anyOf combiners when filling * Fix bug in version map caching that caused incompatible * Fix bug that corrupted ndarrays when the underlying * Fix bug that produced unreadable ASDF files when an ndarray in the tree was both offset and broadcasted. * Fix bug preventing validation of default values in * Add option to disable validation of schema default
buildservice-autocommit
accepted
request 1103427
from
Benjamin Greiner (bnavigator)
(revision 40)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
accepted
request 1103424
from
Benjamin Greiner (bnavigator)
(revision 39)
- Update to 2.15.1 * the ASDF Standard is at v1.6.0 * Drop Python 3.8 support [#1556] * Drop NumPy 1.20, 1.21 support [#1568] * Convert numpy scalars to python types during yaml encoding to handle NEP51 changes for numpy 2.0 [#1605] * Vendorize jsonschema 4.17.3 [#1591] * jsonschema vendorization - Asdf 2.15.1 includes internally a version of jsonschema 4.17.3. This inclusion was done to deal with incompatible changes in jsonschema 4.18. - Many libraries that use asdf import jsonschema to allow catching of ValidationError instances that might be raised during schema validation. Prior to asdf 2.15 this error type was not part of the public asdf API. For 2.15 and later users are expected to import ValidationError from asdf.exceptions (instead of jsonschema directly). - To further ease the transition, asdf will, when possible, use exceptions imported from any installed version of jsonschema. This means that when the asdf internal jsonschema raises a ValidationError on a system where jsonschema was separately installed, the internal jsonschema will attempt to use ValidationError from the installed version. This should allow code that catches exceptions imported from jsonschema to continue to work with no changes. However, asdf cannot guarantee compatibility with future installed jsonschema versions and users are encouraged to update their code to import ValidationError from asdf.exceptions. - Finally, asdf is temporarily keeping jsonschema as a dependency as many libraries expected this to be installed by
buildservice-autocommit
accepted
request 1087850
from
Benjamin Greiner (bnavigator)
(revision 38)
baserev update by copy to link target
Benjamin Greiner (bnavigator)
accepted
request 1087849
from
Benjamin Greiner (bnavigator)
(revision 37)
- Update to 2.15.0 * Add AsdfProvisionalAPIWarning to warn developers of new features that may undergo breaking changes but are likely to be included as stable features (without this warning) in a future version of ASDF [#1295] * Add AsdfDeprecationWarning to AsdfFile.blocks [#1336] * Document policy for ASDF release cycle including when support for ASDF versions end. Also document dependency support policy. [#1323] * Update lower pins on numpy (per release policy), packaging, and pyyaml to ones that we can successfully build and test against. [#1360] * Provide more informative filename when failing to open a file [#1357] * Add new plugin type for custom schema validators. [#1328] * Add AsdfDeprecationWarning to asdf.types.CustomType [#1359] * Throw more useful error when provided with a path containing an extra leading slash [#1356] * Add AsdfDeprecationWarning to AsdfInFits. Support for reading and writing ASDF in fits files is being moved to stdatamodels. [#1337] * Add AsdfDeprecationWarning to asdf.resolver [#1362] * Add AsdfDeprecationWarning to asdf.tests.helpers.assert_extension_correctness [#1388] * Add AsdfDeprecationWarning to asdf.type_index [#1403] * Add warning to use of asdftool extract and remove-hdu about deprecation and impending removal [#1411] * Deprecate AsdfFile attributes that use the legacy extension api [#1417] * Add AsdfDeprecationWarning to asdf.types [#1401]
Dirk Mueller (dirkmueller)
committed
(revision 36)
- set sle15_python_module_pythons to build with newer python stack on SLE15 on SLE15 on SLE15 on SLE15
Displaying revisions 1 - 20 of 55