14
0

Accepting request 1207763 from devel:languages:python

- Update to 7.1.0:
  * Declare support for Python 3.13.
  * Fix segmentation faults on Python 3.13. (#323)
- Drop patch fix-testsuite-segfault.patch, included upstream.
- Switch to autosetup macros.

- Cherry-pick upstream patch to fix testsuite segfault with Python 3.13
  * fix-testsuite-segfault.patch

OBS-URL: https://build.opensuse.org/request/show/1207763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.interface?expand=0&rev=40
This commit is contained in:
2024-10-14 11:06:27 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 10 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Oct 14 03:37:17 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 7.1.0:
* Declare support for Python 3.13.
* Fix segmentation faults on Python 3.13. (#323)
- Drop patch fix-testsuite-segfault.patch, included upstream.
- Switch to autosetup macros.
-------------------------------------------------------------------
Wed Sep 25 13:39:50 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Cherry-pick upstream patch to fix testsuite segfault with Python 3.13
* fix-testsuite-segfault.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 8 13:11:24 UTC 2024 - Dirk Müller <dmueller@suse.com> Sun Sep 8 13:11:24 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -24,24 +24,24 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%global modname zope.interface %global modname zope_interface
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zope.interface%{psuffix} Name: python-zope.interface%{psuffix}
Version: 7.0.3 Version: 7.1.0
Release: 0 Release: 0
Summary: Interfaces for Python Summary: Interfaces for Python
License: ZPL-2.1 License: ZPL-2.1
URL: https://pypi.python.org/pypi/zope.interface URL: https://pypi.python.org/pypi/zope.interface
Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
# needed for tests that try to compile things # needed for tests that try to compile things
BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
# SECTION test requirements # SECTION test requirements
%if %{with test} %if %{with test}
BuildRequires: %{python_module zope.event} BuildRequires: %{python_module zope.event}
BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.interface = %{version}}
BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testing}
%endif %endif
# /SECTION # /SECTION
@@ -60,7 +60,7 @@ API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python. the Design By Contract methodology support in Python.
%prep %prep
%setup -q -n %{modname}-%{version} %autosetup -p1 -n %{modname}-%{version}
%build %build
%if !%{with test} %if !%{with test}
@@ -84,7 +84,7 @@ cd src
%files %{python_files} %files %{python_files}
%license LICENSE.txt COPYRIGHT.txt %license LICENSE.txt COPYRIGHT.txt
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitearch}/zope.interface-%{version}*-info %{python_sitearch}/zope.interface-%{version}.dist-info
%{python_sitearch}/zope.interface-%{version}*-nspkg.pth %{python_sitearch}/zope.interface-%{version}*-nspkg.pth
%dir %{python_sitearch}/zope %dir %{python_sitearch}/zope
%{python_sitearch}/zope/interface %{python_sitearch}/zope/interface

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd2690d4b08ec9eaf47a85914fe513062b20da78d10d6d789a792c0b20307fb1
size 252504

BIN
zope_interface-7.1.0.tar.gz LFS Normal file

Binary file not shown.