diff --git a/pycapnp-1.3.0.tar.gz b/pycapnp-1.3.0.tar.gz deleted file mode 100644 index cc921cb..0000000 --- a/pycapnp-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf6569164ae97a9b37432ee5e4011c17bd551b937b4e6afa08e281116a2c8d34 -size 124553 diff --git a/pycapnp-2.0.0.tar.gz b/pycapnp-2.0.0.tar.gz new file mode 100644 index 0000000..26743f5 --- /dev/null +++ b/pycapnp-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9e3acc58d8d67a08dbe6c86513b6bbff734a608a7fceb102883a88877643059 +size 121413 diff --git a/python-pycapnp.changes b/python-pycapnp.changes index 8fb9ec6..f18ccf4 100644 --- a/python-pycapnp.changes +++ b/python-pycapnp.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Apr 16 08:24:15 UTC 2024 - Markéta Machová + +- Update to 2.0.0 + * Update to bundled capnproto-1.0.1 + * Remove support for Python 3.7 + * Update Cython version and Python to 3.12 + * Make pycapnp more GIL friendly + * Remove the synchronous RPC mode + * Update documentation to async code + * Some fixes to the magic import system + * more changes, see CHANGELOG.md + ------------------------------------------------------------------- Sun Aug 13 19:51:17 UTC 2023 - Dirk Müller diff --git a/python-pycapnp.spec b/python-pycapnp.spec index 67cc76f..21317bb 100644 --- a/python-pycapnp.spec +++ b/python-pycapnp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycapnp # -# 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 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pycapnp -Version: 1.3.0 +Version: 2.0.0 Release: 0 Summary: Cython wrapping of the C++ Cap'n Proto library License: BSD-2-Clause @@ -26,10 +26,13 @@ URL: https://github.com/capnproto/pycapnp Source: https://github.com/capnproto/pycapnp/archive/refs/tags/v%{version}.tar.gz#/pycapnp-%{version}.tar.gz BuildRequires: %{python_module Cython with %python-Cython < 3} BuildRequires: %{python_module Jinja2} -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pkgconfig} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -45,10 +48,10 @@ sed -i '1{/^#!/d}' capnp/templates/setup.py.tmpl %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/capnpc-cython %{python_expand rm %{buildroot}%{$python_sitearch}/capnp/helpers/*.h %fdupes %{buildroot}%{$python_sitearch}