Accepting request 1204154 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1204154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-greenlet?expand=0&rev=51
This commit is contained in:
Ana Guerrero 2024-09-29 16:09:25 +00:00 committed by Git OBS Bridge
commit bf998562ec
4 changed files with 35 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b395121e9bbe8d02a750886f108d540abe66075e61e22f7353d9acb0b81be0f0
size 183954

BIN
greenlet-3.1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Sep 27 10:27:38 UTC 2024 - ecsos <ecsos@opensuse.org>
- Fix build error under Leap.
-------------------------------------------------------------------
Thu Sep 26 13:37:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@ -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