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 <dmuel...@suse.com> + +- 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.000000000 +0200 +++ new/asdf-2.15.2/.github/workflows/changelog.yml 2023-09-29 19:54:34.000000000 +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.000000000 +0200 +++ new/asdf-2.15.2/.github/workflows/s390x.yml 2023-09-29 19:54:34.000000000 +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.000000000 +0200 +++ new/asdf-2.15.2/CHANGES.rst 2023-09-29 19:54:34.000000000 +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-INFO 2023-08-07 23:48:56.846154500 +0200 +++ new/asdf-2.15.2/PKG-INFO 2023-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 <h...@stsci.edu> 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" Provides-Extra: docs +Requires-Dist: sphinx-asdf>=0.1.4; extra == "docs" +Requires-Dist: graphviz; extra == "docs" +Requires-Dist: sphinx-inline-tabs; extra == "docs" +Requires-Dist: tomli; python_version < "3.11" and extra == "docs" Provides-Extra: tests -License-File: LICENSE +Requires-Dist: astropy>=5.0.4; extra == "tests" +Requires-Dist: fsspec[http]>=2022.8.2; extra == "tests" +Requires-Dist: gwcs>=0.18.3; extra == "tests" +Requires-Dist: lz4>=0.10; extra == "tests" +Requires-Dist: psutil; extra == "tests" +Requires-Dist: pytest>=6; extra == "tests" +Requires-Dist: pytest-doctestplus; extra == "tests" +Requires-Dist: pytest-openfiles; extra == "tests" +Requires-Dist: pytest-remotedata; extra == "tests" ASDF - Advanced Scientific Data Format ====================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/_tests/test_array_blocks.py new/asdf-2.15.2/asdf/_tests/test_array_blocks.py --- old/asdf-2.15.1/asdf/_tests/test_array_blocks.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/_tests/test_array_blocks.py 2023-09-29 19:54:34.000000000 +0200 @@ -445,7 +445,7 @@ ff.write_to(path) with asdf.open(path, validate_checksums=True) as ff: - assert type(ff._blocks._internal_blocks[0].checksum) == bytes + assert isinstance(ff._blocks._internal_blocks[0].checksum, bytes) assert ff._blocks._internal_blocks[0].checksum == b"\xcaM\\\xb8t_L|\x00\n+\x01\xf1\xcfP1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/_tests/test_generic_io.py new/asdf-2.15.2/asdf/_tests/test_generic_io.py --- old/asdf-2.15.1/asdf/_tests/test_generic_io.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/_tests/test_generic_io.py 2023-09-29 19:54:34.000000000 +0200 @@ -401,7 +401,7 @@ def test_nonseekable_file(tmp_path): - base = io.IOBase + base = io.FileIO class FileWrapper(base): def tell(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/_tests/test_info.py new/asdf-2.15.2/asdf/_tests/test_info.py --- old/asdf-2.15.1/asdf/_tests/test_info.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/_tests/test_info.py 2023-09-29 19:54:34.000000000 +0200 @@ -78,12 +78,12 @@ self.patt = {} for key in kw: if re.search("^S_", key): - if type(kw[key]) != str: + if not isinstance(kw[key], str): msg = "S_ pattern object must be a string" raise ValueError(msg) self.patt[key] = kw[key] if re.search("^I_", key): - if type(kw[key]) != int: + if not isinstance(kw[key], int): msg = "I_ pattern object must be an int" raise ValueError(msg) self.patt[key] = kw[key] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/_version.py new/asdf-2.15.2/asdf/_version.py --- old/asdf-2.15.1/asdf/_version.py 2023-08-07 23:48:56.000000000 +0200 +++ new/asdf-2.15.2/asdf/_version.py 2023-09-29 19:54:49.000000000 +0200 @@ -1,4 +1,8 @@ # file generated by setuptools_scm # don't change, don't track in version control -__version__ = version = '2.15.1' -__version_tuple__ = version_tuple = (2, 15, 1) +TYPE_CHECKING = False +if TYPE_CHECKING: + from typing import Tuple + +__version__ = version = '2.15.2' # type: str +__version_tuple__ = version_tuple = (2, 15, 2) # type: Tuple[int | str, ...] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/asdf.py new/asdf-2.15.2/asdf/asdf.py --- old/asdf-2.15.1/asdf/asdf.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/asdf.py 2023-09-29 19:54:34.000000000 +0200 @@ -1590,8 +1590,8 @@ elif software is not None: software = Software(software) - time_ = datetime.datetime.utcfromtimestamp( - int(os.environ.get("SOURCE_DATE_EPOCH", time.time())), + time_ = datetime.datetime.fromtimestamp( + int(os.environ.get("SOURCE_DATE_EPOCH", time.time())), datetime.timezone.utc ) entry = HistoryEntry( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/config.py new/asdf-2.15.2/asdf/config.py --- old/asdf-2.15.1/asdf/config.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/config.py 2023-09-29 19:54:34.000000000 +0200 @@ -343,18 +343,12 @@ def __repr__(self): return ( "<AsdfConfig\n" - " array_inline_threshold: {}\n" - " default_version: {}\n" - " io_block_size: {}\n" - " legacy_fill_schema_defaults: {}\n" - " validate_on_read: {}\n" + f" array_inline_threshold: {self.array_inline_threshold}\n" + f" default_version: {self.default_version}\n" + f" io_block_size: {self.io_block_size}\n" + f" legacy_fill_schema_defaults: {self.legacy_fill_schema_defaults}\n" + f" validate_on_read: {self.validate_on_read}\n" ">" - ).format( - self.array_inline_threshold, - self.default_version, - self.io_block_size, - self.legacy_fill_schema_defaults, - self.validate_on_read, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf/conftest.py new/asdf-2.15.2/asdf/conftest.py --- old/asdf-2.15.1/asdf/conftest.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/asdf/conftest.py 2023-09-29 19:54:34.000000000 +0200 @@ -1,4 +1,32 @@ +import os + +import pytest + # We ignore these files because these modules create deprecation warnings on # import. When warnings are turned into errors this will completely prevent # test collection collect_ignore = ["asdftypes.py", "fits_embed.py", "resolver.py", "type_index.py", "types.py", "tests/helpers.py"] + + +@pytest.fixture(scope="session", autouse=True) +def _temp_cwd(tmpdir_factory): + """ + This fixture creates a temporary current working directory + for the test session, so that docstring tests that write files + don't clutter up the real cwd. + """ + original_cwd = os.getcwd() + try: + os.chdir(tmpdir_factory.mktemp("cwd")) + yield + finally: + os.chdir(original_cwd) + + +def pytest_addoption(parser): + parser.addoption( + "--jsonschema", + action="store_true", + default=False, + help="Run jsonschema test suite tests", + ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf.egg-info/PKG-INFO new/asdf-2.15.2/asdf.egg-info/PKG-INFO --- old/asdf-2.15.1/asdf.egg-info/PKG-INFO 2023-08-07 23:48:56.000000000 +0200 +++ new/asdf-2.15.2/asdf.egg-info/PKG-INFO 2023-09-29 19:54:49.000000000 +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 <h...@stsci.edu> 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" Provides-Extra: docs +Requires-Dist: sphinx-asdf>=0.1.4; extra == "docs" +Requires-Dist: graphviz; extra == "docs" +Requires-Dist: sphinx-inline-tabs; extra == "docs" +Requires-Dist: tomli; python_version < "3.11" and extra == "docs" Provides-Extra: tests -License-File: LICENSE +Requires-Dist: astropy>=5.0.4; extra == "tests" +Requires-Dist: fsspec[http]>=2022.8.2; extra == "tests" +Requires-Dist: gwcs>=0.18.3; extra == "tests" +Requires-Dist: lz4>=0.10; extra == "tests" +Requires-Dist: psutil; extra == "tests" +Requires-Dist: pytest>=6; extra == "tests" +Requires-Dist: pytest-doctestplus; extra == "tests" +Requires-Dist: pytest-openfiles; extra == "tests" +Requires-Dist: pytest-remotedata; extra == "tests" ASDF - Advanced Scientific Data Format ====================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/asdf.egg-info/SOURCES.txt new/asdf-2.15.2/asdf.egg-info/SOURCES.txt --- old/asdf-2.15.1/asdf.egg-info/SOURCES.txt 2023-08-07 23:48:56.000000000 +0200 +++ new/asdf-2.15.2/asdf.egg-info/SOURCES.txt 2023-09-29 19:54:49.000000000 +0200 @@ -4,7 +4,6 @@ LICENSE MANIFEST.in README.rst -conftest.py pyproject.toml requirements-dev.txt tox.ini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/conftest.py new/asdf-2.15.2/conftest.py --- old/asdf-2.15.1/conftest.py 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/conftest.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ -import os - -import pytest - - -@pytest.fixture(scope="session", autouse=True) -def _temp_cwd(tmpdir_factory): - """ - This fixture creates a temporary current working directory - for the test session, so that docstring tests that write files - don't clutter up the real cwd. - """ - original_cwd = os.getcwd() - try: - os.chdir(tmpdir_factory.mktemp("cwd")) - yield - finally: - os.chdir(original_cwd) - - -def pytest_addoption(parser): - parser.addoption( - "--jsonschema", - action="store_true", - default=False, - help="Run jsonschema test suite tests", - ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/pyproject.toml new/asdf-2.15.2/pyproject.toml --- old/asdf-2.15.1/pyproject.toml 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/pyproject.toml 2023-09-29 19:54:34.000000000 +0200 @@ -13,6 +13,7 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ] dynamic = [ 'version', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asdf-2.15.1/tox.ini new/asdf-2.15.2/tox.ini --- old/asdf-2.15.1/tox.ini 2023-08-07 23:48:44.000000000 +0200 +++ new/asdf-2.15.2/tox.ini 2023-09-29 19:54:34.000000000 +0200 @@ -1,5 +1,17 @@ [tox] -env_list = py{39,310}{,-compatibility,-coverage}{,-parallel} +env_list = + compatibility + coverage + py{39,310,311}{,-compatibility,-coverage,-jsonschema}{,-parallel} + asdf{-standard,-transform-schemas,-unit-schemas,-wcs-schemas,-coordinates-schemas,-astropy} + gwcs + jwst + stdatamodels + stpipe + roman_datamodels + weldx + sunpy + dkist [testenv] set_env =