Commit Graph

49 Commits

Author SHA256 Message Date
Markéta Machová
f649e6bd60 Accepting request 1138007 from home:bnavigator:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1138007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=81
2024-01-11 15:12:32 +00:00
66d4b43fa1 - require setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=79
2024-01-03 10:40:10 +00:00
08a518ef1d - 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;

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=77
2023-12-17 01:46:08 +00:00
4b955fc182 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=75
2023-11-27 15:46:51 +00:00
faff34589b - Ignore some slow and flaky tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=73
2023-10-04 07:17:12 +00:00
1667d27fdb - Update to 3.0.0:
* No changes from 3.0rc3 aside from the version number.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=72
2023-10-04 06:45:32 +00:00
682db7c4ad - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=70
2023-09-19 22:06:34 +00:00
1211730c98 - update to 2.0.2:
* Fix calling ``greenlet.settrace()`` with the same tracer
    object that was currently active.
  * Various compilation and standards conformance fixes.
   * Python 3.11: Fix a memory leak. See issue 328 and gevent issue 1924.
- 2.0.0.post0 (2022-11-03)
   * Add Programming Language :: Python :: 3.11 to the PyPI classifier
     metadata.
- 2.0.0rc5 (2022-10-31)
   * Linux: Fix another group of rare crashes that could occur when shutting
     down an interpeter running multiple threads. See issue 325.
- 2.0.0rc4 (2022-10-30)
   * Linux: Fix a rare crash that could occur when shutting down an interpreter
     running multiple threads, when some of those threads are in greenlets
     making calls to functions that release the GIL.
- 2.0.0rc1 (2022-10-27)
   * Deal gracefully with greenlet switches that occur while deferred
     deallocation of objects is happening using CPython's "trash can"
     mechanism. Previously, if a large nested container held items that
     switched greenlets during delayed deallocation, and that second greenlet
     also invoked the trash can, CPython's internal state could become corrupt.
     This was visible as an assertion error in debug builds. Now, the relevant
     internal state is saved and restored during greenlet switches. See also
     gevent issue 1909.
   * Rename the C API function PyGreenlet_GET_PARENT to PyGreenlet_GetParent
     for consistency. The old name remains available as a deprecated alias.
- 2.0.0a1 (2022-01-20)
   * Drop support for very old versions of GCC and MSVC.
     Compilation now requires a compiler that either supports C++11 or has some
     other intrinsic way to create thread local variables; for older GCC, clang

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=68
2023-05-04 14:46:15 +00:00
e0dc7350cf Accepting request 1081426 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=66
2023-04-21 13:19:08 +00:00
2983b265ea - Add sphinx-6.0.0.patch to make it work with new version of Sphinx.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=64
2023-01-05 07:42:04 +00:00
a811b69253 Accepting request 1056122 from devel:languages:python
Revert to 1.1.3, 2.x break gevent and openstack

OBS-URL: https://build.opensuse.org/request/show/1056122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=63
2023-01-05 07:22:36 +00:00
7b7c2f8345 - Update to 2.0.1:
* Python 3.11: Fix a memory leak. See issue 328 and gevent issue 1924.
- 2.0.0.post0 (2022-11-03)
   * Add Programming Language :: Python :: 3.11 to the PyPI classifier
     metadata.
- 2.0.0 (2022-10-31)
   * Nothing changed yet.
- 2.0.0rc5 (2022-10-31)
   * Linux: Fix another group of rare crashes that could occur when shutting
     down an interpeter running multiple threads. See issue 325.
- 2.0.0rc4 (2022-10-30)
   * Linux: Fix a rare crash that could occur when shutting down an interpreter
     running multiple threads, when some of those threads are in greenlets
     making calls to functions that release the GIL.
- 2.0.0rc3 (2022-10-29)
   * Python 2: Fix a crash that could occur when raising an old-style instance
     object.
- 2.0.0rc2 (2022-10-28)
   * Workaround a CPython 3.8 bug that could cause the interpreter to crash
     during an early phase of shutdown with the message "Fatal Python error:
     Python memory allocator called without holding the GI." This only impacted
     CPython 3.8a3 through CPython 3.9a5; the fix is only applied to CPython
     3.8 releases (please don't use an early alpha release of CPython 3.9).
- 2.0.0rc1 (2022-10-27)
   * Deal gracefully with greenlet switches that occur while deferred
     deallocation of objects is happening using CPython's "trash can"
     mechanism. Previously, if a large nested container held items that
     switched greenlets during delayed deallocation, and that second greenlet
     also invoked the trash can, CPython's internal state could become corrupt.
     This was visible as an assertion error in debug builds. Now, the relevant

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=62
2023-01-04 11:25:57 +00:00
d9107d3581 - update to 1.1.3:
* Add support for Python 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=60
2022-09-12 20:14:37 +00:00
0031e4d6b3 - update to 1.1.2:
- Fix a potential crash due to a reference counting error when Python
    subclasses of ``greenlet.greenlet`` were deallocated. The crash
    became more common on Python 3.10; on earlier versions, silent
    memory corruption could result.
  - Fix a leak of a list object when the last reference to a greenlet
    was deleted from some other thread than the one to which it
    belonged. For this to work correctly, you must call a greenlet API
    like ``getcurrent()`` before the thread owning the greenlet exits:
    this is a long-standing limitation that can also lead to the leak of
    a thread's main greenlet if not called; we hope to lift this
    limitation. Note that in some cases this may also fix leaks of
    greenlet objects themselves. See `issue 251
  - Python 3.10: Tracing or profiling into a spawned greenlet didn't
    work as expected. See `issue 256

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=59
2021-10-16 19:08:50 +00:00
5b350ff128 Accepting request 915023 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/915023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=58
2021-08-30 12:54:04 +00:00
347d7c3a6a - update to 1.1.0:
* Add support for Python 3.10. Pre-built binary wheels for 3.10 are
    not currently available for all platforms. The greenlet ABI is
    different on Python 3.10 from all previous versions, but as 3.10 was
    never supported before, and the ABI has not changed on other Python
    versions, this is not considered a reason to change greenlet's major
    version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=56
2021-06-06 12:38:50 +00:00
acd5034be6 - update to 1.0.0:
* Require setuptools to build from source.
  * Stop asking setuptools to build both .tar.gz and .zip
    sdists. PyPI has standardized on .tar.gz for all platforms.
  * Publish the change log to https://greenlet.readthedocs.io

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=54
2021-02-01 22:26:23 +00:00
236f62427d - update to 0.4.17:
- Support for PEP 567 ContextVars

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=52
2020-09-28 10:56:30 +00:00
f027d24c76 - update to 0.4.16:
- Support for DEC Alpha architecture
  - Support for Python 3.9
  - Support for Python 3.10a0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=50
2020-06-08 19:33:55 +00:00
20e1d883fe - Fix BR to build again
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=48
2018-12-06 16:43:22 +00:00
70d6633dbf Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=47
2018-12-04 13:31:12 +00:00
Tomáš Chvátal
4e11fa10b9 Accepting request 635935 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/635935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=45
2018-09-17 09:20:20 +00:00
Todd R
fb67797bc6 Accepting request 627923 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.4.14
  * Support for C-SKY architecture
  * Fixed support for ppc64 ABI
  * Fixed support for Python 3.7
- Remove upstream-included greenlet-ppc64le.patch

OBS-URL: https://build.opensuse.org/request/show/627923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=43
2018-08-07 15:29:44 +00:00
Tomáš Chvátal
5e8d0b2102 - Add patch to fix build on ppc64le to not clobber r2 register:
* greenlet-ppc64le.patch

- Version update to 0.4.13:
  * Support for Python 3.7
  * Support for MinGW x64

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=41
2018-02-02 13:36:13 +00:00
Todd R
e9068dfa18 Accepting request 489400 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.4.12
- Implement singlespec version

OBS-URL: https://build.opensuse.org/request/show/489400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=39
2017-04-19 17:48:17 +00:00
Denisart Benjamin
69b3b5cebd Accepting request 424544 from home:tbechtold:branches:devel:languages:python
- update to 4.10.0:
  - Added missing files to manifest
  - Added workaround for ppc32 on Linux
  - Start building binary manylinux1 wheels
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/424544
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=37
2016-09-03 18:17:13 +00:00
41ca1378b8 Accepting request 390353 from home:Simmphonie:python
OBS-URL: https://build.opensuse.org/request/show/390353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=35
2016-04-17 20:13:20 +00:00
3c581346e2 Accepting request 313105 from home:tbechtold:branches:devel:languages:python
- update to 0.4.7:
  - Added a missing workaround for `return 0` on mips
  - Restore compatibility with Python 2.5
  - Fixed stack switching on sparc

OBS-URL: https://build.opensuse.org/request/show/313105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=33
2015-06-23 06:22:57 +00:00
Jan Matejek
41ddf6532f Accepting request 305574 from home:benoit_monin:branches:devel:languages:python
- update to version 0.4.6
- add -fno-strict-aliasing to CFLAGS to fix compiler warnings
- remove hidden file .buildinfo from html documentation

OBS-URL: https://build.opensuse.org/request/show/305574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=31
2015-05-07 11:58:25 +00:00
Denisart Benjamin
efeb6d5178 Accepting request 263166 from Cloud:OpenStack:Master
- Include LICENSE and LICENSE.PSF in package

OBS-URL: https://build.opensuse.org/request/show/263166
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=29
2014-12-02 20:10:12 +00:00
Todd R
6f1db46cf8 Accepting request 262191 from home:TheBlackCat:branches:devel:languages:python
Update to 0.4.5

OBS-URL: https://build.opensuse.org/request/show/262191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=27
2014-11-18 14:06:57 +00:00
Michal Čihař
86eb86c72c Accepting request 259568 from home:k0da:ppc
- build with -fno-tree-dominator-opts (boo#902146)

OBS-URL: https://build.opensuse.org/request/show/259568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=25
2014-11-04 16:20:06 +00:00
Jan Matejek
b23701b912 Accepting request 249025 from Cloud:OpenStack:Master
- update to 0.4.4:
  - Fixed PyGreenlet_SetParent signature, thanks to BoonsNaibot
  - Fixed 64-bit Windows builds depending on wrong runtime dll

OBS-URL: https://build.opensuse.org/request/show/249025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=23
2014-09-15 14:08:42 +00:00
Michal Čihař
d8d1abf2b9 Accepting request 244824 from home:Nijel:branches:devel:languages:python
- Update to version 0.4.3:
  + Better slp_switch performance on SPARC
  + Drop support for Python 2.3
  + Fix trashcan assertions on debug builds of Python
  + Remove deprecated -fno-tree-dominator-opts compiler switch
  + Enable switch code for SunStudio on 32-bit SunOS
  + Support for abc abstract methods in greenlet subclasses
  + Support custom directories for tests
  + Document switch tracing support

OBS-URL: https://build.opensuse.org/request/show/244824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=21
2014-08-15 12:06:41 +00:00
Sascha Peilicke
8d8ac9ca52 - Update to version 0.4.2:
+ Add .travis.yml
  + Fix 'err' may be used uninitialized in this function
  + Check _MSC_VER for msvc specific code
  + Fix slp_switch on SPARC for multi-threaded environments
  + Add support for m68k

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=16
2014-01-17 15:27:30 +00:00
Denisart Benjamin
dc9a391941 Accepting request 210802 from openSUSE:Factory:PowerLE
- ppc64le-support.patch: Support powerpc64le-linux (ELFv2 ABI).
  Save/restore vector and floating-point registers as well on ppc.

OBS-URL: https://build.opensuse.org/request/show/210802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=15
2013-12-13 15:03:15 +00:00
Sascha Peilicke
aef436890b - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=14
2013-10-24 11:06:16 +00:00
Sascha Peilicke
7004e96ef3 Accepting request 186373 from home:k0da:ppc
- run tests we optflags. Stuff got compiled in %check again.

OBS-URL: https://build.opensuse.org/request/show/186373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=13
2013-08-08 11:20:41 +00:00
Sascha Peilicke
e39e653574 Accepting request 183765 from Cloud:OpenStack:Master
OBS-URL: https://build.opensuse.org/request/show/183765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=11
2013-08-05 14:03:54 +00:00
Sascha Peilicke
887d060850 Accepting request 178868 from home:dirkmueller:branches:devel:languages:python
- update to 0.4.1:
  * fix segfaults when using gcc 4.8 on amd64/x86 unix
  * try to disable certain gcc 4.8 optimizations that make greenlet
    crash
  * Fix greenlet on aarch64 with gcc 4.8
  * workaround segfault on SunOS/sun4v
  * Add support for Aarch64
  * Add support for x32 psABI on x86_64
  * Changed memory constraints for assembly macro for PPC Linux
  platforms.
- remove python-greenlet-aarch64-support.diff

OBS-URL: https://build.opensuse.org/request/show/178868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=10
2013-06-14 10:53:27 +00:00
Sascha Peilicke
a1e4200c4c Accepting request 175017 from devel:ARM:AArch64:Factory
- Add python-greenlet-aarch64-support.diff, for, well, aarch64
  support.

OBS-URL: https://build.opensuse.org/request/show/175017
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=9
2013-05-13 09:29:45 +00:00
Todd R
03cffffa64 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=8 2013-01-02 18:03:01 +00:00
Sascha Peilicke
2c4c5acf9d - The devel subpackage contains only headers and thus is noarch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=6
2012-12-19 15:51:06 +00:00
Sascha Peilicke
f3ee8baec8 - Update to version 0.4.0:
+ Greenlet has an instance dictionary now, which means it can be
    used for implementing greenlet local storage, etc. However, this
    might introduce incompatibility if subclasses have __dict__ in their
    __slots__. Classes like that will fail, because greenlet already
    has __dict__ out of the box.
  + Greenlet no longer leaks memory after thread termination, as long as
    terminated thread has no running greenlets left at the time.
  + Add support for debian sparc and openbsd5-sparc64
  + Add support for ppc64 linux
  + Don't allow greenlets to be copied with copy.copy/deepcopy
  + Fix arm32/thumb support
  + Restore greenlet's parent after kill
  + Add experimental greenlet tracing
- Changes from version 0.3.4:
  + Use plain distutils for install command, this fixes installation of
    the greenlet.h header.
  + Enhanced arm32 support
  + Fix support for Linux/S390 zSeries
  + Workaround compiler bug on RHEL 3 / CentOS 3
- Changes from version 0.3.3:
  + Use sphinx to build documentation and publish it on greenlet.rtfd.org
  + Prevent segfaults on openbsd 4/i386
  + Workaround gcc-4.0 not allowing to clobber rbx
  + Enhance test infrastructure
  + Fix possible compilation problems when including greenlet.h in C++ mode
  + Make the greenlet module work on x64 windows
  + Add a test for greenlet C++ exceptions
  + Fix compilation on Solaris with SunStudio
- Changes from version 0.3.2:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=5
2012-11-23 12:29:19 +00:00
Todd R
dd66a1b06b Accepting request 126971 from home:k0da:ppc
- add ppc64 platform support
- fix ppc platform

OBS-URL: https://build.opensuse.org/request/show/126971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=4
2012-07-04 10:28:05 +00:00
Sascha Peilicke
9a477dd2db Accepting request 98402 from home:namtrac:bugfix
- Add upstream commits 25bf29f4d3b7 and 2d5b17472757 (bnc#738431) 
- Implement %check

OBS-URL: https://build.opensuse.org/request/show/98402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=3
2012-01-03 10:18:16 +00:00
Sascha Peilicke
887feec87c - Spec file cleanup:
* BuildRequire modern python-distribute instead of python-setuptools
  * No need for changing executable bits for benchmarks
  * Use SUSE version checks around specific macros
  * Only require %{name} = %{version} in devel package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=2
2011-09-21 09:38:24 +00:00
78de2ff214 Autobuild autoformatter for 67285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-greenlet?expand=0&rev=2
2011-05-30 14:44:15 +00:00
Cristian Rodríguez
fa16d9583a Accepting request 54437 from home:seife:openstack
OBS-URL: https://build.opensuse.org/request/show/54437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=1
2010-12-04 15:53:22 +00:00