Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-greenlet for openSUSE:Factory checked in at 2023-12-17 21:29:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-greenlet (Old) and /work/SRC/openSUSE:Factory/.python-greenlet.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-greenlet" Sun Dec 17 21:29:07 2023 rev:46 rq:1133678 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-greenlet/python-greenlet.changes 2023-11-28 22:19:12.869368270 +0100 +++ /work/SRC/openSUSE:Factory/.python-greenlet.new.25432/python-greenlet.changes 2023-12-17 21:29:18.431008672 +0100 @@ -1,0 +2,9 @@ +Sun Dec 17 01:45:41 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 3.0.2: + * Packaging: Add a minimal ``pyproject.toml`` to sdists. + * Packaging: Various updates to macOS wheels. + * Fix a test case on Arm32. Note that this is not a supported + platform (there is no CI for it) and support is best effort; + +------------------------------------------------------------------- Old: ---- greenlet-3.0.1.tar.gz New: ---- greenlet-3.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-greenlet.spec ++++++ --- /var/tmp/diff_new_pack.oTDP5t/_old 2023-12-17 21:29:19.195036416 +0100 +++ /var/tmp/diff_new_pack.oTDP5t/_new 2023-12-17 21:29:19.199036562 +0100 @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-greenlet -Version: 3.0.1 +Version: 3.0.2 Release: 0 Summary: Lightweight in-process concurrent programming License: MIT ++++++ greenlet-3.0.1.tar.gz -> greenlet-3.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/.github/workflows/tests.yml new/greenlet-3.0.2/.github/workflows/tests.yml --- old/greenlet-3.0.1/.github/workflows/tests.yml 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/.github/workflows/tests.yml 2023-12-08 20:53:34.000000000 +0100 @@ -42,7 +42,7 @@ - name: Install greenlet (non-Mac) if: ${{ ! startsWith(runner.os, 'Mac') }} run: | - python setup.py bdist_wheel + python -m pip wheel --wheel-dir ./dist . python -m pip install -U -e ".[test,docs]" env: # Ensure we test with assertions enabled. @@ -54,13 +54,17 @@ - name: Install greenlet (Mac) if: startsWith(runner.os, 'Mac') run: | - python setup.py bdist_wheel + python -m pip wheel --wheel-dir ./dist . python -m pip install -U -e ".[test,docs]" ls -l dist # Something in the build system isn't detecting that we're building for both, # so we're getting tagged with just x86_64. Force the universal2 tag. # (I've verified that the .so files are in fact universal, with both architectures.) - wheel tags --remove --platform-tag universal2 dist/*whl + # The macosx_11_0 tag is conservative: At this writing, + # on GHA, Python 3.7/3.8/3.9/3.10 all produce that tag, while + # 3.11/3.12 produce the less restrictive macosx_10_9 tag. (Locally on JAM's mac, + # the official CPython builds produce 10_9 for everything from 3.9 onward.) + wheel tags --remove --platform-tag macosx_11_0_universal2 dist/*whl env: # Unlike the above, we are actually distributing these # wheels, so they need to be built for production use. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/CHANGES.rst new/greenlet-3.0.2/CHANGES.rst --- old/greenlet-3.0.1/CHANGES.rst 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/CHANGES.rst 2023-12-08 20:53:34.000000000 +0100 @@ -2,6 +2,16 @@ Changes ========= +3.0.2 (2023-12-08) +================== + +- Packaging: Add a minimal ``pyproject.toml`` to sdists. +- Packaging: Various updates to macOS wheels. +- Fix a test case on Arm32. Note that this is not a supported platform + (there is no CI for it) and support is best effort; there may be + other issues lurking. See `issue 385 <https://github.com/python-greenlet/greenlet/issues/385>`_ + + 3.0.1 (2023-10-25) ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/MANIFEST.in new/greenlet-3.0.2/MANIFEST.in --- old/greenlet-3.0.1/MANIFEST.in 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/MANIFEST.in 2023-12-08 20:53:34.000000000 +0100 @@ -34,6 +34,7 @@ include *.cfg include *.py include *.ini +include *.toml include .clang-format include .pylintrc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/PKG-INFO new/greenlet-3.0.2/PKG-INFO --- old/greenlet-3.0.1/PKG-INFO 2023-10-25 13:46:07.810259000 +0200 +++ new/greenlet-3.0.2/PKG-INFO 2023-12-08 20:53:34.632305900 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: greenlet -Version: 3.0.1 +Version: 3.0.2 Summary: Lightweight in-process concurrent programming Home-page: https://greenlet.readthedocs.io/ Author: Alexey Borzenkov @@ -26,6 +26,7 @@ Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/appveyor.yml new/greenlet-3.0.2/appveyor.yml --- old/greenlet-3.0.1/appveyor.yml 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/appveyor.yml 2023-12-08 20:53:34.000000000 +0100 @@ -43,7 +43,7 @@ # Fully supported 64-bit versions, with testing. This should be # all the current (non EOL) versions. - PYTHON: "C:\\Python312-x64" - PYTHON_VERSION: "3.12.0b3" + PYTHON_VERSION: "3.12.0" PYTHON_ARCH: "64" PYTHON_EXE: python APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 @@ -182,7 +182,7 @@ # - "%CMD_IN_ENV% python -m sphinx -b doctest -d docs/_build/doctrees docs docs/_build/doctest" after_test: - - "%CMD_IN_ENV% python setup.py bdist_wheel" + - "%CMD_IN_ENV% python -mpip wheel --wheel-dir dist ." artifacts: - path: dist\* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/make-manylinux new/greenlet-3.0.2/make-manylinux --- old/greenlet-3.0.1/make-manylinux 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/make-manylinux 2023-12-08 20:53:34.000000000 +0100 @@ -37,7 +37,8 @@ echo "Building $variant $(python --version)" python -mpip install -U pip - python setup.py bdist_wheel + python -mpip install -U setuptools wheel + python -mpip wheel --wheel-dir ./dist . python -mpip install -U .[test] python -m unittest discover -v greenlet.tests PATH="$OPATH" auditwheel repair dist/greenlet*.whl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/pyproject.toml new/greenlet-3.0.2/pyproject.toml --- old/greenlet-3.0.1/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/greenlet-3.0.2/pyproject.toml 2023-12-08 20:53:34.000000000 +0100 @@ -0,0 +1,5 @@ +[build-system] +build-backend = "setuptools.build_meta" +requires = [ + "setuptools >= 40.8.0" +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/setup.py new/greenlet-3.0.2/setup.py --- old/greenlet-3.0.1/setup.py 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/setup.py 2023-12-08 20:53:34.000000000 +0100 @@ -240,6 +240,7 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Operating System :: OS Independent', 'Topic :: Software Development :: Libraries :: Python Modules' ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/src/greenlet/TUserGreenlet.cpp new/greenlet-3.0.2/src/greenlet/TUserGreenlet.cpp --- old/greenlet-3.0.1/src/greenlet/TUserGreenlet.cpp 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/src/greenlet/TUserGreenlet.cpp 2023-12-08 20:53:34.000000000 +0100 @@ -314,7 +314,11 @@ // Getting a C++ exception here isn't good. It's probably a // bug in the underlying greenlet, meaning it's probably a // C++ extension. We're going to abort anyway, but try to - // display some nice information if possible. + // display some nice information *if* possible. Some obscure + // platforms don't properly support this (old 32-bit Arm, see see + // https://github.com/python-greenlet/greenlet/issues/385); that's not + // great, but should usually be OK because, as mentioned above, we're + // terminating anyway. // // The catching is tested by // ``test_cpp.CPPTests.test_unhandled_exception_in_greenlet_aborts``. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/src/greenlet/__init__.py new/greenlet-3.0.2/src/greenlet/__init__.py --- old/greenlet-3.0.1/src/greenlet/__init__.py 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/src/greenlet/__init__.py 2023-12-08 20:53:34.000000000 +0100 @@ -25,7 +25,7 @@ ### # Metadata ### -__version__ = '3.0.1' +__version__ = '3.0.2' from ._greenlet import _C_API # pylint:disable=no-name-in-module ### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/src/greenlet/tests/test_cpp.py new/greenlet-3.0.2/src/greenlet/tests/test_cpp.py --- old/greenlet-3.0.1/src/greenlet/tests/test_cpp.py 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/src/greenlet/tests/test_cpp.py 2023-12-08 20:53:34.000000000 +0100 @@ -56,7 +56,11 @@ # verify that plain unhandled throw aborts output = self._do_test_unhandled_exception('run_as_greenlet_target') self.assertIn( - 'greenlet: Unhandled C++ exception: Thrown from an extension.', + # We really expect this to be prefixed with "greenlet: Unhandled C++ exception:" + # as added by our handler for std::exception (see TUserGreenlet.cpp), but + # that's not correct everywhere --- our handler never runs before std::terminate + # gets called (for example, on arm32). + 'Thrown from an extension.', output ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/src/greenlet.egg-info/PKG-INFO new/greenlet-3.0.2/src/greenlet.egg-info/PKG-INFO --- old/greenlet-3.0.1/src/greenlet.egg-info/PKG-INFO 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/src/greenlet.egg-info/PKG-INFO 2023-12-08 20:53:34.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: greenlet -Version: 3.0.1 +Version: 3.0.2 Summary: Lightweight in-process concurrent programming Home-page: https://greenlet.readthedocs.io/ Author: Alexey Borzenkov @@ -26,6 +26,7 @@ Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Operating System :: OS Independent Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/greenlet-3.0.1/src/greenlet.egg-info/SOURCES.txt new/greenlet-3.0.2/src/greenlet.egg-info/SOURCES.txt --- old/greenlet-3.0.1/src/greenlet.egg-info/SOURCES.txt 2023-10-25 13:46:07.000000000 +0200 +++ new/greenlet-3.0.2/src/greenlet.egg-info/SOURCES.txt 2023-12-08 20:53:34.000000000 +0100 @@ -11,6 +11,7 @@ appveyor.yml dev-requirements.txt make-manylinux +pyproject.toml setup.cfg setup.py tox.ini