Sync from SUSE:SLFO:Main python-zope.interface revision 3642ced2d9735a9579abd2d9773f0009

This commit is contained in:
Adrian Schröter 2024-12-13 12:42:11 +01:00
parent f6e71b56b9
commit 4489475dc6
4 changed files with 87 additions and 24 deletions

View File

@ -1,3 +1,71 @@
-------------------------------------------------------------------
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>
- update to 7.0.3:
* Fix Assertion 'memb->type == T_PYSSIZET' failed. for Python <
3.12.
* Fix reference-counting bug in C module initialization (broken
in 7.0).
* Fix subclassability of ObjectSpecificationDescriptor (broken
in 7.0).
* Enable heap-based types (PEP 384) for Python >= 3.11.
* Adopt multi-phase module initialization (PEP 489).
* Drop support for Python 3.7.
-------------------------------------------------------------------
Mon Jun 10 08:29:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.4.post2:
* Publish missing Windows wheels, second attempt.
* Publish missing Windows wheels.
* The sdist of version 6.4 was uploaded to PyPI as
zope_interface-6.4.tar.gz instead of
zope.interface-6.4-py2.tar.gz which cannot be installed by
zc.buildout. This release is a re-release of version 6.4
with the correct sdist name.
* Adjust for incompatible changes in Python 3.13b1.
* Build windows wheels on GHA.
-------------------------------------------------------------------
Wed May 8 10:59:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.3:
* Add preliminary support for Python 3.13 as of 3.13a6.
-------------------------------------------------------------------
Wed Mar 13 10:01:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.2:
* Add preliminary support for Python 3.13 as of 3.13a3.
* Add support to use the pipe (|) syntax for typing.Union.
-------------------------------------------------------------------
Tue Jan 2 20:59:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- remove python2 specific codepaths
-------------------------------------------------------------------
Sat Dec 16 08:59:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.1:
* Add support for Python 3.12.
* Fix building of the docs for non-final versions.
-------------------------------------------------------------------
Fri May 5 08:44:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -24,19 +92,19 @@ Thu Apr 13 22:46:07 UTC 2023 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Mon Dec 5 13:50:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.5.2
- Update to version 5.5.2
* Add support for building arm64 wheels on macOS.
-------------------------------------------------------------------
Wed Nov 9 19:57:13 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.5.1
- Update to version 5.5.1
* Add support for final Python 3.11 release.
-------------------------------------------------------------------
Sat Oct 29 18:04:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.5.0
- Update to version 5.5.0
* Add support for Python 3.10 and 3.11 (as of 3.11.0rc2).
* Add missing Trove classifier showing support for Python 3.9.
* Add some more entries to zope.interface.interfaces.__all__.

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-zope.interface
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,35 +24,30 @@
%define psuffix %{nil}
%bcond_with test
%endif
%global modname zope.interface
%define oldpython python
%global modname zope_interface
%{?sle15_python_module_pythons}
Name: python-zope.interface%{psuffix}
Version: 6.0
Version: 7.1.0
Release: 0
Summary: Interfaces for Python
License: ZPL-2.1
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
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module zope.event}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.interface = %{version}}
BuildRequires: %{python_module zope.testing}
%endif
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
%ifpython2
Provides: %{oldpython}-zopeinterface = %{version}
Obsoletes: %{oldpython}-zopeinterface < %{version}
Provides: %{oldpython}-zope-interface = %{version}
Obsoletes: %{oldpython}-zope-interface < %{version}
%endif
%python_subpackages
%description
@ -65,16 +60,16 @@ API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%prep
%setup -q -n %{modname}-%{version}
%autosetup -p1 -n %{modname}-%{version}
%build
%if !%{with test}
%python_build
%pyproject_wheel
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
@ -89,7 +84,7 @@ cd src
%files %{python_files}
%license LICENSE.txt COPYRIGHT.txt
%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
%dir %{python_sitearch}/zope
%{python_sitearch}/zope/interface

BIN
zope.interface-6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zope_interface-7.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.