diff --git a/greenlet-3.1.0.tar.gz b/greenlet-3.1.0.tar.gz deleted file mode 100644 index 8688f01..0000000 --- a/greenlet-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b395121e9bbe8d02a750886f108d540abe66075e61e22f7353d9acb0b81be0f0 -size 183954 diff --git a/greenlet-3.1.1.tar.gz b/greenlet-3.1.1.tar.gz new file mode 100644 index 0000000..bf571e6 --- /dev/null +++ b/greenlet-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ce3ac6cdb6adf7946475d7ef31777c26d94bccc377e070a7986bd2d5c515467 +size 186022 diff --git a/python-greenlet.changes b/python-greenlet.changes index fb0c372..e695110 100644 --- a/python-greenlet.changes +++ b/python-greenlet.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Sep 27 10:27:38 UTC 2024 - ecsos + +- Fix build error under Leap. + +------------------------------------------------------------------- +Thu Sep 26 13:37:06 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 3.1.1 + * Fix crashes on 32-bit PPC Linux. Note that there is no CI for this, + and support is best effort; there may be other issues lurking. + * Remove unnecessary logging sometimes during interpreter shutdown. + * Fix some crashes on 32-bit PPC MacOS. This is a very old platform, + and is only known to be tested on beta versions of an operating + system that was never released, using the GCC 14 only provided by + MacPorts; it may or may not work on the final MacOS X release that + supported 32-bit PowerPC. It has the known issue of leaking memory + when greenlets are used in multiple threads. Help debugging this + would be appreciated. + ------------------------------------------------------------------- Tue Sep 10 20:44:39 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-greenlet.spec b/python-greenlet.spec index b5ecb00..aa59318 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -22,7 +22,7 @@ %{?sle15_python_module_pythons} Name: python-greenlet -Version: 3.1.0 +Version: 3.1.1 Release: 0 Summary: Lightweight in-process concurrent programming License: MIT @@ -36,7 +36,13 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module psutil} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: c++_compiler +%if 0%{?suse_version} < 1600 +BuildRequires: gcc12 +BuildRequires: gcc12-c++ +%else +BuildRequires: gcc +BuildRequires: gcc-c++ +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with docs} @@ -65,6 +71,10 @@ This package contains header files required for C modules development. sed -i '1{/env python/d}' src/greenlet/tests/test_version.py %build +%if 0%{?suse_version} < 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" %pyproject_wheel