Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
b9995d2b95 | |||
21114e2dae | |||
e23be406b7 |
@@ -1,23 +0,0 @@
|
|||||||
From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
|
||||||
Date: Thu, 6 Jun 2024 10:29:29 +0200
|
|
||||||
Subject: [PATCH] Add new thread attributes from Python 3.13
|
|
||||||
|
|
||||||
Does not fix https://github.com/eventlet/eventlet/issues/964 yet
|
|
||||||
---
|
|
||||||
eventlet/green/thread.py | 7 +++++++
|
|
||||||
1 file changed, 7 insertions(+)
|
|
||||||
|
|
||||||
--- a/eventlet/green/thread.py
|
|
||||||
+++ b/eventlet/green/thread.py
|
|
||||||
@@ -118,3 +118,10 @@ from eventlet.corolocal import local as
|
|
||||||
|
|
||||||
if hasattr(__thread, 'daemon_threads_allowed'):
|
|
||||||
daemon_threads_allowed = __thread.daemon_threads_allowed
|
|
||||||
+
|
|
||||||
+if hasattr(__thread, 'start_joinable_thread'):
|
|
||||||
+ start_joinable_thread = __thread.start_joinable_thread
|
|
||||||
+ _shutdown = __thread._shutdown
|
|
||||||
+ _make_thread_handle = __thread._make_thread_handle
|
|
||||||
+ _ThreadHandle = __thread._ThreadHandle
|
|
||||||
+ _get_main_thread_ident = __thread._get_main_thread_ident
|
|
15
_service
15
_service
@@ -1,15 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="obs_scm" mode="manual">
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="url">https://github.com/eventlet/eventlet.git</param>
|
|
||||||
<param name="versionprefix">0.37.0+git</param>
|
|
||||||
<param name="changesgenerate">enable</param>
|
|
||||||
<param name="changesauthor">mcepl@cepl.eu</param>
|
|
||||||
</service>
|
|
||||||
<service name="tar" mode="buildtime"/>
|
|
||||||
<service name="recompress" mode="buildtime">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">gz</param>
|
|
||||||
</service>
|
|
||||||
<service name="set_version" mode="manual"/>
|
|
||||||
</services>
|
|
@@ -1,4 +0,0 @@
|
|||||||
<servicedata>
|
|
||||||
<service name="tar_scm">
|
|
||||||
<param name="url">https://github.com/eventlet/eventlet.git</param>
|
|
||||||
<param name="changesrevision">8637820f468268ffb0b8504561ea4772de23fcdb</param></service></servicedata>
|
|
BIN
eventlet-0.37.0+git.1726056572.8637820.obscpio
(Stored with Git LFS)
BIN
eventlet-0.37.0+git.1726056572.8637820.obscpio
(Stored with Git LFS)
Binary file not shown.
BIN
eventlet-0.40.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
eventlet-0.40.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,4 +0,0 @@
|
|||||||
name: eventlet
|
|
||||||
version: 0.37.0+git.1726056572.8637820
|
|
||||||
mtime: 1726056572
|
|
||||||
commit: 8637820f468268ffb0b8504561ea4772de23fcdb
|
|
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
pyproject.toml | 8 +-------
|
|
||||||
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
||||||
|
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -37,7 +37,7 @@ classifiers = [
|
|
||||||
"Topic :: Internet",
|
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
||||||
]
|
|
||||||
-dynamic = ["version"]
|
|
||||||
+version = '0.37.0'
|
|
||||||
dependencies = [
|
|
||||||
'dnspython >= 1.15.0',
|
|
||||||
'greenlet >= 1.0',
|
|
||||||
@@ -61,12 +61,6 @@ packages = ['eventlet']
|
|
||||||
where = "evenetlet"
|
|
||||||
exclude = ["tests*", "benchmarks", "examples"]
|
|
||||||
|
|
||||||
-[tool.hatch]
|
|
||||||
-version.source = "vcs"
|
|
||||||
-
|
|
||||||
-[tool.hatch.build.hooks.vcs]
|
|
||||||
-version-file = "eventlet/_version.py"
|
|
||||||
-
|
|
||||||
[tool.ruff]
|
|
||||||
# Might eventually want to add evenetlet/green/, but it's a pain...
|
|
||||||
exclude = ["eventlet/green/", "eventlet/zipkin/_thrift", "tests/mock.py", "doc/"]
|
|
@@ -1,3 +1,61 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 19 11:06:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.40.0
|
||||||
|
* [fix] Fix ssl test when linking against openssl 3.5 (#1034)
|
||||||
|
* Drop support Python 3.8 (#1021)
|
||||||
|
* [doc] Various doc updates (#981, #1033)
|
||||||
|
* [env] Drop PyPy support (#1035 #1037)
|
||||||
|
- Drop fix-test-with-openssl-3.5.0.patch, fixed upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 17 13:33:34 UTC 2025 - Lucas Mulling <lucas.mulling@suse.com>
|
||||||
|
|
||||||
|
- Fix broken test with openssl 3.5.0:
|
||||||
|
* Add patch fix-test-with-openssl-3.5.0.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 7 12:41:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.39.1
|
||||||
|
* [fix] Make LightQueue and derivatives subscriptable (#1027)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 7 10:04:21 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.39.0
|
||||||
|
* [fix] Remove monotonic from requirements (#1018)
|
||||||
|
* [fix] wsgi: Clean up some override logic (#999)
|
||||||
|
* [fix] Correct line lookup from inspect.getsourcelines() (#990)
|
||||||
|
* Drop support of Python 3.7 (#967)
|
||||||
|
* [fix] Calling eventlet.sleep(0) isn't really blocking,
|
||||||
|
so don't blow up (#1015)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 6 18:25:35 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.38.2
|
||||||
|
* [fix] fix the monkey patching with the asyncio hub
|
||||||
|
* [feature] introduce the unmonkeypatching feature
|
||||||
|
- from version 0.38.1
|
||||||
|
* [fix] Python 3.13: Use greenthread's dead state where possible (#1000)
|
||||||
|
* [env] bump github Actions (#996)
|
||||||
|
* [fix] Fix bug where asyncio hub didn't support multiple os threads (#995)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 13:49:59 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.38.0
|
||||||
|
* Python 3.13 Support (#988)
|
||||||
|
* [fix] wsgi: server MUST NOT send Content-Length/Transfer-Encoding
|
||||||
|
header in response with a status code of 1xx, 204 or (2xx to CONNECT
|
||||||
|
request) (#747)
|
||||||
|
* [fix] wsgi: No request Content-Length nor Transfer-Encoding implies
|
||||||
|
no body (#985)
|
||||||
|
- Drop 313-new-thread-attributes.patch, merged upstream
|
||||||
|
- Drop no-dynamic-version.patch, no longer required
|
||||||
|
- Switch back to stable releases
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 23 23:18:11 UTC 2024 - mcepl@cepl.eu
|
Wed Oct 23 23:18:11 UTC 2024 - mcepl@cepl.eu
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-eventlet
|
# spec file for package python-eventlet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,21 +18,13 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-eventlet
|
Name: python-eventlet
|
||||||
Version: 0.37.0+git.1726056572.8637820
|
Version: 0.40.0
|
||||||
%define up_version 0.37.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Concurrent networking library for Python
|
Summary: Concurrent networking library for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://eventlet.net
|
URL: https://eventlet.net
|
||||||
# Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
|
||||||
Source: eventlet-%{version}.tar.gz
|
|
||||||
# PATCH-FIX-UPSTREAM 313-new-thread-attributes.patch gh#eventlet/eventlet#964 mcepl@suse.com
|
|
||||||
# Hroncko's python3.13 branch
|
|
||||||
Patch0: 313-new-thread-attributes.patch
|
|
||||||
# PATCH-FIX-OPENSUSE no-dynamic-version.patch mcepl@suse.com
|
|
||||||
# We cannot use dynamic version number on a git checkout
|
|
||||||
Patch1: no-dynamic-version.patch
|
|
||||||
BuildRequires: %{python_module hatch-vcs}
|
BuildRequires: %{python_module hatch-vcs}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -68,9 +60,6 @@ interpreter, or as part of a larger application.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n eventlet-%{version}
|
%autosetup -p1 -n eventlet-%{version}
|
||||||
|
|
||||||
# set the package version manually
|
|
||||||
sed -i -e '/^\s*__version__/s/0.0.0/%{up_version}/' eventlet/__init__.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@@ -102,6 +91,6 @@ python310_skiptests+=" or test_017_ssl_zeroreturnerror"
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS NEWS README.rst
|
%doc AUTHORS NEWS README.rst
|
||||||
%{python_sitelib}/eventlet
|
%{python_sitelib}/eventlet
|
||||||
%{python_sitelib}/eventlet-%{up_version}.dist-info
|
%{python_sitelib}/eventlet-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user