Accepting request 1056128 from devel:languages:python
Revert to 22.10.0, greenlet 2.0 breaks openstack, so it's reverted for now OBS-URL: https://build.opensuse.org/request/show/1056128 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=82
This commit is contained in:
parent
eeca9bf90c
commit
1e86137035
BIN
gevent-22.10.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
gevent-22.10.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01ea78981520c9cdbe3722e1760a8ed0165a0b576cb5209f67881595561509da
|
||||
size 4800293
|
@ -1 +1,2 @@
|
||||
addFilter("zero-length .*tests/nullcert\.pem")
|
||||
addFilter("pem-certificate .*tests/.*\.pem")
|
||||
|
@ -1,16 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 19:49:54 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 22.10.2
|
||||
* Update to greenlet 2.0. This fixes a deallocation issue that
|
||||
required a change in greenlet's ABI. The design of greenlet 2.0
|
||||
is intended to prevent future fixes and enhancements from
|
||||
requiring an ABI change, making it easier to update gevent and
|
||||
greenlet independently.
|
||||
* Caution: greenlet 2.0 requires a modern-ish C++ compiler. This
|
||||
may mean certain older platforms are no longer supported. See
|
||||
:issue:`1909`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 16 17:41:54 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-gevent
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,31 +23,40 @@
|
||||
%define use_bundled_libev 0
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname gevent
|
||||
Name: python-gevent
|
||||
Version: 22.10.2
|
||||
Version: 22.10.1
|
||||
Release: 0
|
||||
Summary: Python network library that uses greenlet and libevent
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.gevent.org/
|
||||
# Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%%{version}.tar.gz
|
||||
Source0: https://github.com/gevent/gevent/archive/%{version}.tar.gz#/gevent-%{version}.tar.gz
|
||||
Source0: https://github.com/gevent/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||
Source100: %{name}-rpmlintrc
|
||||
# gcc7 for 15.1 produces no-return-in-nonvoid-function, but the same compiler for 15.2 not
|
||||
# usually, as long as no return value is used, this shouldn't be treated as an error
|
||||
# let's selectively disable the warning around the offending code
|
||||
Patch0: fix-no-return-in-nonvoid-function.patch
|
||||
Patch1: skip-tests-in-leap.patch
|
||||
BuildRequires: %{python_module Cython >= 3.0~a11}
|
||||
BuildRequires: %{python_module cffi >= 1.12.3}
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module greenlet >= 2}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module dnspython}
|
||||
BuildRequires: %{python_module greenlet >= 1.1.0}
|
||||
BuildRequires: %{python_module objgraph}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module zope.event}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
BuildRequires: fdupes
|
||||
# /etc/protocols needed for tests
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-testsuite
|
||||
BuildRequires: pkgconfig(libcares)
|
||||
%if ! 0%{use_bundled_libev}
|
||||
BuildRequires: pkgconfig(libev)
|
||||
@ -64,17 +73,6 @@ Recommends: python-psutil
|
||||
%else
|
||||
Requires: python-psutil
|
||||
%endif
|
||||
# SECTION test
|
||||
# /etc/protocols needed for tests
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: %{python_module dnspython}
|
||||
BuildRequires: %{python_module objgraph}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module zope.event}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
BuildRequires: python3-testsuite
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -119,10 +117,12 @@ sed -i -e '1{/bin.*python/d}' src/gevent/tests/*.py
|
||||
export LIBEV_EMBED=%{use_bundled_libev}
|
||||
export CARES_EMBED=0
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
export LIBEV_EMBED=%{use_bundled_libev}
|
||||
export CARES_EMBED=0
|
||||
%python_install
|
||||
%{python_expand # fix script interpreter-line and exec bit
|
||||
sed -i '1{s|^#!.*bin.*python.*$|#!%{__$python}|}' %{buildroot}%{$python_sitearch}/gevent/testing/testrunner.py
|
||||
chmod +x %{buildroot}%{$python_sitearch}/gevent/testing/testrunner.py
|
||||
@ -170,7 +170,7 @@ fi
|
||||
%files %{python_files}
|
||||
%doc AUTHORS README.rst TODO CHANGES.rst CONTRIBUTING.rst
|
||||
%license LICENSE*
|
||||
%{python_sitearch}/gevent-%{version}.dist-info
|
||||
%{python_sitearch}/gevent-%{version}-py*.egg-info
|
||||
%{python_sitearch}/gevent/
|
||||
|
||||
%files -n python-gevent-doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user