Compare commits

...

1 Commits
main ... 1.1

4 changed files with 24 additions and 87 deletions

View File

@ -1,71 +1,3 @@
-------------------------------------------------------------------
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> Fri May 5 08:44:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-zope.interface # spec file
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,30 +24,35 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%global modname zope_interface %global modname zope.interface
%define oldpython python
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zope.interface%{psuffix} Name: python-zope.interface%{psuffix}
Version: 7.1.0 Version: 6.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/%{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 # needed for tests that try to compile things
BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
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 = %{version}} BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testing}
%endif %endif
# /SECTION # /SECTION
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools 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 %python_subpackages
%description %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. the Design By Contract methodology support in Python.
%prep %prep
%autosetup -p1 -n %{modname}-%{version} %setup -q -n %{modname}-%{version}
%build %build
%if !%{with test} %if !%{with test}
%pyproject_wheel %python_build
%endif %endif
%install %install
%if !%{with test} %if !%{with test}
%pyproject_install %python_install
%python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c %python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif %endif
@ -84,7 +89,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}.dist-info %{python_sitearch}/zope.interface-%{version}*-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

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

Binary file not shown.

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

Binary file not shown.