forked from pool/python-greenlet
Accepting request 1113760 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1113760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-greenlet?expand=0&rev=43
This commit is contained in:
commit
bf5000bb93
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7c8dc13af7db097bed64a051d2dd49e9f0af495c26995c00a9ee842690d34c0
|
||||
size 164980
|
3
greenlet-3.0.0rc3.tar.gz
Normal file
3
greenlet-3.0.0rc3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0df5c2ad154f457fd372e39723493b3df519330a4c1bff3ca901be66130f379b
|
||||
size 174747
|
@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 22:04:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.0~rc3:
|
||||
* Fix an intermittent error during process termination on some
|
||||
platforms (GCC/Linux/libstdc++).
|
||||
* Fix some potential bugs (assertion failures and memory leaks) in
|
||||
previously-untested error handling code. In some cases, this means
|
||||
that the process will execute a controlled ``abort()`` after severe
|
||||
trouble when previously the process might have continued for some
|
||||
time with a corrupt state. It is unlikely those errors occurred in
|
||||
practice.
|
||||
* Fix some assertion errors and potential bugs with re-entrant
|
||||
switches.
|
||||
* Fix a potential crash when certain compilers compile greenlet with
|
||||
high levels of optimization. The symptom would be that switching to
|
||||
a greenlet for the first time immediately crashes.
|
||||
* Fix a potential crash when the callable object passed to the
|
||||
greenlet constructor (or set as the ``greenlet.run`` attribute) has
|
||||
a destructor attached to it that switches. Typically, triggering
|
||||
this issue would require an unlikely subclass of
|
||||
``greenlet.greenlet``.
|
||||
* Python 3.11+: Fix rare switching errors that could occur when a
|
||||
garbage collection was triggered during the middle of a switch, and
|
||||
Python-level code in ``__del__`` or weakref callbacks switched to a
|
||||
different greenlet and ultimately switched back to the original
|
||||
greenlet. This often manifested as a ``SystemError``: "switch
|
||||
returned NULL without an exception set."
|
||||
* Python 3.12: Fix walking the frame stack of suspended greenlets.
|
||||
Previously accessing ``glet.gr_frame.f_back`` would crash due to
|
||||
`changes in CPython's undocumented internal frame handling
|
||||
* Make the platform-specific low-level C/assembly snippets stop using
|
||||
the ``register`` storage class. Newer versions of standards remove
|
||||
this storage class, and it has been generally ignored by many
|
||||
compilers for some time. See `PR 347
|
||||
<https://github.com/python-greenlet/greenlet/pull/347>`_ from Khem
|
||||
Raj.
|
||||
* Add initial support for Python 3.12. See `issue
|
||||
<https://github.com/python-greenlet/greenlet/issues/323>`_ and `PR
|
||||
<https://github.com/python-greenlet/greenlet/pull/327>`_; thanks go
|
||||
to (at least) Michael Droettboom, Andreas Motl, Thomas A Caswell,
|
||||
raphaelauv, Hugo van Kemenade, Mark Shannon, and Petr Viktorin.
|
||||
* Remove support for end-of-life Python versions, including Python
|
||||
2.7, Python 3.5 and Python 3.6.
|
||||
* Require a compiler that supports ``noinline`` directives. See
|
||||
`issue 271
|
||||
<https://github.com/python-greenlet/greenlet/issues/266>`_.
|
||||
* Require a compiler that supports C++11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 14:37:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-greenlet
|
||||
Version: 2.0.2
|
||||
Version: 3.0.0~rc3
|
||||
Release: 0
|
||||
Summary: Lightweight in-process concurrent programming
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/python-greenlet/greenlet
|
||||
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-3.0.0rc3.tar.gz
|
||||
Source9: python-greenlet-rpmlintrc
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module objgraph}
|
||||
@ -54,7 +54,7 @@ BuildArch: noarch
|
||||
This package contains header files required for C modules development.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n greenlet-%{version}
|
||||
%autosetup -p1 -n greenlet-3.0.0rc3
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing"
|
||||
|
Loading…
Reference in New Issue
Block a user