Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-calmjs for openSUSE:Factory checked in at 2023-03-02 23:04:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-calmjs (Old) and /work/SRC/openSUSE:Factory/.python-calmjs.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-calmjs" Thu Mar 2 23:04:12 2023 rev:7 rq:1068649 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-calmjs/python-calmjs.changes 2022-12-20 20:22:02.930391767 +0100 +++ /work/SRC/openSUSE:Factory/.python-calmjs.new.31432/python-calmjs.changes 2023-03-02 23:04:37.216188662 +0100 @@ -1,0 +2,9 @@ +Thu Mar 2 04:28:45 UTC 2023 - John Vandenberg <jay...@gmail.com> + +- Update to v3.4.3 + * This is a maintenance release for Python 3.11 + * The registration of subparser of the same name will now be blocked, + rather than cascade to result into a ArgumentError that cannot be + recovered from. + +------------------------------------------------------------------- Old: ---- 3.4.2.tar.gz New: ---- 3.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-calmjs.spec ++++++ --- /var/tmp/diff_new_pack.y2szed/_old 2023-03-02 23:04:37.820191679 +0100 +++ /var/tmp/diff_new_pack.y2szed/_new 2023-03-02 23:04:37.828191719 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-calmjs # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define skip_python2 1 Name: python-calmjs -Version: 3.4.2 +Version: 3.4.3 Release: 0 Summary: A Python framework for working with the Node.js ecosystem License: GPL-2.0-or-later @@ -60,6 +60,8 @@ export LANG=en_US.UTF-8 %python_install %python_clone -a %{buildroot}%{_bindir}/calmjs +# see https://github.com/calmjs/calmjs/issues/65 for maintainer feedback +# regarding these two subpackages. # %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/testing # %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} ++++++ 3.4.2.tar.gz -> 3.4.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/.github/workflows/build.yml new/calmjs-3.4.3/.github/workflows/build.yml --- old/calmjs-3.4.2/.github/workflows/build.yml 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/.github/workflows/build.yml 2023-03-02 04:09:24.000000000 +0100 @@ -10,6 +10,7 @@ - 3.4.0 - 3.4.1 - 3.4.2 + - 3.4.3 pull_request: branches: - master @@ -21,8 +22,8 @@ strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.9, "3.10"] - node-version: [12, 14] + python-version: ["3.10", "3.11"] + node-version: [16, 18] include: - os: ubuntu-latest python-version: 2.7 @@ -37,7 +38,7 @@ python-version: 2.7 node-version: 4 - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: 3.6 node-version: 8 - os: macos-latest @@ -68,16 +69,26 @@ node-version: 12 - os: ubuntu-latest - python-version: pypy2 - node-version: 12 + python-version: 3.9 + node-version: 14 + - os: macos-latest + python-version: 3.9 + node-version: 14 + - os: windows-latest + python-version: 3.9 + node-version: 14 + - os: ubuntu-latest - python-version: pypy3 - node-version: 12 + python-version: 'pypy2.7' + node-version: 14 + - os: ubuntu-latest + python-version: 'pypy3.9' + node-version: 14 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Set up Node ${{ matrix.node-version }} @@ -98,7 +109,7 @@ coverage run --include=src/* -m unittest calmjs.tests.make_suite coverage report -m - name: Coveralls - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '2.7' && matrix.python-version != 'pypy2' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '2.7' && matrix.python-version != 'pypy2.7' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/CHANGES.rst new/calmjs-3.4.3/CHANGES.rst --- old/calmjs-3.4.2/CHANGES.rst 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/CHANGES.rst 2023-03-02 04:09:24.000000000 +0100 @@ -1,11 +1,21 @@ Changelog ========= +3.4.3 (2023-03-02) +------------------ + +- This is a maintenance release for Python 3.11 +- The registration of subparser of the same name will now be blocked, + rather than cascade to result into a ``ArgumentError`` that cannot be + recovered from. [ + `#64 <https://github.com/calmjs/calmjs/issues/64>`_ + ] + 3.4.2 (2021-10-09) ------------------ - This is a maintenance release for Python 3.10; no substantial changes - were been made. + were made. - Provided a check for disabling integration tests using the ``CALMJS_SKIP_INTEGRATION`` environment variable, when set to a non- empty string, the integration tests found in ``test_dist`` will be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/MANIFEST.in new/calmjs-3.4.3/MANIFEST.in --- old/calmjs-3.4.2/MANIFEST.in 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/MANIFEST.in 2023-03-02 04:09:24.000000000 +0100 @@ -5,3 +5,4 @@ include *.rst recursive-exclude src *.pyc recursive-exclude src *.pyo +recursive-exclude .github * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/README.rst new/calmjs-3.4.3/README.rst --- old/calmjs-3.4.2/README.rst 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/README.rst 2023-03-02 04:09:24.000000000 +0100 @@ -4,12 +4,12 @@ A Python framework for building toolchains and utilities for working with the Node.js ecosystem from within a Python environment. -.. image:: https://github.com/calmjs/calmjs/actions/workflows/build.yml/badge.svg?branch=3.4.2 - :target: https://github.com/calmjs/calmjs/actions/workflows/build.yml?query=branch:3.4.2 -.. image:: https://ci.appveyor.com/api/projects/status/45054tm9cfk7ryam/branch/3.4.2?svg=true - :target: https://ci.appveyor.com/project/metatoaster/calmjs/branch/3.4.2 -.. image:: https://coveralls.io/repos/github/calmjs/calmjs/badge.svg?branch=3.4.2 - :target: https://coveralls.io/github/calmjs/calmjs?branch=3.4.2 +.. image:: https://github.com/calmjs/calmjs/actions/workflows/build.yml/badge.svg?branch=3.4.3 + :target: https://github.com/calmjs/calmjs/actions/workflows/build.yml?query=branch:3.4.3 +.. image:: https://ci.appveyor.com/api/projects/status/45054tm9cfk7ryam/branch/3.4.3?svg=true + :target: https://ci.appveyor.com/project/metatoaster/calmjs/branch/3.4.3 +.. image:: https://coveralls.io/repos/github/calmjs/calmjs/badge.svg?branch=3.4.3 + :target: https://coveralls.io/github/calmjs/calmjs?branch=3.4.3 .. |AMD| replace:: AMD (Asynchronous Module Definition) .. |calmjs.bower| replace:: ``calmjs.bower`` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/appveyor.yml new/calmjs-3.4.3/appveyor.yml --- old/calmjs-3.4.2/appveyor.yml 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/appveyor.yml 2023-03-02 04:09:24.000000000 +0100 @@ -2,8 +2,6 @@ matrix: - PYTHON: "C:\\Python36" nodejs_version: "8" - - PYTHON: "C:\\Python37" - nodejs_version: "10" # adding an uppercase element in the path to test #54 clone_folder: c:\projects\SomeLONGPath\calmjs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/setup.py new/calmjs-3.4.3/setup.py --- old/calmjs-3.4.2/setup.py 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/setup.py 2023-03-02 04:09:24.000000000 +0100 @@ -1,7 +1,7 @@ from setuptools import setup from setuptools import find_packages -version = '3.4.2' +version = '3.4.3' classifiers = """ Development Status :: 5 - Production/Stable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/src/calmjs/runtime.py new/calmjs-3.4.3/src/calmjs/runtime.py --- old/calmjs-3.4.2/src/calmjs/runtime.py 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/src/calmjs/runtime.py 2023-03-02 04:09:24.000000000 +0100 @@ -487,6 +487,14 @@ return '%s:%s' % (ep.module_name, '.'.join(ep.attrs)) def register(name, runtime, entry_point): + if name in subparsers: + logger.critical( + "another subparser was already registered as %r; " + "aborting the registration of its associated runtime", + name + ) + return + subparser = commands.add_parser( name, help=inst.description, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/calmjs-3.4.2/src/calmjs/tests/test_runtime.py new/calmjs-3.4.3/src/calmjs/tests/test_runtime.py --- old/calmjs-3.4.2/src/calmjs/tests/test_runtime.py 2021-10-09 08:19:26.000000000 +0200 +++ new/calmjs-3.4.3/src/calmjs/tests/test_runtime.py 2023-03-02 04:09:24.000000000 +0100 @@ -1883,9 +1883,14 @@ # EXPLOSION msg = stderr.getvalue() - self.assertIn("CRITICAL", msg) self.assertIn( "Runtime instance has been used or initialized improperly.", msg) + # The actual duplicated runtime may be non-deterministic as the + # order of which the registration are run that will result in + # the duplicate is derived from an unordered set. + self.assertIn( + "CRITICAL calmjs.runtime another subparser was already registered " + "as", msg) # Naisu Bakuretsu - Megumin. @unittest.skipIf(currentframe() is None, 'stack frame not supported')