commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2024-04-21 20:26:04 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.26366 (New) Package is "python-asdf" Sun Apr 21 20:26:04 2024 rev:24 rq:1169275 version:3.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2024-03-10 20:26:27.378046591 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.26366/python-asdf.changes 2024-04-21 20:26:58.197236410 +0200 @@ -1,0 +2,9 @@ +Fri Apr 19 20:12:15 UTC 2024 - Ben Greiner + +- 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] + +--- Old: asdf-3.1.0.tar.gz New: asdf-3.2.0.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.hmBFYM/_old 2024-04-21 20:26:58.893261947 +0200 +++ /var/tmp/diff_new_pack.hmBFYM/_new 2024-04-21 20:26:58.897262094 +0200 @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-asdf%{psuffix} -Version:3.1.0 +Version:3.2.0 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause @@ -42,9 +42,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML >= 5.4.1 -Requires: python-asdf-standard >= 1.0.1 +Requires: python-asdf-standard >= 1.1.0 Requires: python-asdf-transform-schemas >= 0.3 -Requires: python-asdf-unit-schemas >= 0.1 Requires: python-attrs >= 20.1 Requires: python-importlib-metadata >= 4.11.4 Requires: python-jmespath >= 0.6.2 @@ -63,7 +62,6 @@ BuildRequires: %{python_module lz4 >= 0.10} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest >= 7} -BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-remotedata} %endif %python_subpackages @@ -79,7 +77,7 @@ sed -i -e '1{/^#!/d}' $removeshebang chmod a-x $removeshebang asdf/_tests/data/example_schema.json sed -i 's/\r$//' asdf/_tests/data/example_schema.json -sed -i '/addopts/ s/--color=yes//' pyproject.toml +sed -i "/addopts/ s/'--color=yes',//" pyproject.toml find . -name .gitignore -delete %build ++ asdf-3.1.0.tar.gz -> asdf-3.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-3.1.0/.github/workflows/ci.yml new/asdf-3.2.0/.github/workflows/ci.yml --- old/asdf-3.1.0/.github/workflows/ci.yml 2024-02-27 21:49:34.0 +0100 +++ new/asdf-3.2.0/.github/workflows/ci.yml 2024-04-05 18:10:02.0 +0200 @@ -70,10 +70,9 @@ envs: | - linux: asdf-standard - linux: asdf-transform-schemas -- linux: asdf-unit-schemas test: -needs: [core, asdf-schemas] +needs: [core] uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: submodules: false @@ -84,7 +83,7 @@ - windows: py39-parallel dev: -needs: [core, asdf-schemas] +needs: [core] uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: submodules: false @@ -99,7 +98,7 @@ - linux: py311-pytestdev-parallel oldest: -needs: [core, asdf-schemas] +needs: [core] uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: submodules: false @@ -109,7 +108,7 @@ - linux: py39-oldestdeps-parallel compatibility: -needs: [core, asdf-schemas] +needs: [core] uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: submodules: false @@ -119,7 +118,7 @@ - linux: compatibility package: -needs: [core, asdf-schemas] +needs: [core] uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 with: python-version: "3.11" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-3.1.0/.github/workflows/s390x.yml new/asdf-3.2.0/.github/workflows/s390x.yml --- old/asdf-3.1.0/.github/workflows/s390x.yml 2024-02-27 21:49:34.0 +0100 +++ new/asdf-3.2.0/.github/workflows/s390x.yml 2024-04-05 18:10:02.0 +0200 @@ -69,7 +69,7 @@ run: | python3 -m venv --system-site-packages tests source tests/bin/activate -pip3 install --upgrade pip setuptools pytest
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2023-10-03 20:15:24 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.28202 (New) Package is "python-asdf" Tue Oct 3 20:15:24 2023 rev:21 rq:1114796 version:2.15.2 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2023-08-11 15:56:20.368050931 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.28202/python-asdf.changes 2023-10-03 20:17:06.922506085 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 10:04:59 UTC 2023 - Dirk Müller + +- update to 2.15.2: + * The ASDF Standard is at v1.6.0 + * Add support for python 3.12 [#1641] + +--- Old: asdf-2.15.1.tar.gz New: asdf-2.15.2.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.hLFKFJ/_old 2023-10-03 20:17:08.238553550 +0200 +++ /var/tmp/diff_new_pack.hLFKFJ/_new 2023-10-03 20:17:08.242553695 +0200 @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-asdf%{psuffix} -Version:2.15.1 +Version:2.15.2 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause ++ asdf-2.15.1.tar.gz -> asdf-2.15.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/.github/workflows/changelog.yml new/asdf-2.15.2/.github/workflows/changelog.yml --- old/asdf-2.15.1/.github/workflows/changelog.yml 2023-08-07 23:48:44.0 +0200 +++ new/asdf-2.15.2/.github/workflows/changelog.yml 2023-09-29 19:54:34.0 +0200 @@ -17,8 +17,10 @@ name: Confirm changelog entry runs-on: ubuntu-latest steps: -- name: Check change log entry - uses: scientific-python/action-check-changelogfile@6087eddce1d684b0132be651a4dad97699513113 # 0.2 - env: -CHANGELOG_FILENAME: CHANGES.rst -GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout code +uses: actions/checkout@v4 +with: + fetch-depth: 0 + - name: Grep for PR number in CHANGES.rst +run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst +if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/.github/workflows/s390x.yml new/asdf-2.15.2/.github/workflows/s390x.yml --- old/asdf-2.15.1/.github/workflows/s390x.yml 2023-08-07 23:48:44.0 +0200 +++ new/asdf-2.15.2/.github/workflows/s390x.yml 2023-09-29 19:54:34.0 +0200 @@ -37,7 +37,7 @@ - arch: s390x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/CHANGES.rst new/asdf-2.15.2/CHANGES.rst --- old/asdf-2.15.1/CHANGES.rst 2023-08-07 23:48:44.0 +0200 +++ new/asdf-2.15.2/CHANGES.rst 2023-09-29 19:54:34.0 +0200 @@ -1,3 +1,11 @@ +2.15.2 (2023-09-29) +--- + +The ASDF Standard is at v1.6.0 +^^ + +- Add support for python 3.12 [#1641] + 2.15.1 (2023-08-07) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/PKG-INFO new/asdf-2.15.2/PKG-INFO --- old/asdf-2.15.1/PKG-INFO2023-08-07 23:48:56.846154500 +0200 +++ new/asdf-2.15.2/PKG-INFO2023-09-29 19:54:49.504261700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: asdf -Version: 2.15.1 +Version: 2.15.2 Summary: Python implementation of the ASDF Standard Author-email: The ASDF Developers License: BSD 3-Clause License @@ -43,12 +43,38 @@ Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Requires-Python: >=3.9 Description-Content-Type: text/x-rst +License-File: LICENSE +Requires-Dist: asdf-standard>=1.0.1 +Requires-Dist: asdf-transform-schemas>=0.3 +Requires-Dist: asdf-unit-schemas>=0.1 +Requires-Dist: importlib-metadata>=4.11.4 +Requires-Dist: jmespath>=0.6.2 +Requires-Dist: numpy>=1.22 +Requires-Dist: packaging>=19 +Requires-Dist: pyyaml>=5.4.1 +Requires-Dist: semantic_version>=2.8 +Requires-Dist: attrs>=20.1.0 +Requires-Dist: jsonschema>=4.8 Provides-Extra: all +Requires-Dist: lz4>=0.10; extra == "all"
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2023-08-11 15:56:05 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.11712 (New) Package is "python-asdf" Fri Aug 11 15:56:05 2023 rev:20 rq:1103427 version:2.15.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2023-05-21 19:09:34.842733905 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.11712/python-asdf.changes 2023-08-11 15:56:20.368050931 +0200 @@ -1,0 +2,37 @@ +Fri Aug 11 03:06:11 UTC 2023 - Ben Greiner + +- 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 + asdf. We expect to drop this requirement soon (likely in + 3.0.0) and this change might occur in a minor or even patch + version. + +--- Old: asdf-2.15.0.tar.gz New: asdf-2.15.1.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.vXbBML/_old 2023-08-11 15:56:21.872059892 +0200 +++ /var/tmp/diff_new_pack.vXbBML/_new 2023-08-11 15:56:21.924060202 +0200 @@ -27,13 +27,13 @@ %{?sle15_python_module_pythons} Name: python-asdf%{psuffix} -Version:2.15.0 +Version:2.15.1 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 60} BuildRequires: %{python_module setuptools_scm >= 3.4} @@ -44,15 +44,13 @@ Requires: python-asdf-standard >= 1.0.1 Requires: python-asdf-transform-schemas >= 0.3 Requires: python-asdf-unit-schemas >= 0.1 +Requires: python-attrs >= 20.1 Requires: python-importlib-metadata >= 4.11.4 Requires: python-jmespath >= 0.6.2 -Requires: python-numpy >= 1.20 +Requires: python-jsonschema >= 4.8 +Requires: python-numpy >= 1.22 Requires: python-packaging >= 19 Requires: python-semantic_version >= 2.8 -Requires: (python-jsonschema >= 4.0.1 with python-jsonschema < 4.18) -%if 0%{?python_version_nodots} < 39 -Requires: python-importlib-resources >= 3 -%endif Recommends: python-lz4 >= 0.10 Requires(post): update-alternatives Requires(postun):update-alternatives ++ asdf-2.15.0.tar.gz -> asdf-2.15.1.tar.gz ++ 104544 lines of diff (skipped)
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2023-05-21 19:08:36 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.1533 (New) Package is "python-asdf" Sun May 21 19:08:36 2023 rev:19 rq:1087850 version:2.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2022-10-22 17:33:26.387571170 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.1533/python-asdf.changes 2023-05-21 19:09:34.842733905 +0200 @@ -1,0 +2,87 @@ +Thu May 18 18:40:12 UTC 2023 - Ben Greiner + +- 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] + * deprecate default_extensions, get_default_resolver and +get_cached_asdf_extension_list in asdf.extension [#1409] + * move asdf.types.format_tag to asdf.testing.helpers.format_tag +[#1433] + * Deprecate AsdfExtenion, AsdfExtensionList, BuiltinExtension +[#1429] + * Add AsdfDeprecationWarning to asdf_extensions entry point +[#1361] + * Deprecate asdf.tests.helpers [#1440] + * respect umask when determining file permissions for written +files [#1451] +- Release 2.14.4 + * require jsonschema<4.18 [#1487] +- Release 2.14.3 + * Use importlib_metadata for all python versions [#1260] + * Fix issue #1268, where update could fail to clear memmaps for +some files [#1269] + * Bump asdf-transform-schemas version [#1278] +- Release 2.14.2 + * Fix issue #1256, where enum could not be used on tagged +objects. [#1257] +- Release 2.14.1 + * Fix issue #1239, close memmap with asdf file context [#1241] +- Release 2.14.0 + * Update citation. [#1184] + * Add search support to ~asdf.AsdfFile.schema_info. [#1187] + * Add asdf.search.AsdfSearchResult support for +~asdf.AsdfFile.schema_info and +~asdf.search.AsdfSearchResult.schema_info method. [#1197] + * Use forc ndarray flag to correctly test for fortran array +contiguity [#1206] + * Unpin jsonschema version and fix jsonschema deprecation +warnings. [#1185] + * Replace pkg_resources with importlib.metadata. [#1199] + * Fix default validation for jsonschema 4.10+ [#1203] + * Add asdf-unit-schemas as a dependency, for backwards +compatibility. [#1210] + * Remove stray toplevel packages docker docs and +compatibility_tests from wheel [#1214] + * Close files opened during a failed call to asdf.open [#1221] + * Modify generic_file for fsspec compatibility [#1226] + * Add fsspec http filesystem support [#1228] + * Memmap whole file instead of each array [#1230] + * Fix issue #1232 where array data was duplicated during resaving +of a fits file [#1234] +- Drop asdf-pr1185+pr1203-fix-jsonschema.patch fixed upstream +- Drop asdf-pr1214-installed-packages.patch fixed upstream + +--- +Thu May 18 16:08:18 UTC 2023 - Dirk Müller + +- set sle15_python_module_pythons to build with newer python + stack on SLE15 on SLE15 on SLE15 on SLE15 + +--- Old: asdf-2.13.0.tar.gz asdf-pr1185+pr1203-fix-jsonschema.patch asdf-pr1214-installed-packages.patch New: asdf-2.15.0.tar.gz Other differences:
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2022-10-22 17:33:25 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.2275 (New) Package is "python-asdf" Sat Oct 22 17:33:25 2022 rev:18 rq:1030520 version:2.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2022-04-30 22:52:09.588193566 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.2275/python-asdf.changes 2022-10-22 17:33:26.387571170 +0200 @@ -1,0 +2,24 @@ +Sat Oct 22 10:00:12 UTC 2022 - Ben Greiner + +- Update to 2.13.0 + * The ASDF Standard is at v1.6.0 + * Add ability to pull information from schema about asdf file +data, using ~asdf.AsdfFile.schema_info method. [#1167] +- Release 2.12.1 + * Overhaul of the ASDF documentation to make it more consistent +and readable. [#1142, #1152] + * Update deprecated instances of abstractproperty to +abstractmethod [#1148] + * Move build configuration into pyproject.toml [#1149, #1155] + * Pin jsonschema to below 4.10.0. [#1171] +- Release 2.12.0 + * Added ability to display title as a comment in using the info() +functionality. [#1138] + * Add ability to set asdf-standard version for schema example +items. [#1143] +- Add asdf-pr1185+pr1203-fix-jsonschema.patch + * gh#asdf-format/asdf#1185, gh#asdf-format/asdf#1203 +- Add asdf-pr1214-installed-packages.patch + * gh#asdf-format/asdf#1214 + +--- Old: asdf-2.11.1.tar.gz New: asdf-2.13.0.tar.gz asdf-pr1185+pr1203-fix-jsonschema.patch asdf-pr1214-installed-packages.patch Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.M7sb7L/_old 2022-10-22 17:33:27.007572130 +0200 +++ /var/tmp/diff_new_pack.M7sb7L/_new 2022-10-22 17:33:27.015572142 +0200 @@ -25,19 +25,22 @@ %bcond_with test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-asdf%{psuffix} -Version:2.11.1 +Version:2.13.0 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module packaging >= 16.0} -BuildRequires: %{python_module setuptools >= 30.3.0} -BuildRequires: %{python_module setuptools_scm} +# PATCH-FIX-UPSTREAM asdf-pr1185+pr1203-fix-jsonschema.patch gh#asdf-format/asdf#1185, gh#asdf-format/asdf#1203 +Patch0: asdf-pr1185+pr1203-fix-jsonschema.patch +# PATCH-FIX-UPSTREAM asdf-pr1214-installed-packages.patch gh#asdf-format/asdf#1214 +Patch1: asdf-pr1214-installed-packages.patch +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 42} +BuildRequires: %{python_module setuptools_scm >= 3.4} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.10 @@ -82,14 +85,14 @@ chmod a-x asdf/extern/RangeHTTPServer.py sed -i 's/\r$//' asdf/tests/data/example_schema.json chmod a-x asdf/tests/data/example_schema.json -sed -i '/addopts/ s/--color=yes//' setup.cfg +sed -i '/addopts/ s/--color=yes//' pyproject.toml %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/asdftool %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif ++ asdf-2.11.1.tar.gz -> asdf-2.13.0.tar.gz ++ 6158 lines of diff (skipped) ++ asdf-pr1185+pr1203-fix-jsonschema.patch ++ >From ee83878f7bd5072da21928ebcf4c586997767c97 Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Wed, 31 Aug 2022 10:47:21 -0400 Subject: [PATCH 1/5] Fix subclass using a patch --- asdf/schema.py | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/asdf/schema.py b/asdf/schema.py index f62e2b84..7a6ee123 100644 --- a/asdf/schema.py +++ b/asdf/schema.py @@ -7,7 +7,6 @@ from functools import lru_cache from numbers import Integral -import attr import numpy as np import yaml from jsonschema import validators as mvalidators @@ -253,15 +252,25 @@ def _create_validator(validators=YAML_VALIDATORS, visit_repeat_nodes=False): } ) id_of = mvalidators.Draft4Validator.ID_OF -base_cls = mvalidators.create( +ASDFValidator = mvalidators.create(
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2022-04-30 22:52:03 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.1538 (New) Package is "python-asdf" Sat Apr 30 22:52:03 2022 rev:17 rq:973211 version:2.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2022-03-16 21:15:32.982854758 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.1538/python-asdf.changes 2022-04-30 22:52:09.588193566 +0200 @@ -1,0 +2,8 @@ +Tue Apr 26 11:36:22 UTC 2022 - Ben Greiner + +- Update to 2.11.1 + * Update minimum astropy version to 5.0.4. [#1133] + * Update minimum jsonschema version to 4.0.1. [#1105] +- Collect tests from installed sitelib -- gh#pytest-dev/pytest#9765 + +--- Old: asdf-2.10.1.tar.gz New: asdf-2.11.1.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.YVrWLf/_old 2022-04-30 22:52:10.132194302 +0200 +++ /var/tmp/diff_new_pack.YVrWLf/_new 2022-04-30 22:52:10.136194307 +0200 @@ -28,7 +28,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-asdf%{psuffix} -Version:2.10.1 +Version:2.11.1 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause @@ -44,7 +44,7 @@ Requires: python-asdf-standard >= 1.0.1 Requires: python-asdf-transform-schemas >= 0.2.2 Requires: python-jmespath >= 0.6.2 -Requires: python-jsonschema >= 3.0.2 +Requires: python-jsonschema >= 4.0.1 Requires: python-numpy >= 1.10 Requires: python-packaging >= 16.0 Requires: python-semantic_version >= 2.8 @@ -58,12 +58,13 @@ # SECTION test requirements %if %{with test} BuildRequires: %{python_module asdf = %{version}} -BuildRequires: %{python_module astropy} +BuildRequires: %{python_module astropy >= 5.0.4} BuildRequires: %{python_module gwcs} BuildRequires: %{python_module lz4} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-openfiles >= 0.3.1} +BuildRequires: %{python_module pytest-remotedata} BuildRequires: %{python_module pytest-sugar} BuildRequires: %{python_module pytest} %endif @@ -96,8 +97,9 @@ %check %if %{with test} export LANG=en_US.UTF-8 -export PY_IGNORE_IMPORTMISMATCH=1 -%pytest +# remove source directory in order to avoid import mismatches +mv asdf asdf.moved +%pytest --pyargs asdf --remote-data=none %endif %post ++ asdf-2.10.1.tar.gz -> asdf-2.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.10.1/.github/workflows/ci.yml new/asdf-2.11.1/.github/workflows/ci.yml --- old/asdf-2.10.1/.github/workflows/ci.yml2022-03-02 21:50:44.0 +0100 +++ new/asdf-2.11.1/.github/workflows/ci.yml2022-04-18 21:11:29.0 +0200 @@ -33,15 +33,10 @@ python-version: "3.8" toxenv: py38 - - name: Python 3.7 Testing + - name: Python 3.8 with legacy packages os: ubuntu-latest -python-version: "3.7" -toxenv: py37 - - - name: Python 3.7 with legacy packages -os: ubuntu-latest -python-version: "3.7" -toxenv: py37-legacy +python-version: "3.8" +toxenv: py38-legacy - name: Mac OS Latest os: macos-latest @@ -117,7 +112,7 @@ - name: Warnings Treated as Exceptions os: ubuntu-latest -python-version: "3.9" +python-version: "3.10" toxenv: warnings - name: Windows diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.10.1/.github/workflows/downstream.yml new/asdf-2.11.1/.github/workflows/downstream.yml --- old/asdf-2.10.1/.github/workflows/downstream.yml2022-03-02 21:50:44.0 +0100 +++ new/asdf-2.11.1/.github/workflows/downstream.yml2022-04-18 21:11:29.0 +0200 @@ -47,6 +47,11 @@ ref: master install_command: pip install -e .[test] test_command: pytest + - package_name: stdatamodels +repository: spacetelescope/stdatamodels +ref: master +install_command: pip install -e .[test] +test_command: pytest - package_name: roman_datamodels repository: spacetelescope/roman_datamodels ref:
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2022-03-16 21:15:28 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.25692 (New) Package is "python-asdf" Wed Mar 16 21:15:28 2022 rev:16 rq:961496 version:2.10.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-12-30 15:56:12.604691067 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.25692/python-asdf.changes 2022-03-16 21:15:32.982854758 +0100 @@ -1,0 +2,29 @@ +Sun Mar 13 07:57:12 UTC 2022 - Ben Greiner + +- Update to 2.10.1 + * Bugfix for circular build dependency for asdf. + * Fix small bug with handling multiple schema uris per tag. + * Replace asdf-standard submodule with pypi package. [#1079] + * Fix deprecation warnings stemming from the release of pytest +7.0.0. + * Fix bug in pytest plugin when schemas are not in a directory +named "schemas". +- Release 2.9 + * The ASDF Standard is at v1.6.0. + * Fix typo in testing module __init__.py name. + * Add the capability for classes to expose their contents to +AsdfFile.info and AsdfFile.search via the __asdf_traverse__ +method. + * Drop support for Python 3.6. + * Update setup.py to raise error if "git submodule update --init" +has not been run. + * Add ability for tags to correspond to multiple schema_uri, with +an implied allOf among the schema_uris. + * Add the URL of the file being parsed to SerializationContext. + * Add asdf.testing.helpers module with simplified versions of +test helpers previously available in asdf.tests.helpers. +- Drop patches merged + * asdf-pr1034-tags.patch + * asdf-standard-pr289-schema.patch + +--- Old: asdf-2.8.3.tar.gz asdf-pr1034-tags.patch asdf-standard-pr289-schema.patch New: asdf-2.10.1.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.F2u6YB/_old 2022-03-16 21:15:35.158855950 +0100 +++ /var/tmp/diff_new_pack.F2u6YB/_new 2022-03-16 21:15:35.162855952 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,38 +24,31 @@ %define psuffix %{nil} %bcond_with test %endif + +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -# current astropy in TW requires python >= 3.7 -%define skip_python36 1 Name: python-asdf%{psuffix} -Version:2.8.3 +Version:2.10.1 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz -# PATCH-FIX-UPSTREAM asdf-pr1034-tags.patch -- gh#asdf-format/asdf#1034 -Patch0: asdf-pr1034-tags.patch -# PATCH-FIX-UPSTREAM asdf-standard-pr289-schema.patch -- gh#asdf-format/asdf-standard#289 -Patch1: asdf-standard-pr289-schema.patch -BuildRequires: %{python_module PyYAML >= 3.10} -BuildRequires: %{python_module importlib-resources >= 3 if %python-base < 3.9} -BuildRequires: %{python_module jmespath >= 0.6.2} -BuildRequires: %{python_module jsonschema >= 3.0.2} -BuildRequires: %{python_module numpy >= 1.10} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module packaging >= 16.0} -BuildRequires: %{python_module semantic_version >= 2.8} BuildRequires: %{python_module setuptools >= 30.3.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.10 +Requires: python-asdf-standard >= 1.0.1 +Requires: python-asdf-transform-schemas >= 0.2.2 Requires: python-jmespath >= 0.6.2 Requires: python-jsonschema >= 3.0.2 Requires: python-numpy >= 1.10 Requires: python-packaging >= 16.0 Requires: python-semantic_version >= 2.8 -%if %python_version_nodots < 39 +%if 0%{?python_version_nodots} < 39 Requires: python-importlib-resources >= 3 %endif Recommends: python-lz4 >= 0.10 @@ -65,13 +57,14 @@ BuildArch: noarch # SECTION test requirements %if %{with test} -BuildRequires: %{python_module asdf} +BuildRequires:
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2021-12-30 15:55:45 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.1896 (New) Package is "python-asdf" Thu Dec 30 15:55:45 2021 rev:15 rq:943222 version:2.8.3 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-12-14 22:02:44.071166341 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.1896/python-asdf.changes 2021-12-30 15:56:12.604691067 +0100 @@ -1,0 +2,7 @@ +Tue Dec 28 18:57:17 UTC 2021 - Ben Greiner + +- Add patches for working with newer gwcs and asdf-astropy + * asdf-pr1034-tags.patch + * asdf-standard-pr289-schema.patch + +--- New: asdf-pr1034-tags.patch asdf-standard-pr289-schema.patch Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.IcVyyJ/_old 2021-12-30 15:56:13.092691443 +0100 +++ /var/tmp/diff_new_pack.IcVyyJ/_new 2021-12-30 15:56:13.096691447 +0100 @@ -35,6 +35,10 @@ License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz +# PATCH-FIX-UPSTREAM asdf-pr1034-tags.patch -- gh#asdf-format/asdf#1034 +Patch0: asdf-pr1034-tags.patch +# PATCH-FIX-UPSTREAM asdf-standard-pr289-schema.patch -- gh#asdf-format/asdf-standard#289 +Patch1: asdf-standard-pr289-schema.patch BuildRequires: %{python_module PyYAML >= 3.10} BuildRequires: %{python_module importlib-resources >= 3 if %python-base < 3.9} BuildRequires: %{python_module jmespath >= 0.6.2} @@ -79,7 +83,7 @@ Python implementation of the ASDF Standard. %prep -%setup -q -n asdf-%{version} +%autosetup -p1 -n asdf-%{version} sed -i -e '/^#!\//, 1d' asdf/extern/RangeHTTPServer.py chmod a-x asdf/extern/RangeHTTPServer.py sed -i 's/\r$//' asdf/tests/data/example_schema.json ++ asdf-pr1034-tags.patch ++ >From b596cee93d1d95c11c563de2bac67cc76d1ceb19 Mon Sep 17 00:00:00 2001 From: Ed Slavich Date: Mon, 13 Dec 2021 14:44:31 -0500 Subject: [PATCH] Fix tag listing when extension is not fully implemented --- CHANGES.rst | 5 asdf/commands/tags.py| 2 +- asdf/commands/tests/test_tags.py | 2 +- asdf/tests/test_types.py | 41 4 files changed, 7 insertions(+), 43 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 8529fb6a5..1e142e4e4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,8 @@ +2.8.4 (unreleased) +-- + +- Fix tag listing when extension is not fully implemented. [#1034] + 2.8.3 (2021-12-13) -- diff --git a/asdf/commands/tags.py b/asdf/commands/tags.py index e7fa47df4..ae61aabc4 100644 --- a/asdf/commands/tags.py +++ b/asdf/commands/tags.py @@ -45,7 +45,7 @@ def list_tags(display_classes=False, iostream=sys.stdout): af = AsdfFile() tag_pairs = [] -for tag in af.extension_manager._tag_defs_by_tag: +for tag in af.extension_manager._converters_by_tag: tag_pairs.append((tag, af.extension_manager.get_converter_for_tag(tag).types)) for tag in af.type_index._type_by_tag: tag_pairs.append((tag, [af.type_index._type_by_tag[tag]])) diff --git a/asdf/commands/tests/test_tags.py b/asdf/commands/tests/test_tags.py index fe676a213..aec0027c1 100644 --- a/asdf/commands/tests/test_tags.py +++ b/asdf/commands/tests/test_tags.py @@ -21,5 +21,5 @@ def test_all_tags_present(): af = AsdfFile() for tag in af.type_index._type_by_tag: assert tag in tags -for tag in af.extension_manager._tag_defs_by_tag: +for tag in af.extension_manager._converters_by_tag: assert tag in tags diff --git a/asdf/tests/test_types.py b/asdf/tests/test_types.py index 32ea2ee0f..b7bfc29b5 100644 --- a/asdf/tests/test_types.py +++ b/asdf/tests/test_types.py @@ -604,47 +604,6 @@ def types(self): asdf.open(buff, extensions=CustomFlowExtension()) -def test_extension_override(tmpdir): - -gwcs = pytest.importorskip('gwcs', '0.12.0') - -version = str(versioning.default_version) -tmpfile = str(tmpdir.join('override.asdf')) - -with asdf.AsdfFile() as aa: -assert aa.type_index.from_custom_type(gwcs.WCS, version=version) is gwcs.tags.wcs.WCSType -aa.tree['wcs'] = gwcs.WCS(output_frame='icrs') -aa.write_to(tmpfile) - -with open(tmpfile, 'rb') as ff: -contents = str(ff.read()) -assert gwcs.tags.wcs.WCSType.yaml_tag in contents - - -def
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2021-12-14 22:02:18 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.2520 (New) Package is "python-asdf" Tue Dec 14 22:02:18 2021 rev:14 rq:940554 version:2.8.3 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-11-12 16:00:08.930589480 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.2520/python-asdf.changes 2021-12-14 22:02:44.071166341 +0100 @@ -1,0 +2,13 @@ +Mon Dec 13 18:43:20 UTC 2021 - Ben Greiner + +- Update to version 2.8.3 + * Fix array compression for non-native byte order. + * Fix bug in schema loading when URI is claimed by both legacy +and new-style extensions. + * Hide 'name' and 'version' attributes on instances of +NDArrayType. + * Fix use of "python" instead of "python3" in compatibility +tests. +- Unpin pytest<6 -- gh#asdf-format/asdf#1038 + +--- Old: asdf-2.8.1.tar.gz New: asdf-2.8.3.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.LNHYUR/_old 2021-12-14 22:02:44.647166670 +0100 +++ /var/tmp/diff_new_pack.LNHYUR/_new 2021-12-14 22:02:44.651166671 +0100 @@ -29,7 +29,7 @@ # current astropy in TW requires python >= 3.7 %define skip_python36 1 Name: python-asdf%{psuffix} -Version:2.8.1 +Version:2.8.3 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause @@ -64,10 +64,11 @@ BuildRequires: %{python_module asdf} BuildRequires: %{python_module astropy} BuildRequires: %{python_module gwcs} +BuildRequires: %{python_module lz4} BuildRequires: %{python_module psutil} -BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-openfiles >= 0.3.1} +BuildRequires: %{python_module pytest} %endif # /SECTION %python_subpackages @@ -83,6 +84,8 @@ chmod a-x asdf/extern/RangeHTTPServer.py sed -i 's/\r$//' asdf/tests/data/example_schema.json chmod a-x asdf/tests/data/example_schema.json +# https://github.com/asdf-format/asdf/pull/1036 +sed -i 's/isSet/is_set/' asdf/tests/httpserver.py %build %python_build @@ -100,11 +103,6 @@ %check %if %{with test} export LANG=en_US.UTF-8 -%{python_expand # the tests assume the existence of a `python` command -mkdir -p build/bin -ln -s %{__$python} build/bin/python -} -export PATH="$(pwd)/build/bin:$PATH" # import everything from the source directory because of collection conflicts with buildroot export PYTHONPATH=":x" %pytest --import-mode=append ++ asdf-2.8.1.tar.gz -> asdf-2.8.3.tar.gz ++ 5592 lines of diff (skipped)
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2021-11-12 15:59:21 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.1890 (New) Package is "python-asdf" Fri Nov 12 15:59:21 2021 rev:13 rq:930995 version:2.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-07-20 15:40:42.265605483 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.1890/python-asdf.changes 2021-11-12 16:00:08.930589480 +0100 @@ -1,0 +2,5 @@ +Thu Nov 11 23:33:42 UTC 2021 - Steve Kowalik + +- Add multibuild to avoid a build loop. + +--- New: _multibuild Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.Dq2UMC/_old 2021-11-12 16:00:09.390589693 +0100 +++ /var/tmp/diff_new_pack.Dq2UMC/_new 2021-11-12 16:00:09.394589695 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-asdf +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -17,10 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif %define skip_python2 1 # current astropy in TW requires python >= 3.7 %define skip_python36 1 -Name: python-asdf +Name: python-asdf%{psuffix} Version:2.8.1 Release:0 Summary:Python tools to handle ASDF files @@ -52,12 +60,15 @@ Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements +%if %{with test} +BuildRequires: %{python_module asdf} BuildRequires: %{python_module astropy} BuildRequires: %{python_module gwcs} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-openfiles >= 0.3.1} +%endif # /SECTION %python_subpackages @@ -77,14 +88,17 @@ %python_build %install +%if !%{with test} %python_install %python_clone -a %{buildroot}%{_bindir}/asdftool %{python_expand # sed -i -e 's|^#!/usr/bin/env python|#!%{__$python}|' %{buildroot}%{$python_sitelib}/asdf/reference_files/generate/generate %fdupes %{buildroot}%{$python_sitelib} } +%endif %check +%if %{with test} export LANG=en_US.UTF-8 %{python_expand # the tests assume the existence of a `python` command mkdir -p build/bin @@ -94,6 +108,7 @@ # import everything from the source directory because of collection conflicts with buildroot export PYTHONPATH=":x" %pytest --import-mode=append +%endif %post %python_install_alternative asdftool @@ -101,6 +116,7 @@ %postun %python_uninstall_alternative asdftool +%if !%{with test} %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE @@ -108,5 +124,6 @@ %{python_sitelib}/asdf %{python_sitelib}/asdf-%{version}*-info %{python_sitelib}/pytest_asdf +%endif %changelog ++ _multibuild ++ test
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2021-07-20 15:39:43 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.2632 (New) Package is "python-asdf" Tue Jul 20 15:39:43 2021 rev:12 rq:907303 version:2.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-04-21 20:59:35.958220233 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.2632/python-asdf.changes 2021-07-20 15:40:42.265605483 +0200 @@ -1,0 +2,21 @@ +Mon Jul 19 16:39:42 UTC 2021 - Ben Greiner + +- Update to version 2.8.1 + * Fix bug that corrupts ndarray views when a new block is added +to an existing file in absence of a block index. +- Release 2.8.0 + * New plugin APIs for block compressors, extensions, and schemas. + * New global configuration mechanism (asdf.get_config()). + * Support for the asdf:// URI scheme. + * Drop support for Python 3.5. + * Support for ASDF Standard 1.6.0, which is available via the +version argument to AsdfFile.__init__ but not yet the +default. + * Values that match defaults defined in schemas are no longer +automatically removed from the ASDF tree. + * None values are no longer removed from the tree on write. + * Remove the asdf.test method and asdf.__githash__ attribute. + * And more, see CHANGES.rst for details. +- Update build and runtime requirements + +--- Old: asdf-2.7.3.tar.gz New: asdf-2.8.1.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.dPlzys/_old 2021-07-20 15:40:42.741606334 +0200 +++ /var/tmp/diff_new_pack.dPlzys/_new 2021-07-20 15:40:42.745606341 +0200 @@ -21,36 +21,43 @@ # current astropy in TW requires python >= 3.7 %define skip_python36 1 Name: python-asdf -Version:2.7.3 +Version:2.8.1 Release:0 Summary:Python tools to handle ASDF files License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz +BuildRequires: %{python_module PyYAML >= 3.10} +BuildRequires: %{python_module importlib-resources >= 3 if %python-base < 3.9} +BuildRequires: %{python_module jmespath >= 0.6.2} +BuildRequires: %{python_module jsonschema >= 3.0.2} +BuildRequires: %{python_module numpy >= 1.10} +BuildRequires: %{python_module packaging >= 16.0} +BuildRequires: %{python_module semantic_version >= 2.8} BuildRequires: %{python_module setuptools >= 30.3.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.10 -Requires: python-astropy >= 3.0 -Requires: python-astropy-helpers +Requires: python-jmespath >= 0.6.2 Requires: python-jsonschema >= 3.0.2 Requires: python-numpy >= 1.10 +Requires: python-packaging >= 16.0 Requires: python-semantic_version >= 2.8 +%if %python_version_nodots < 39 +Requires: python-importlib-resources >= 3 +%endif Recommends: python-lz4 >= 0.10 Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module PyYAML >= 3.10} -BuildRequires: %{python_module astropy >= 3.0} -BuildRequires: %{python_module astropy-helpers} -BuildRequires: %{python_module jsonschema >= 3.0.2} -BuildRequires: %{python_module numpy >= 1.10} -BuildRequires: %{python_module pytest-astropy} +BuildRequires: %{python_module astropy} +BuildRequires: %{python_module gwcs} +BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pytest < 6} +BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-openfiles >= 0.3.1} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module semantic_version >= 2.8} # /SECTION %python_subpackages @@ -79,9 +86,14 @@ %check export LANG=en_US.UTF-8 +%{python_expand # the tests assume the existence of a `python` command +mkdir -p build/bin +ln -s %{__$python} build/bin/python +} +export PATH="$(pwd)/build/bin:$PATH" # import everything from the source directory because of collection conflicts with buildroot export PYTHONPATH=":x" -%pytest +%pytest --import-mode=append %post %python_install_alternative asdftool @@ -91,7 +103,7 @@ %files %{python_files} %doc CHANGES.rst README.rst -%license licenses/* +%license LICENSE %python_alternative %{_bindir}/asdftool %{python_sitelib}/asdf
commit python-asdf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2021-04-21 20:59:21 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.12324 (New) Package is "python-asdf" Wed Apr 21 20:59:21 2021 rev:11 rq:886341 version:2.7.3 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2021-02-11 12:53:04.197974948 +0100 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.12324/python-asdf.changes 2021-04-21 20:59:35.958220233 +0200 @@ -1,0 +2,9 @@ +Sat Apr 17 14:21:09 UTC 2021 - Ben Greiner + +- Update to version 2.7.3 + * Fix bug resulting in invalid strides values for views over FITS +arrays. + * Add pytest plugin options to skip and xfail individual tests +and xfail the unsupported ndarray-1.0.0 schema example. + +--- Old: asdf-2.7.2.tar.gz New: asdf-2.7.3.tar.gz Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.NhyYoN/_old 2021-04-21 20:59:36.490221071 +0200 +++ /var/tmp/diff_new_pack.NhyYoN/_new 2021-04-21 20:59:36.490221071 +0200 @@ -21,10 +21,10 @@ # current astropy in TW requires python >= 3.7 %define skip_python36 1 Name: python-asdf -Version:2.7.2 +Version:2.7.3 Release:0 Summary:Python tools to handle ASDF files -License:BSD-3-Clause AND BSD-2-Clause +License:BSD-2-Clause AND BSD-3-Clause URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 30.3.0} @@ -39,7 +39,7 @@ Requires: python-semantic_version >= 2.8 Recommends: python-lz4 >= 0.10 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML >= 3.10} ++ asdf-2.7.2.tar.gz -> asdf-2.7.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.7.2/.github/workflows/asdf_ci.yml new/asdf-2.7.3/.github/workflows/asdf_ci.yml --- old/asdf-2.7.2/.github/workflows/asdf_ci.yml2021-01-19 17:59:32.0 +0100 +++ new/asdf-2.7.3/.github/workflows/asdf_ci.yml2021-02-25 23:57:56.0 +0100 @@ -1,4 +1,4 @@ -name: ASDF CI +name: CI on: push: @@ -43,6 +43,11 @@ python-version: 3.5 toxenv: py35 + - name: Python 3.5 with legacy packages +os: ubuntu-latest +python-version: 3.5 +toxenv: py35-legacy + - name: Documentation Build os: ubuntu-latest python-version: 3.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.7.2/.github/workflows/downstream.yml new/asdf-2.7.3/.github/workflows/downstream.yml --- old/asdf-2.7.2/.github/workflows/downstream.yml 1970-01-01 01:00:00.0 +0100 +++ new/asdf-2.7.3/.github/workflows/downstream.yml 2021-02-25 23:57:56.0 +0100 @@ -0,0 +1,83 @@ +name: Downstream + +on: + workflow_dispatch: +inputs: + asdf_ref: +description: asdf ref +required: true +default: master + astropy_ref: +description: astropy ref +required: true +default: master + gwcs_ref: +description: gwcs ref +required: true +default: master + jwst_ref: +description: jwst ref +required: true +default: master + specutils_ref: +description: specutils ref +required: true +default: master + schedule: +# Run every Monday at 6am UTC +- cron: '0 6 * * 1' + +env: + CRDS_SERVER_URL: https://jwst-crds.stsci.edu + CRDS_PATH: ~/crds_cache + CRDS_CLIENT_RETRY_COUNT: 3 + CRDS_CLIENT_RETRY_DELAY_SECONDS: 20 + +jobs: + common: +name: ${{ matrix.package_name }}@${{ matrix.ref }} unit tests +runs-on: ubuntu-latest +strategy: + fail-fast: false + matrix: +include: + - package_name: gwcs +repository: spacetelescope/gwcs +ref: ${{ github.event.inputs.gwcs_ref || 'master' }} + - package_name: jwst +repository: spacetelescope/jwst +ref: ${{ github.event.inputs.jwst_ref || 'master' }} + - package_name: specutils +repository: astropy/specutils +ref: ${{ github.event.inputs.specutils_ref || 'master' }} +steps: + - uses:
commit python-asdf for openSUSE:Factory
Hello community, here is the log from the commit of package python-asdf for openSUSE:Factory checked in at 2020-12-09 22:21:44 Comparing /work/SRC/openSUSE:Factory/python-asdf (Old) and /work/SRC/openSUSE:Factory/.python-asdf.new.2328 (New) Package is "python-asdf" Wed Dec 9 22:21:44 2020 rev:9 rq:854163 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-asdf/python-asdf.changes 2020-09-15 16:30:31.298724973 +0200 +++ /work/SRC/openSUSE:Factory/.python-asdf.new.2328/python-asdf.changes 2020-12-09 22:21:45.339695722 +0100 @@ -1,0 +2,6 @@ +Tue Dec 8 22:37:37 UTC 2020 - Benjamin Greiner + +- Fix pytest collection error by importing from source dir +- Fix rpmlint shebang errors + +--- Other differences: -- ++ python-asdf.spec ++ --- /var/tmp/diff_new_pack.FGY7ll/_old 2020-12-09 22:21:45.991696383 +0100 +++ /var/tmp/diff_new_pack.FGY7ll/_new 2020-12-09 22:21:45.995696387 +0100 @@ -18,12 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +# current astropy in TW requires python >= 3.7 +%define skip_python36 1 Name: python-asdf Version:2.7.1 Release:0 Summary:Python tools to handle ASDF files License:BSD-3-Clause AND BSD-2-Clause -URL:https://github.com/spacetelescope/asdf +URL:https://github.com/asdf-format/asdf Source0: https://files.pythonhosted.org/packages/source/a/asdf/asdf-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 30.3.0} BuildRequires: %{python_module setuptools_scm} @@ -60,6 +62,7 @@ %prep %setup -q -n asdf-%{version} sed -i -e '/^#!\//, 1d' asdf/extern/RangeHTTPServer.py +chmod a-x asdf/extern/RangeHTTPServer.py sed -i 's/\r$//' asdf/tests/data/example_schema.json chmod a-x asdf/tests/data/example_schema.json @@ -69,10 +72,15 @@ %install %python_install %python_clone -a %{buildroot}%{_bindir}/asdftool -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand # +sed -i -e 's|^#!/usr/bin/env python|#!%{__$python}|' %{buildroot}%{$python_sitelib}/asdf/reference_files/generate/generate +%fdupes %{buildroot}%{$python_sitelib} +} %check export LANG=en_US.UTF-8 +# import everything from the source directory because of collection conflicts with buildroot +export PYTHONPATH=":x" %pytest %post @@ -85,6 +93,8 @@ %doc CHANGES.rst README.rst %license licenses/* %python_alternative %{_bindir}/asdftool -%{python_sitelib}/* +%{python_sitelib}/asdf +%{python_sitelib}/asdf-%{version}*-info +%{python_sitelib}/pytest_asdf %changelog ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org