## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Running the tests requires ipython which requires python-stack-data which # introduces a circular dependency back on python-executing %bcond bootstrap 0 # When tests are enabled, should we also run “very slow” tests? %bcond slow_tests 1 %global forgeurl https://github.com/alexmojaki/executing # Python 3.14 support is not yet published in a release %global commit 5ed2ba36c2df94c91fefabd919880ffe061dc0f2 %forgemeta Name: python-executing Version: 2.2.0^5ed2ba3 Release: %autorelease Summary: Python library for inspecting the current frame run footprint License: MIT URL: %{forgeurl} Source: %{forgesource} 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 %dnl %autosetup -p1 -n executing-%{version} %autosetup -p1 -n executing-%{commit} # Remove coverage and coverage-enable-subprocess # from testing deps. sed -Ei "/coverage-?/d" setup.cfg %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION="%(echo '%{version}' | cut -d '^' -f 1)" %pyproject_buildrequires %{!?with_bootstrap:-t} %build export SETUPTOOLS_SCM_PRETEND_VERSION="%(echo '%{version}' | cut -d '^' -f 1)" %pyproject_wheel %install %pyproject_install %pyproject_save_files executing %check %pyproject_check_import %if %{without bootstrap} %if %{with slow_tests} export EXECUTING_SLOW_TESTS=1 %endif %tox -- -- -rs %endif %files -n python3-executing -f %{pyproject_files} %doc README.md %license LICENSE.txt %changelog ## START: Generated by rpmautospec * Sun Aug 31 2025 Roman Inflianskas - 2.2.0^5ed2ba3-1 - Add Python 3.14 support (fedora#2349436) * Fri Aug 15 2025 Python Maint - 2.2.0-6 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 2.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Jun 04 2025 Python Maint - 2.2.0-4 - Rebuilt for Python 3.14 * Mon Jun 02 2025 Python Maint - 2.2.0-3 - Bootstrap for Python 3.14 * Sun Jan 26 2025 Romain Geissler - Allow to build without tests in bootstrap mode. * Wed Jan 22 2025 Lumír Balhar - Update to 2.2.0 (rhbz#2339704) * Sat Jan 18 2025 Fedora Release Engineering - 2.1.0^20240916git3f11fdc-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Sep 21 2024 Benjamin A. Beasley - 2.1.0^20240916git3f11fdc-1 - Package a post-release snapshot to fix regressions - Add a build conditional to optionally enable very slow tests; enable them * 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 ## END: Generated by rpmautospec