14
0

- Update to 0.2.0:

- Fallback to basic Source.pieces when there is no Source.tree.
  - Handle nodes inside f-strings missing location info from
    asttokens
- Add 29-Pygments-2-12.patch (gh#alexmojaki/stack_data#29) making
  the package compabile with Pygments 2.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stack-data?expand=0&rev=3
This commit is contained in:
2022-05-16 12:27:45 +00:00
committed by Git OBS Bridge
parent 27892a698a
commit 4bcc5c5e16
5 changed files with 164 additions and 4 deletions

View File

@@ -18,12 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-stack-data
Version: 0.1.3
Version: 0.2.0
Release: 0
Summary: Extract data from python stack frames and tracebacks
License: MIT
URL: https://github.com/alexmojaki/stack_data
Source: https://files.pythonhosted.org/packages/source/s/stack_data/stack_data-%{version}.tar.gz
# PATCH-FIX-UPSTREAM 29-Pygments-2-12.patch gh#alexmojaki/stack_data#29 mcepl@suse.com
# Make the package compatible with Pygments 2.12.
Patch0: 29-Pygments-2-12.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module setuptools >= 44}
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
BuildRequires: fdupes