Sync from SUSE:SLFO:Main python-greenlet revision ebd152d791cd1dfe3f9dc77799495282

This commit is contained in:
Adrian Schröter 2024-12-13 11:31:24 +01:00
parent d9f784f121
commit a9a6e8e59f
4 changed files with 102 additions and 8 deletions

BIN
greenlet-3.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
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>
- Update to 3.1.0
* Adds support for Python 3.13.
* Greatly reduce the chances for crashes during interpreter shutdown.
* Support for the following platforms was contributed by the community.
Note that they are untested by this project's continuous integration
services.
+ Hitachi's SuperH CPU
+ NetBSD on PowerPC
+ RISC-V with -fno-omit-frame-pointer
- Drop port-to-python313.patch, merged upstream
-------------------------------------------------------------------
Mon Sep 9 09:29:56 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Cherry-pick upstream patch to add support for Python 3.13
* port-to-python313.patch
-------------------------------------------------------------------
Wed Jan 10 22:14:16 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.3
* Python 3.12: Restore the full ability to walk the stack of a
suspended greenlet; previously only the innermost frame was
exposed. See issue 388. Fix by Joshua Oreman in PR 393.
- Disable building the docs: Now requires the furo theme, which is
not available.
-------------------------------------------------------------------
Wed Jan 3 10:40:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
-------------------------------------------------------------------
Sun Dec 17 01:45:41 UTC 2023 - Dirk Müller <dmueller@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;
-------------------------------------------------------------------
Mon Nov 27 15:46:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.0.1:
* Fix a potential crash on Python 3.8 at interpreter shutdown
time. This was a regression from earlier 3.0.x releases.
-------------------------------------------------------------------
Wed Oct 4 06:25:18 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-greenlet
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -17,9 +17,12 @@
#
# Requires python-furo
%bcond_with docs
%{?sle15_python_module_pythons}
Name: python-greenlet
Version: 3.0.0
Version: 3.1.1
Release: 0
Summary: Lightweight in-process concurrent programming
License: MIT
@ -27,15 +30,25 @@ Group: Development/Libraries/Python
URL: https://github.com/python-greenlet/greenlet
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
Source9: python-greenlet-rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module objgraph}
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}
BuildRequires: python3-Sphinx
BuildRequires: python3-furo
%endif
%python_subpackages
%description
@ -55,13 +68,20 @@ This package contains header files required for C modules development.
%prep
%autosetup -p1 -n greenlet-%{version}
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
%if %{with docs}
export PYTHONPATH=$PWD/src
cd docs && make html && rm _build/html/.buildinfo
%endif
%install
%pyproject_install
@ -75,9 +95,12 @@ export GREENLET_MANYLINUX=1
%files %{python_files}
%doc AUTHORS CHANGES.rst README.rst
%if %{with docs}
%doc docs/_build/html/
%endif
%license LICENSE*
%{python_sitearch}/greenlet*
%{python_sitearch}/greenlet
%{python_sitearch}/greenlet-%{version}.dist-info
%files %{python_files devel}
%doc AUTHORS