14
0
forked from pool/python-yappi

Accepting request 1133551 from devel:languages:python

- 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

- Update to 1.4.0
- update to 1.3.6:
  * Use PyEval_GetLocals for getting locals in Py3.10 and up.
  * Fix cp->coroutines becomes NULL when head is removed
  - Add support for Python 3.10
  * Fix various issues

OBS-URL: https://build.opensuse.org/request/show/1133551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yappi?expand=0&rev=16
This commit is contained in:
2023-12-17 20:31:45 +00:00
committed by Git OBS Bridge
4 changed files with 30 additions and 18 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Dec 15 22:24:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <schwab@suse.de> Wed Dec 7 16:13:58 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-yappi # 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 # 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
@@ -16,11 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define skip_python2 1
%define skip_python36 1
Name: python-yappi Name: python-yappi
Version: 1.4.0 Version: 1.6.0
Release: 0 Release: 0
Summary: Yet Another Python Profiler Summary: Yet Another Python Profiler
License: MIT License: MIT
@@ -29,9 +27,10 @@ Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{v
BuildRequires: %{python_module contextvars} BuildRequires: %{python_module contextvars}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module gevent >= 20.6.2} BuildRequires: %{python_module gevent >= 20.6.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
@@ -47,10 +46,10 @@ Yet Another Python Profiler
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/yappi %python_clone -a %{buildroot}%{_bindir}/yappi
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -80,6 +79,9 @@ skip_tests="$skip_tests and not test_run_as_script"
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/yappi %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 %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:504b5d8fc7433736cb5e257991d2e7f2946019174f1faec7b2fe947881a17fc0
size 59178

3
yappi-1.6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9aaf72009d8c03067294151ee0470ac7a6dfa7b33baab40b198d6c1ef00430a
size 59325