diff --git a/python-yappi.changes b/python-yappi.changes index 99e9dd9..f5f1ffa 100644 --- a/python-yappi.changes +++ b/python-yappi.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Dec 15 22:24:24 UTC 2023 - Dirk Müller + +- update to 1.6.0: + * Drop support 2.7-3.5 and clean backward compatible code + * Add Python 3.12 wheels +- update to 1.5.1: + * Add support for Python 3.12 + * Fix child callgrind functions disappear + ------------------------------------------------------------------- Wed Dec 7 16:13:58 UTC 2022 - Andreas Schwab @@ -6,21 +16,21 @@ Wed Dec 7 16:13:58 UTC 2022 - Andreas Schwab ------------------------------------------------------------------- Wed Nov 9 19:54:11 UTC 2022 - Yogalakshmi Arunachalam -- Update to 1.4.0 +- Update to 1.4.0 * Add support for Python 3.11 ------------------------------------------------------------------- Fri Sep 16 23:34:18 UTC 2022 - Yogalakshmi Arunachalam -- update to 1.3.6: +- update to 1.3.6: * cibuildwheel integration ------------------------------------------------------------------- Sat Jun 4 12:43:04 UTC 2022 - Dirk Müller - update to 1.3.5: - * Use PyEval_GetLocals for getting locals in Py3.10 and up. - * Fix cp->coroutines becomes NULL when head is removed + * Use PyEval_GetLocals for getting locals in Py3.10 and up. + * Fix cp->coroutines becomes NULL when head is removed * Remove pypistats dw count ------------------------------------------------------------------- @@ -33,7 +43,7 @@ Sat Oct 16 19:39:15 UTC 2021 - Dirk Müller Thu Apr 22 19:52:10 UTC 2021 - Dirk Müller - update to 1.3.2: - - Add support for Python 3.10 + - Add support for Python 3.10 ------------------------------------------------------------------- Tue Mar 16 20:10:58 UTC 2021 - Matej Cepl @@ -47,7 +57,7 @@ Mon Nov 9 04:31:31 UTC 2020 - Steve Kowalik * Add support for profiling gevent applications * A new API has been defined: `set_context_backend` which accepts `greenlet` as a backend. - * Fix various issues + * Fix various issues ------------------------------------------------------------------- Sun Aug 16 22:31:45 UTC 2020 - John Vandenberg diff --git a/python-yappi.spec b/python-yappi.spec index f7434bd..44c31e4 100644 --- a/python-yappi.spec +++ b/python-yappi.spec @@ -1,7 +1,7 @@ # # spec file for package python-yappi # -# Copyright (c) 2022 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 @@ -16,11 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-yappi -Version: 1.4.0 +Version: 1.6.0 Release: 0 Summary: Yet Another Python Profiler License: MIT @@ -29,9 +27,10 @@ Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{v BuildRequires: %{python_module contextvars} BuildRequires: %{python_module devel} BuildRequires: %{python_module gevent >= 20.6.2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools @@ -47,10 +46,10 @@ Yet Another Python Profiler %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/yappi %python_expand %fdupes %{buildroot}%{$python_sitearch} @@ -80,6 +79,9 @@ skip_tests="$skip_tests and not test_run_as_script" %doc README.md %license LICENSE %python_alternative %{_bindir}/yappi -%{python_sitearch}/* +%{python_sitearch}/yappi.py +%{python_sitearch}/_yappi* +%pycache_only %{python_sitearch}/__pycache__/yappi* +%{python_sitearch}/yappi-%{version}.dist-info %changelog diff --git a/yappi-1.4.0.tar.gz b/yappi-1.4.0.tar.gz deleted file mode 100644 index 2683739..0000000 --- a/yappi-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:504b5d8fc7433736cb5e257991d2e7f2946019174f1faec7b2fe947881a17fc0 -size 59178 diff --git a/yappi-1.6.0.tar.gz b/yappi-1.6.0.tar.gz new file mode 100644 index 0000000..ae45e69 --- /dev/null +++ b/yappi-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9aaf72009d8c03067294151ee0470ac7a6dfa7b33baab40b198d6c1ef00430a +size 59325