1
0
python-executing/python-executing.spec
Markéta Machová 77b6be5ecc - Update to 2.1.0
* Add many_calls tests to EXECUTING_SLOW_TESTS (#78)
  * fix: backward compatibility fix for changed source positions in 3.12.5 (#82) (#83)
  * fix(3.13): show_caches is deprecated
  * fix(3.13): added new rules to the verification
  * build(3.13): added 3.13 to ci workflow
  * fix(3.13): fixed typing errors
  * fix(3.13): handle STORE_FAST_STORE_FAST and similar instructions as known issues
  * fix(3.13): loading of __class__ is mapped to the last element of the class
  * fix(3.13): handle CALL_KW like method calls which are only located by the end position
  * fix(3.13): a lambda can also have nonlocal variables
  * fix(3.13): a async function can also have nonlocal variables
  * fix(3.13): COMPARE_OP maps always to ast.Compare
  * fix(3.13): a type variable can also have nonlocal variables
  * test(3.13): handle optimization of `not not x`
  * test: fixed tests for 3.13.0b1
  * fix: allow to LOAD_FAST variables for TypeVars
  * fix: skip files with raise an recursion error in 3.13,
    because the recursion limit has no effect
  * test(3.13): added sample_results
  * test: skip module tests for now
  * refactor: review changes
  * fix: handle __firstlineno__
  * fix: removed unused verification
  * doc: review changes
  * Catch exception if node is in unexpected statement (#84)
  * test: optimized test preformance by moving deadcode check to the end (#89)
  * add 3.13 to setup.cfg classifiers
- Drop support-new-python-3.12.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-executing?expand=0&rev=15
2024-09-11 06:18:25 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package python-executing
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-executing
Version: 2.1.0
Release: 0
Summary: Get the currently executing AST node of a frame, and other information
License: MIT
URL: https://github.com/alexmojaki/executing
Source: https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
BuildRequires: %{python_module asttokens}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module littleutils}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm >= 4.0.0}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Get the currently executing AST node of a frame, and other information
%prep
%autosetup -p1 -n executing-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/executing
%{python_sitelib}/executing-%{version}.dist-info
%changelog