Compare commits

..

22 commits

Author SHA1 Message Date
Benjamin A. Beasley
6d5b6df28e Update to 0.12.3 (close RHBZ#2512634) 2026-08-16 08:47:17 +01:00
Benjamin A. Beasley
6fa06b6a2b Update to 0.12.2 (close RHBZ#2511719) 2026-08-16 08:47:14 +01:00
Benjamin A. Beasley
d81d924b8e Skip another test that flakes due to racy env-vars 2026-08-05 10:44:49 +01:00
Benjamin A. Beasley
3390ffc93b Ship the license file for the vendored rust-netrc 2026-08-05 10:44:45 +01:00
Benjamin A. Beasley
ee01661ac5 More spec-file comment improvements 2026-08-05 10:44:04 +01:00
Benjamin A. Beasley
20d07c3400 Document bundling of rust-netrc crate 2026-08-05 10:44:04 +01:00
Benjamin A. Beasley
456632b9fe Update to 0.12.1 (close RHBZ#2509887) 2026-08-05 10:44:02 +01:00
Benjamin A. Beasley
1727780afd Update to 0.12.0 2026-08-05 10:43:59 +01:00
Benjamin A. Beasley
535c235020 Update to 0.11.33 2026-08-05 10:43:56 +01:00
Benjamin A. Beasley
e04993a93c Skip a test that fails in emulated chroots 2026-07-28 07:11:17 +01:00
Benjamin A. Beasley
369aa45b0b Update to 0.11.32 (close RHBZ#2506667) 2026-07-24 08:20:35 +01:00
Benjamin A. Beasley
4c941abc60 Skip some tests related to managed interpreters on riscv64 2026-07-24 08:20:34 +01:00
Benjamin A. Beasley
8896e99313 Assert that the .dist-info directory contains license files 2026-07-22 09:01:36 +01:00
Benjamin A. Beasley
6185988208 Adjust the other_python_versions bcond to default off on all EPELs
[skip changelog]
2026-07-22 08:29:21 +01:00
Benjamin A. Beasley
90745185da Update to 0.11.31 (close RHBZ#2501168) 2026-07-22 07:14:55 +01:00
Benjamin A. Beasley
8b86f3ea0d Avoid OOM on builders with relatively little total memory 2026-07-22 07:14:52 +01:00
Benjamin A. Beasley
fb4d6e09d1 Trivial whitespace reformatting
[skip changelog]
2026-07-22 07:14:50 +01:00
Benjamin A. Beasley
703cfa73ac Update to 0.11.28 (close RHBZ#2497922) 2026-07-10 10:02:17 +01:00
Benjamin A. Beasley
8833957069 Update to 0.11.27 (close RHBZ#2497560) 2026-07-10 10:02:16 +01:00
Benjamin A. Beasley
5b333d4a4e Simplify .gitignore
[skip changelog]
2026-07-10 10:02:15 +01:00
Benjamin A. Beasley
0e140d9392 Update to 0.11.26 (close RHBZ#2495097) 2026-07-02 06:07:50 +01:00
Benjamin A. Beasley
b0a54b3e91 Update to 0.11.26 (close RHBZ#2495097) 2026-07-01 14:19:32 +01:00

25
uv.spec
View file

@ -159,9 +159,6 @@ Patch: uv-0.12.1-revert-blake2-beta.patch
# https://github.com/astral-sh/uv/pull/20174
Patch: %{url}/pull/20174.patch
BuildSystem: pyproject
BuildOption(install): --assert-license uv
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@ -192,7 +189,7 @@ ExcludeArch: %{ix86}
# “too many open files.” Try to keep the files/core ratio from getting too low.
%global _smp_ncpus_max 48
BuildRequires: cargo-rpm-macros
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust2rpm-helper
BuildRequires: tomcli
%if %{with check} && %{with other_python_versions}
@ -373,7 +370,9 @@ Requires: uv = %{version}-%{release}
This package provides an importable Python module for uv.
%prep -a
%prep
%autosetup -p1
# Collect license files of vendored dependencies
install -D --preserve-timestamps --mode=0644 \
--target=LICENSE.bundled/packaging \
@ -551,7 +550,7 @@ tomcli set Cargo.toml str workspace.dependencies.blake2.version 0.10.6
%cargo_prep
%generate_buildrequires -p
%generate_buildrequires
# For unclear reasons, maturin checks for all crate dependencies when it is
# invoked as part of %%pyproject_buildrequires including those corresponding
# to optional features.
@ -563,14 +562,20 @@ tomcli set Cargo.toml str workspace.dependencies.blake2.version 0.10.6
# Since maturin always checks for dev-dependencies, we need -t so that they are
# generated even when the “check” bcond is disabled.
%cargo_generate_buildrequires -a -t
%pyproject_buildrequires
%build -a
%build
%pyproject_wheel
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install -a
%install
%pyproject_install
%pyproject_save_files -l uv
if [ '%{python3_sitearch}' != '%{python3_sitelib}' ]
then
# Maturin is really designed to build compiled Python extensions, but (when
@ -601,7 +606,7 @@ install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_sysconfdir}/uv' '%{SOURCE1}'
%check -a
%check
%if %{with check}
# These tests rely on debug assertions, and fail when tests are compiled in
# release mode:
@ -723,6 +728,8 @@ skip="${skip-} --skip retry::tests::retried_status_codes"
%cargo_test -- -- --exact ${skip-}
%endif
%pyproject_check_import
%files
%license LICENSE-APACHE LICENSE-MIT LICENSE.dependencies LICENSE.bundled/