## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 Name: python-discovery Version: 1.5.3 Release: %autorelease Summary: Python interpreter discovery License: MIT URL: https://github.com/tox-dev/python-discovery Source: %{url}/archive/%{version}/python-discovery-%{version}.tar.gz # Downstream-only: avoid usage of vermin in the test suite # # A single test, test_script_parses_down_to_python27, uses vermin to verify # that the script to collect interpreter information would parse on Python 2.7. # It is not worth packaging vermin solely for this check. This patch removes # the top-level import and skips the test that would have used it. To reduce # the need for frequent rebasing due to changing version bounds, we use # %%pyproject_patch_dependency to avoid generating the vermin test dependency, # rather than adjusting pyproject.toml in this patch. Patch: 0001-Downstream-only-avoid-usage-of-vermin-in-the-test-su.patch BuildSystem: pyproject BuildOption(install): --assert-license python_discovery BuildOption(generate_buildrequires): --dependency-groups test BuildArch: noarch %global common_description %{expand: %{summary}.} %description %{common_description} %package -n python3-discovery Summary: %{summary} %description -n python3-discovery %{common_description} %prep -a # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters %pyproject_patch_dependency coverage:ignore %pyproject_patch_dependency covdefaults:ignore # See 0001-Downstream-only-avoid-usage-of-vermin-in-the-test-su.patch. %pyproject_patch_dependency vermin:ignore %generate_buildrequires -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %build -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %check -a # Requires python3dist(vermin): k="${k-}${k+ and }not test_script_parses_down_to_python27" %pytest -k "${k-}" -rs --verbose %files -n python3-discovery -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Mon Aug 24 2026 Benjamin A. Beasley - 1.5.3-1 - Update to 1.5.3 upstream release - Resolves: rhbz#2522077 * Fri Aug 14 2026 Benjamin A. Beasley - 1.5.2-1 - Update to 1.5.2 (close RHBZ#2514635) * Fri Jul 31 2026 Packit - 1.5.1-1 - Update to 1.5.1 upstream release - Resolves: rhbz#2509936 * Thu Jul 23 2026 Benjamin A. Beasley - 1.5.0-1 - Update to 1.5.0 upstream release - Resolves: rhbz#2503655 * Thu Jul 16 2026 Fedora Release Engineering - 1.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jul 09 2026 Benjamin A. Beasley - 1.4.4-1 - Update to 1.4.4 upstream release - Resolves: rhbz#2498378 * Fri Jul 03 2026 Packit - 1.4.3-1 - Update to 1.4.3 upstream release - Resolves: rhbz#2496887 * Fri Jun 12 2026 Benjamin A. Beasley - 1.4.2-1 - Update to 1.4.2 upstream release - Resolves: rhbz#2487935 * Wed Jun 03 2026 Benjamin A. Beasley - 1.4.0-2 - Update the Python 3.6 support patch for 1.4.0 * Wed Jun 03 2026 Lumir Balhar - 1.4.0-1 - Update to 1.4.0 (rhbz#2482442) * Wed Jun 03 2026 Python Maint - 1.3.1-3 - Rebuilt for Python 3.15 * Sat May 23 2026 Benjamin A. Beasley - 1.3.1-2 - Use long pytest options * Tue May 12 2026 Packit - 1.3.1-1 - Update to 1.3.1 upstream release - Resolves: rhbz#2476899 * Mon May 11 2026 Benjamin A. Beasley - 1.3.0-3 - Use pyproject long options * Tue May 05 2026 Packit - 1.3.0-1 - Update to 1.3.0 upstream release - Resolves: rhbz#2466769 * Wed Apr 29 2026 Benjamin A. Beasley - 1.2.2-2 - Use %%pyproject_patch_dependency in lieu of tomcli * Sat Apr 11 2026 Benjamin A. Beasley - 1.2.2-1 - Update to 1.2.2 upstream release - Resolves: rhbz#2456140 * Fri Mar 27 2026 Miro Hrončok - 1.2.1-1 - Update to 1.2.1 upstream release - Resolves: rhbz#2452059 * Thu Mar 19 2026 Packit - 1.2.0-1 - Update to 1.2.0 upstream release - Resolves: rhbz#2446034 * Tue Mar 10 2026 Packit - 1.1.3-1 - Update to 1.1.3 upstream release - Resolves: rhbz#2446034 * Tue Mar 10 2026 Miro Hrončok - 1.1.2-3 - Fix the Python 3.6 patch for discovery 1.1.2 * Mon Mar 09 2026 Packit - 1.1.2-1 - Update to 1.1.2 upstream release - Resolves: rhbz#2445850 * Sat Mar 07 2026 Packit - 1.1.1-1 - Update to 1.1.1 upstream release - Resolves: rhbz#2445401 * Fri Mar 06 2026 Miro Hrončok - 1.1.0-2 - Restore support for Python 3.6 virtual environments in virtualenv 21+ * Tue Mar 03 2026 Benjamin A. Beasley - 1.1.0-1 - Initial package (close RHBZ#2443622) ## END: Generated by rpmautospec