pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-asdf py-asdf: updated to 2.8.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/332226dcc60c
branches: trunk
changeset: 771138:332226dcc60c
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 14 07:11:40 2021 +0000
description:
py-asdf: updated to 2.8.3
2.8.3 (2021-12-13)
------------------
- Fix more use of 'python' where 'python3' is intended.
2.8.2 (2021-12-06)
------------------
- Update documentation to reflect new 2.8 features.
- Fix array compression for non-native byte order
- Fix use of 'python' where 'python3' is intended.
- Fix schema URI resolving when the URI prefix is also
claimed by a legacy extension.
- Remove 'name' and 'version' attributes from NDArrayType
instances.
2.8.1 (2021-06-09)
------------------
- Fix bug in block manager when a new block is added to an existing
file without a block index.
2.8.0 (2021-05-12)
------------------
- Add ``yaml_tag_handles`` property to allow definition of custom yaml
``%TAG`` handles in the asdf file header.
- Add new resource mapping API for extending asdf with additional
schemas.
- Add global configuration mechanism.
- Drop support for automatic serialization of subclass
attributes.
- Support asdf:// as a URI scheme.
- Include only extensions used during serialization in
a file's metadata.
- Drop support for Python 3.5.
- Add new extension API to support versioned extensions.
- Permit wildcard in tag validator URIs.
- Implement support for ASDF Standard 1.6.0. This version of
the standard limits mapping keys to string, integer, or
boolean.
- Stop removing schema defaults for all ASDF Standard versions,
and automatically fill defaults only for versions <= 1.5.0.
- Stop removing keys with ``None`` values from the tree on write. This
fixes a long-standing issue where the tree structure is not preserved
on write, but will break ``ExtensionType`` subclasses that depend on
this behavior. Extension developers will need to modify their
``to_tree`` methods to check for ``None`` before adding a key to
the tree (or modify the schema to permit nulls, if that is the
intention).
- Deprecated the ``auto_inline`` argument to ``AsdfFile.write_to`` and
``AsdfFile.update`` and added ``AsdfConfig.array_inline_threshold``.
- Add ``edit`` subcommand to asdftool for efficient editing of
the YAML portion of an ASDF file.
- Increase limit on integer literals to signed 64-bit.
- Remove the ``asdf.test`` method and ``asdf.__githash__`` attribute.
- Add support for custom compression via extensions.
- Remove unnecessary ``.tree`` from search result paths.
- Drop support for bugs in older operating systems and Python versions.
- Add argument to ``asdftool diff`` that ignores tree nodes that match
a JMESPath expression.
- Fix behavior of ``exception`` argument to ``GenericFile.seek_until``.
- Fix issues in file type detection to allow non-seekable input and
filenames without recognizable extensions. Remove the ``asdf.asdf.is_asdf_file``
function.
- Update ``asdftool extensions`` and ``asdftool tags`` to incorporate
the new extension API.
- Add ``AsdfSearchResult.replace`` method for assigning new values to
search results.
- Search for block index starting from end of file. Fixes rare bug when
a data block contains a block index.
- Update asdf-standard to 1.6.0 tag.
2.7.5 (2021-06-09)
------------------
- Fix bug in ``asdf.schema.check_schema`` causing relative references in
metaschemas to be resolved incorrectly.
- Fix bug in block manager when a new block is added to an existing
file without a block index.
2.7.4 (2021-04-30)
------------------
- Fix pytest plugin failure under older versions of pytest.
- Copy array views when the base array is non-contiguous.
- Prohibit views over FITS arrays that change dtype.
- Add support for HTTPS URLs and following redirects.
- Prevent astropy warnings in tests when opening known bad files.
diffstat:
math/py-asdf/Makefile | 16 ++++++---
math/py-asdf/PLIST | 81 +++++++++++++++++++++++++++++++++++++++++++++-----
math/py-asdf/distinfo | 8 ++--
3 files changed, 88 insertions(+), 17 deletions(-)
diffs (235 lines):
diff -r b66cc357d6ed -r 332226dcc60c math/py-asdf/Makefile
--- a/math/py-asdf/Makefile Tue Dec 14 01:01:54 2021 +0000
+++ b/math/py-asdf/Makefile Tue Dec 14 07:11:40 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/06/29 08:42:00 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/14 07:11:40 adam Exp $
-DISTNAME= asdf-2.7.3
+DISTNAME= asdf-2.8.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asdf/}
@@ -11,20 +11,26 @@
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+= ${PYPKGPREFIX}-jmespath>=0.6.2:../../textproc/py-jmespath
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.0.2:../../textproc/py-jsonschema
DEPENDS+= ${PYPKGPREFIX}-lz4>=0.10:../../archivers/py-lz4
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.10.0:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-packaging>=16.0:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-semantic_version>=2.8:../../devel/py-semantic_version
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-numpy
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 39
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=3:../../devel/py-importlib-resources
+.endif
+
REPLACE_PYTHON+= asdf-standard/reference_files/generate/generate
REPLACE_PYTHON+= asdf/extern/RangeHTTPServer.py
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy
-
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} asdftool asdftool-${PYVERSSUFFIX} || ${TRUE}
diff -r b66cc357d6ed -r 332226dcc60c math/py-asdf/PLIST
--- a/math/py-asdf/PLIST Tue Dec 14 01:01:54 2021 +0000
+++ b/math/py-asdf/PLIST Tue Dec 14 07:11:40 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/05 19:45:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/12/14 07:11:40 adam Exp $
bin/asdftool-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -15,9 +15,9 @@
${PYSITELIB}/asdf/_display.py
${PYSITELIB}/asdf/_display.pyc
${PYSITELIB}/asdf/_display.pyo
-${PYSITELIB}/asdf/_internal_init.py
-${PYSITELIB}/asdf/_internal_init.pyc
-${PYSITELIB}/asdf/_internal_init.pyo
+${PYSITELIB}/asdf/_helpers.py
+${PYSITELIB}/asdf/_helpers.pyc
+${PYSITELIB}/asdf/_helpers.pyo
${PYSITELIB}/asdf/asdf.py
${PYSITELIB}/asdf/asdf.pyc
${PYSITELIB}/asdf/asdf.pyo
@@ -36,6 +36,9 @@
${PYSITELIB}/asdf/commands/diff.py
${PYSITELIB}/asdf/commands/diff.pyc
${PYSITELIB}/asdf/commands/diff.pyo
+${PYSITELIB}/asdf/commands/edit.py
+${PYSITELIB}/asdf/commands/edit.pyc
+${PYSITELIB}/asdf/commands/edit.pyo
${PYSITELIB}/asdf/commands/exploded.py
${PYSITELIB}/asdf/commands/exploded.pyc
${PYSITELIB}/asdf/commands/exploded.pyo
@@ -69,6 +72,9 @@
${PYSITELIB}/asdf/commands/tests/data/frames.diff
${PYSITELIB}/asdf/commands/tests/data/frames0.asdf
${PYSITELIB}/asdf/commands/tests/data/frames1.asdf
+${PYSITELIB}/asdf/commands/tests/data/frames_ignore_asdf_library.diff
+${PYSITELIB}/asdf/commands/tests/data/frames_ignore_both.diff
+${PYSITELIB}/asdf/commands/tests/data/frames_ignore_reference_frame.diff
${PYSITELIB}/asdf/commands/tests/data/frames_minimal.diff
${PYSITELIB}/asdf/commands/tests/data/simple_inline_array.diff
${PYSITELIB}/asdf/commands/tests/data/simple_inline_array0.asdf
@@ -79,9 +85,15 @@
${PYSITELIB}/asdf/commands/tests/test_diff.py
${PYSITELIB}/asdf/commands/tests/test_diff.pyc
${PYSITELIB}/asdf/commands/tests/test_diff.pyo
+${PYSITELIB}/asdf/commands/tests/test_edit.py
+${PYSITELIB}/asdf/commands/tests/test_edit.pyc
+${PYSITELIB}/asdf/commands/tests/test_edit.pyo
${PYSITELIB}/asdf/commands/tests/test_exploded.py
${PYSITELIB}/asdf/commands/tests/test_exploded.pyc
${PYSITELIB}/asdf/commands/tests/test_exploded.pyo
+${PYSITELIB}/asdf/commands/tests/test_extension.py
+${PYSITELIB}/asdf/commands/tests/test_extension.pyc
+${PYSITELIB}/asdf/commands/tests/test_extension.pyo
${PYSITELIB}/asdf/commands/tests/test_extract.py
${PYSITELIB}/asdf/commands/tests/test_extract.pyc
${PYSITELIB}/asdf/commands/tests/test_extract.pyo
@@ -112,18 +124,45 @@
${PYSITELIB}/asdf/compression.py
${PYSITELIB}/asdf/compression.pyc
${PYSITELIB}/asdf/compression.pyo
+${PYSITELIB}/asdf/config.py
+${PYSITELIB}/asdf/config.pyc
+${PYSITELIB}/asdf/config.pyo
${PYSITELIB}/asdf/conftest.py
${PYSITELIB}/asdf/conftest.pyc
${PYSITELIB}/asdf/conftest.pyo
${PYSITELIB}/asdf/constants.py
${PYSITELIB}/asdf/constants.pyc
${PYSITELIB}/asdf/constants.pyo
+${PYSITELIB}/asdf/entry_points.py
+${PYSITELIB}/asdf/entry_points.pyc
+${PYSITELIB}/asdf/entry_points.pyo
${PYSITELIB}/asdf/exceptions.py
${PYSITELIB}/asdf/exceptions.pyc
${PYSITELIB}/asdf/exceptions.pyo
-${PYSITELIB}/asdf/extension.py
-${PYSITELIB}/asdf/extension.pyc
-${PYSITELIB}/asdf/extension.pyo
+${PYSITELIB}/asdf/extension/__init__.py
+${PYSITELIB}/asdf/extension/__init__.pyc
+${PYSITELIB}/asdf/extension/__init__.pyo
+${PYSITELIB}/asdf/extension/_compressor.py
+${PYSITELIB}/asdf/extension/_compressor.pyc
+${PYSITELIB}/asdf/extension/_compressor.pyo
+${PYSITELIB}/asdf/extension/_converter.py
+${PYSITELIB}/asdf/extension/_converter.pyc
+${PYSITELIB}/asdf/extension/_converter.pyo
+${PYSITELIB}/asdf/extension/_extension.py
+${PYSITELIB}/asdf/extension/_extension.pyc
+${PYSITELIB}/asdf/extension/_extension.pyo
+${PYSITELIB}/asdf/extension/_legacy.py
+${PYSITELIB}/asdf/extension/_legacy.pyc
+${PYSITELIB}/asdf/extension/_legacy.pyo
+${PYSITELIB}/asdf/extension/_manager.py
+${PYSITELIB}/asdf/extension/_manager.pyc
+${PYSITELIB}/asdf/extension/_manager.pyo
+${PYSITELIB}/asdf/extension/_manifest.py
+${PYSITELIB}/asdf/extension/_manifest.pyc
+${PYSITELIB}/asdf/extension/_manifest.pyo
+${PYSITELIB}/asdf/extension/_tag.py
+${PYSITELIB}/asdf/extension/_tag.pyc
+${PYSITELIB}/asdf/extension/_tag.pyo
${PYSITELIB}/asdf/extern/RangeHTTPServer.py
${PYSITELIB}/asdf/extern/RangeHTTPServer.pyc
${PYSITELIB}/asdf/extern/RangeHTTPServer.pyo
@@ -171,6 +210,17 @@
${PYSITELIB}/asdf/resolver.py
${PYSITELIB}/asdf/resolver.pyc
${PYSITELIB}/asdf/resolver.pyo
+${PYSITELIB}/asdf/resource.py
+${PYSITELIB}/asdf/resource.pyc
+${PYSITELIB}/asdf/resource.pyo
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.0.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.1.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.2.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.3.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.4.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.5.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/manifests/core-1.6.0.yaml
+${PYSITELIB}/asdf/resources/asdf-format.org/core/schemas/extension_manifest-1.0.0.yaml
${PYSITELIB}/asdf/schema.py
${PYSITELIB}/asdf/schema.pyc
${PYSITELIB}/asdf/schema.pyo
@@ -417,6 +467,7 @@
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/version_map-1.3.0.yaml
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/version_map-1.4.0.yaml
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/version_map-1.5.0.yaml
+${PYSITELIB}/asdf/schemas/stsci.edu/asdf/version_map-1.6.0.yaml
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/wcs/celestial_frame-1.0.0.yaml
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/wcs/celestial_frame-1.1.0.yaml
${PYSITELIB}/asdf/schemas/stsci.edu/asdf/wcs/composite_frame-1.0.0.yaml
@@ -495,7 +546,6 @@
${PYSITELIB}/asdf/tests/conftest.py
${PYSITELIB}/asdf/tests/conftest.pyc
${PYSITELIB}/asdf/tests/conftest.pyo
-${PYSITELIB}/asdf/tests/coveragerc
${PYSITELIB}/asdf/tests/data/__init__.py
${PYSITELIB}/asdf/tests/data/__init__.pyc
${PYSITELIB}/asdf/tests/data/__init__.pyo
@@ -532,9 +582,18 @@
${PYSITELIB}/asdf/tests/test_array_blocks.py
${PYSITELIB}/asdf/tests/test_array_blocks.pyc
${PYSITELIB}/asdf/tests/test_array_blocks.pyo
+${PYSITELIB}/asdf/tests/test_asdf.py
+${PYSITELIB}/asdf/tests/test_asdf.pyc
+${PYSITELIB}/asdf/tests/test_asdf.pyo
${PYSITELIB}/asdf/tests/test_compression.py
${PYSITELIB}/asdf/tests/test_compression.pyc
${PYSITELIB}/asdf/tests/test_compression.pyo
+${PYSITELIB}/asdf/tests/test_config.py
+${PYSITELIB}/asdf/tests/test_config.pyc
+${PYSITELIB}/asdf/tests/test_config.pyo
+${PYSITELIB}/asdf/tests/test_entry_points.py
+${PYSITELIB}/asdf/tests/test_entry_points.pyc
+${PYSITELIB}/asdf/tests/test_entry_points.pyo
${PYSITELIB}/asdf/tests/test_extension.py
${PYSITELIB}/asdf/tests/test_extension.pyc
${PYSITELIB}/asdf/tests/test_extension.pyo
@@ -550,6 +609,9 @@
${PYSITELIB}/asdf/tests/test_helpers.py
${PYSITELIB}/asdf/tests/test_helpers.pyc
${PYSITELIB}/asdf/tests/test_helpers.pyo
+${PYSITELIB}/asdf/tests/test_integration.py
+${PYSITELIB}/asdf/tests/test_integration.pyc
+${PYSITELIB}/asdf/tests/test_integration.pyo
${PYSITELIB}/asdf/tests/test_reference.py
${PYSITELIB}/asdf/tests/test_reference.pyc
${PYSITELIB}/asdf/tests/test_reference.pyo
@@ -559,6 +621,9 @@
${PYSITELIB}/asdf/tests/test_resolver.py
${PYSITELIB}/asdf/tests/test_resolver.pyc
${PYSITELIB}/asdf/tests/test_resolver.pyo
+${PYSITELIB}/asdf/tests/test_resource.py
+${PYSITELIB}/asdf/tests/test_resource.pyc
+${PYSITELIB}/asdf/tests/test_resource.pyo
${PYSITELIB}/asdf/tests/test_schema.py
${PYSITELIB}/asdf/tests/test_schema.pyc
${PYSITELIB}/asdf/tests/test_schema.pyo
diff -r b66cc357d6ed -r 332226dcc60c math/py-asdf/distinfo
--- a/math/py-asdf/distinfo Tue Dec 14 01:01:54 2021 +0000
+++ b/math/py-asdf/distinfo Tue Dec 14 07:11:40 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:55:59 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/12/14 07:11:40 adam Exp $
-BLAKE2s (asdf-2.7.3.tar.gz) = e370da38557516ef3d7327e4aba71ffcc3fdaec14ed748b8f2e6c5a5d050a815
-SHA512 (asdf-2.7.3.tar.gz) = 3fb713f536213cae49a9f30273f411327be02d59d61ee39d2ab7a643655359eda8698c801d10f3922ef1a5fb8a7070ce08ef0fc36b556dfe9632a7e8baef9dfc
-Size (asdf-2.7.3.tar.gz) = 509984 bytes
+BLAKE2s (asdf-2.8.3.tar.gz) = 5a3b1279e7303ccbc62752beb8b9f536bd9058faeb6ea68c4dd86afa64abe815
+SHA512 (asdf-2.8.3.tar.gz) = c3b72ed7fefd33958413c962d81213d2d141072473e08c767059a3ff46ba03f0135c9435a7893eb0eb43b199e2c701d62f263a487872a120465979dfec8988df
+Size (asdf-2.8.3.tar.gz) = 513853 bytes
Home |
Main Index |
Thread Index |
Old Index