Compare commits

..

1 Commits
main ... 1.1

4 changed files with 23 additions and 113 deletions

View File

@ -1,98 +1,3 @@
-------------------------------------------------------------------
Tue Apr 1 15:53:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make it compatible with older setuptools
-------------------------------------------------------------------
Mon Mar 24 07:13:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Correct dist-info directory due to new setuptools.
-------------------------------------------------------------------
Mon Jan 20 10:32:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.2
* Add preliminary support for Python 3.14a2, this means that
``.common.builtins.IByteString`` and ``.common.collections.IByteString`` are
no longer available from this Python version onwards as Python 3.14 dropped
``collections.abc.ByteString``.
-------------------------------------------------------------------
Wed Oct 30 13:49:03 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.1.1
* Fix segmentation faults in `weakrefobject.c`
on Python 3.12 and 3.13. (#323)
- Adjust upstream source name in spec file
-------------------------------------------------------------------
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>
@ -119,19 +24,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 for package python-zope.interface
# spec file
#
# Copyright (c) 2025 SUSE LLC
# 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
@ -25,29 +25,34 @@
%bcond_with test
%endif
%global modname zope.interface
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-zope.interface%{psuffix}
Version: 7.2
Version: 6.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/%{modname}/%{modname}-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz
# needed for tests that try to compile things
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module zope.event}
BuildRequires: %{python_module zope.interface = %{version}}
BuildRequires: %{python_module zope.interface}
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
@ -60,16 +65,16 @@ API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%prep
%autosetup -p1 -n %{modname}-%{version}
%setup -q -n %{modname}-%{version}
%build
%if !%{with test}
%pyproject_wheel
%python_build
%endif
%install
%if !%{with test}
%pyproject_install
%python_install
%python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
@ -84,7 +89,7 @@ cd src
%files %{python_files}
%license LICENSE.txt COPYRIGHT.txt
%doc CHANGES.rst README.rst
%{python_sitearch}/zope[_.]interface-%{version}.dist-info
%{python_sitearch}/zope.interface-%{version}*-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) Normal file

Binary file not shown.

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

Binary file not shown.