Sync from SUSE:ALP:Source:Standard:1.0 python-uvloop revision c6005341521b22f99f75cced6e2c987d
This commit is contained in:
commit
3462e43b9b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
133
python-uvloop.changes
Normal file
133
python-uvloop.changes
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 14 06:55:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- limit to Cython < 3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 4 13:13:21 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 18:17:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.17.0
|
||||||
|
* This release adds Python 3.11 support, updates bundled libuv to 1.43.0
|
||||||
|
and fixes a handful of issues.
|
||||||
|
* visit https://github.com/MagicStack/uvloop/releases/tag/v0.17.0 for more changelog for 0.17.0
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 9 14:04:48 UTC 2021 - Fusion Future <qydwhotmail@gmail.com>
|
||||||
|
|
||||||
|
- Add libuv >= 1.28.0 BuildRequires.
|
||||||
|
(https://github.com/MagicStack/uvloop/commit/c2b65bc8d2e1bb759a755adb255f095fb40ce953)
|
||||||
|
- Do not include autogenerated source code (loop.c).
|
||||||
|
- Add rpmlintrc to suppress devel-file-in-non-devel-package messages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 30 16:07:06 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.16.0:
|
||||||
|
* Python 3.10 support (#432)
|
||||||
|
* Bump vendored libuv to 1.42.0 (#433)
|
||||||
|
* Use cibuildwheel to build wheels (#435)
|
||||||
|
* Add support for <timer handle>.when()
|
||||||
|
* Fix ref issue when protocol is in Cython
|
||||||
|
* Set python_requires in setup.py
|
||||||
|
* SSL: schedule first data after waiter wakeup
|
||||||
|
* Fix a possible race condition in sslproto test
|
||||||
|
* Fix call_soon_threadsafe thread safety
|
||||||
|
- from version 0.15.3:
|
||||||
|
* SSL: schedule first data after waiter wakeup
|
||||||
|
* Fix a possible race condition in sslproto test
|
||||||
|
* Fix call_soon_threadsafe thread safety
|
||||||
|
- from version 0.15.2:
|
||||||
|
* Add python_requires in setup.py to fix dependency resolution issues
|
||||||
|
- from version 0.15.1:
|
||||||
|
* Fix a segfault issue when a Cython protocol is de-referencing
|
||||||
|
itself from Context.run() callbacks
|
||||||
|
- from version 0.15.0:
|
||||||
|
* Add name keyword argument to loop.create_task()
|
||||||
|
* Add typing support
|
||||||
|
* SSL: many improvements
|
||||||
|
* Fix KeyboardInterrupt handling logic
|
||||||
|
* Python 3.8/3.9 compatibility fixes, drop support for 3.5/3.6
|
||||||
|
* UDP: multiple bug fixes
|
||||||
|
* Pipe: a critical crash fix that affects subprocess, pipe and socketpair
|
||||||
|
* Restore context on protocol callbacks
|
||||||
|
* Subprocess: stdio bug fixes
|
||||||
|
* Sock: fix issue in sock_connect() for large concurrency
|
||||||
|
* Misc fixes about docs URL, test typo, and CI compatibility
|
||||||
|
* Check Cython version semantically
|
||||||
|
* Add .flake8 to distribution tarball
|
||||||
|
* Switch to Github actions
|
||||||
|
* Bump libuv to v1.40.0
|
||||||
|
- Disable build on Python 3.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 6 10:54:23 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.14.0:
|
||||||
|
- Add support for Python 3.8
|
||||||
|
- numerous bug fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 09:29:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.13.0:
|
||||||
|
* Implement Server.start_serving() and related APIs
|
||||||
|
* Make Server an asynchronous context manager.
|
||||||
|
* Start using high-performance uv_udp_t handle. This
|
||||||
|
should result in a significantly faster UDP support.
|
||||||
|
* Make address validation faster in udp.sendto().
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 20:31:01 UTC 2019 - Drew Balliet <aballiet@suse.com>
|
||||||
|
|
||||||
|
- Commented out testing since it is timing out at 5400 seconds in build service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 21 11:05:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.12.2
|
||||||
|
* Fix circular references in SSL implementation
|
||||||
|
* Fix a memory leak in call_later() and call_at()
|
||||||
|
* Round (instead of flooring) delay in call_later()
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 15:00:03 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 0.12.1
|
||||||
|
* Fix a circular references case in SSL implementation.
|
||||||
|
* Cleanup references to callbacks in canceled callback handles.
|
||||||
|
* New SSL implementation. The new implementation is faster and
|
||||||
|
and more complete, and will become the default SSL implementation
|
||||||
|
in asyncio 3.8. This is a significant change that warrants a release
|
||||||
|
candidate to make sure it is tested properly.
|
||||||
|
* New uvloop.install() helper function.
|
||||||
|
* ssl.CertificateError is no longer logged as it's delivered to
|
||||||
|
the Protocol.connection_lost() anyways.
|
||||||
|
* Improve UDPTransport.sendto() performance.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 13 12:24:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Distribute again the .c files as they are needed by parts
|
||||||
|
of the py app rh#1639457
|
||||||
|
- Do not distribute the tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 25 12:22:16 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Tests are flaky, thus continue even if we fail...
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 14 09:52:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Ensure neutrality of description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 15:49:36 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- initial package version 0.11.2
|
4
python-uvloop.rpmlintrc
Normal file
4
python-uvloop.rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# The devel files identified by rpmlint are required for
|
||||||
|
# uvloop, it does not make sense to put them in a separate
|
||||||
|
# devel package
|
||||||
|
addFilter("devel-file-in-non-devel-package")
|
77
python-uvloop.spec
Normal file
77
python-uvloop.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-uvloop
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define modname uvloop
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-uvloop
|
||||||
|
Version: 0.17.0
|
||||||
|
Release: 0
|
||||||
|
Summary: An asyncio event loop on top of libuv
|
||||||
|
License: Apache-2.0 AND MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: http://github.com/MagicStack/uvloop
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/u/uvloop/uvloop-%{version}.tar.gz
|
||||||
|
Source1: python-uvloop.rpmlintrc
|
||||||
|
BuildRequires: %{python_module Cython >= 0.28 with %python-Cython < 3}
|
||||||
|
BuildRequires: %{python_module aiohttp}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module psutil}
|
||||||
|
BuildRequires: %{python_module pyOpenSSL}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: pkgconfig(libuv) >= 1.28.0
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
uvloop is a drop-in replacement of the built-in asyncio
|
||||||
|
event loop. uvloop is implemented in Cython and uses libuv
|
||||||
|
under the hood.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n uvloop-%{version}
|
||||||
|
# always use cython to generate code
|
||||||
|
sed -i -e "/self.cython_always/s/False/True/" setup.py
|
||||||
|
# use system libuv
|
||||||
|
sed -i -e "/self.use_system_libuv/s/False/True/" setup.py
|
||||||
|
# To be sure, no 3rd-party stuff
|
||||||
|
rm -vrf vendor/
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
# https://github.com/MagicStack/uvloop/issues/70
|
||||||
|
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/_testbase.py
|
||||||
|
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/__pycache__/_testbase.*
|
||||||
|
# Remove autogenerated source code
|
||||||
|
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/loop.c
|
||||||
|
|
||||||
|
%check
|
||||||
|
# Actually the tests are VERY flaky, thus continue even if they fail :(
|
||||||
|
#%%python_exec setup.py test || :
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE-APACHE LICENSE-MIT
|
||||||
|
%doc README.rst
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%changelog
|
BIN
uvloop-0.17.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
uvloop-0.17.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user