# Running the tests requires ipython which requires python-stack-data which # introduces a circular dependency back on python-executing %bcond tests 1 Name: python-executing Version: 2.1.0 Release: 1%{?dist} Summary: Python library for inspecting the current frame run footprint License: MIT URL: https://github.com/alexmojaki/executing # The package uses setuptools_scm, GitHub tarball will not work Source0: %{pypi_source executing} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Get information about what a Python frame is currently doing, particularly the AST node being executed} %description %_description %package -n python3-executing Summary: %{summary} %description -n python3-executing %_description %prep %autosetup -p1 -n executing-%{version} # Remove coverage and coverage-enable-subprocess # from testing deps. sed -Ei "/coverage-?/d" setup.cfg %generate_buildrequires %pyproject_buildrequires %{?with_tests:-t} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files executing %check %pyproject_check_import %if %{with tests} # test_listcomp doesn't work with Python 3.12 %tox -- -- -k "not test_listcomp" %endif %files -n python3-executing -f %{pyproject_files} %doc README.md %license LICENSE.txt %changelog * Mon Sep 02 2024 Lumír Balhar - 2.1.0-1 - Update to 2.1.0 (rhbz#2309044) * Fri Jul 19 2024 Fedora Release Engineering - 2.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 09 2024 Python Maint - 2.0.1-6 - Rebuilt for Python 3.13 * Fri Jun 07 2024 Python Maint - 2.0.1-5 - Bootstrap for Python 3.13 * Wed Jun 05 2024 Lumír Balhar - 2.0.1-4 - Fix compatibility with Python 3.13 (rhbz#2283503) * Fri Jan 26 2024 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Oct 30 2023 Lumír Balhar - 2.0.1-1 - Update to 2.0.1 (rhbz#2246826) * Fri Oct 20 2023 Karolina Surma - 2.0.0-2 - Conditionalize tests to prevent circular dependency when bootstrapping new Python * Mon Oct 02 2023 Lumír Balhar - 2.0.0-1 - Update to 2.0.0 (rhbz#2241493) * Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jul 02 2023 Python Maint - 1.2.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 01 2022 Lumír Balhar - 1.2.0-1 - Update to 1.2.0 Resolves: rhbz#2138547 * Sun Oct 09 2022 Lumír Balhar - 1.1.1-1 - Update to 1.1.1 Resolves: rhbz#2133192 * Mon Sep 26 2022 Lumír Balhar - 1.1.0-1 - Update to 1.1.0 Resolves: rhbz#2110285 * Fri Jul 22 2022 Fedora Release Engineering - 0.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.8.2-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 27 2021 Roman Inflianskas - 0.8.2-1 - Initial package