## 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-tox-uv Version: 1.35.2 Release: %autorelease Summary: Integration of uv with tox License: MIT URL: https://github.com/tox-dev/tox-uv Source: https://github.com/tox-dev/tox-uv/archive/%{version}/tox-uv-%{version}.tar.gz # as with python-tox, those tests run on the CI only, as they need internet access %bcond ci_tests 0 BuildArch: noarch BuildRequires: python3-devel # For tests BuildRequires: python3.10-devel %global _description %{expand: tox-uv is a tox plugin, which replaces virtualenv and pip with uv in your tox environments. Note that you will get both the benefits (performance) or downsides (bugs) of uv. Installing this package changes the behavior of tox. It also complicates usage of tox with a Python version not supported by uv. Use `tox --runner virtualenv` to disable this plugin.} %description %_description %package -n python3-tox-uv Summary: %{summary} # Tighten the generated dependency on python3dist(tox-uv-bare) Requires: python3-tox-uv-bare = %{version}-%{release} %description -n python3-tox-uv %_description %package -n python3-tox-uv-bare Summary: Plugin-only python3-tox-uv without the uv dependency %description -n python3-tox-uv-bare %_description This package does not have the dependency on uv, you need to bring your own or install python3-tox-uv. %prep %autosetup -p1 -n tox-uv-%{version} # Remove a build dependency of tox-uv on tox-uv-bare (we build both) %pyproject_patch_dependency tox-uv-bare:ignore:br_only # Remove unpackaged (devpi-process) and coverage test dependencies %pyproject_patch_dependency devpi-process:ignore %pyproject_patch_dependency covdefaults:ignore %pyproject_patch_dependency diff-cover:ignore %pyproject_patch_dependency pytest-cov:ignore # Relax some build/test dependencies %pyproject_patch_dependency hatchling:drop_constraints %pyproject_patch_dependency hatch-vcs:drop_constraints %pyproject_patch_dependency pytest:drop_constraints %pyproject_patch_dependency pytest-mock:drop_constraints %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires -g test %pyproject_buildrequires -d meta %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %pyproject_wheel -d meta %install %pyproject_install %check # only works with the package actually installed k="${k-}${k+ and }not test_tox_version" k="${k-}${k+ and }not test_uv_version" # only works with tox-uv-bare installed without tox-uv k="${k-}${k+ and }not test_plugin_version_info_without_uv_package" # only works when managed Pythons are allowed in uv + requires internet k="${k-}${k+ and }not (test_uv_env_python_preference_complex and onlymanaged)" %if %{without ci_tests} # requires internet k="${k-}${k+ and }not test_uv_dependency_present" k="${k-}${k+ and }not test_uv_install" k="${k-}${k+ and }not test_uv_package_editable_legacy" k="${k-}${k+ and }not test_uv_package_no_pyproject" k="${k-}${k+ and }not test_uv_package_requirements" k="${k-}${k+ and }not test_uv_package_workspace" k="${k-}${k+ and }not test_uv_python_set" k="${k-}${k+ and }not test_version_injected_into_dependency" k="${k-}${k+ and }not test_wheel_contains_" k="${k-}${k+ and }not test_wheel_does_not_contain_" %endif # Some test invoke building (self?) with hatch-vcs export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pytest -v "${k:+-k $k}" %files -n python3-tox-uv %{python3_sitelib}/tox_uv-%{version}.dist-info/ %{python3_sitelib}/tox_uv_meta/ %files -n python3-tox-uv-bare %doc README.md %{python3_sitelib}/tox_uv_bare-%{version}.dist-info/ %license %{python3_sitelib}/tox_uv_bare-%{version}.dist-info/licenses/LICENSE # beware, the tox_uv module is part of the bare package! %{python3_sitelib}/tox_uv/ %changelog ## START: Generated by rpmautospec * Wed May 06 2026 Miro Hrončok - 1.35.2-1 - Uncommitted changes * Sat Jan 17 2026 Fedora Release Engineering - 1.29.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Nov 05 2025 Benjamin A. Beasley - 1.29.0-1 - Update to 1.29.0 (close RHBZ#2402809) * Wed Nov 05 2025 Benjamin A. Beasley - 1.28.1-2 - Loosen packaging dependency on F42 * Sat Oct 11 2025 Benjamin A. Beasley - 1.28.1-1 - Update to 1.28.1 * Fri Sep 19 2025 Python Maint - 1.28.0-2 - Rebuilt for Python 3.14.0rc3 bytecode * Sat Aug 16 2025 Benjamin A. Beasley - 1.28.0-1 - Update to 1.28.0 (close RHBZ#2388661) * Fri Aug 15 2025 Python Maint - 1.27.0-3 - Rebuilt for Python 3.14.0rc2 bytecode * Thu Aug 07 2025 Benjamin A. Beasley - 1.27.0-1 - Update to 1.27.0 (close RHBZ#2387086) * Sat Aug 02 2025 Benjamin A. Beasley - 1.26.2-1 - Update to 1.26.2 (close RHBZ#2382398) * Fri Jul 25 2025 Fedora Release Engineering - 1.26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 24 2025 Benjamin A. Beasley - 1.26.1-1 - Update to 1.26.1 (close RHBZ#2374392) * Tue Jun 03 2025 Python Maint - 1.26.0-2 - Rebuilt for Python 3.14 * Thu May 29 2025 Benjamin A. Beasley - 1.26.0-1 - Update to 1.26.0 (close RHBZ#2368772) * Fri Feb 21 2025 Benjamin A. Beasley - 1.25.0-1 - Update to 1.25.0 (close RHBZ#2346991) * Thu Feb 20 2025 Benjamin A. Beasley - 1.24.1-1 - Update to 1.24.1 (close RHBZ#2345452) * Sat Feb 08 2025 Benjamin A. Beasley - 1.23.0-2 - Fix the sed-patch for the packaging dependency * Fri Feb 07 2025 Benjamin A. Beasley - 1.23.0-1 - Update to 1.23.0 (close RHBZ#2344383) * Wed Feb 05 2025 Benjamin A. Beasley - 1.22.1-1 - Update to 1.22.1 (close RHBZ#2343667) * Thu Jan 30 2025 Benjamin A. Beasley - 1.20.2-1 - Update to 1.20.2 (close RHBZ#2338473) * Sat Jan 25 2025 Benjamin A. Beasley - 1.20.1-1 - Update to 1.20.1 (close RHBZ#2338473) * Sat Jan 25 2025 Benjamin A. Beasley - 1.19.1-1 - Update to 1.19.1 * Sat Jan 18 2025 Fedora Release Engineering - 1.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Dec 31 2024 Benjamin A. Beasley - 1.17.0-1 - Update to 1.17.0 (close RHBZ#2334894) * Mon Dec 23 2024 Benjamin A. Beasley - 1.16.2-1 - Update to 1.16.2 (close RHBZ#2333475) * Mon Dec 23 2024 Benjamin A. Beasley - 1.16.1-3 - Package README.md as documentation * Thu Dec 05 2024 Miro Hrončok - 1.16.1-2 - Remove a superfluous test dependency on diff-cover * Thu Dec 05 2024 Miro Hrončok - 1.16.1-1 - Update to 1.16.1 - Fixes: rhbz#2322800 * Fri Oct 25 2024 Miro Hrončok - 1.15.0-2 - Description: Mention a way to disable tox-uv * Fri Oct 11 2024 Benjamin A. Beasley - 1.15.0-1 - Update to 1.15.0 (close RHBZ#2318120) * Fri Oct 11 2024 Benjamin A. Beasley - 1.13.0-1 - Update to 1.13.0 (close RHBZ#2318005) * Wed Oct 09 2024 Miro Hrončok - 1.11.4-1 - Initial import - Fixes: rhbz#2317589 ## END: Generated by rpmautospec