Compare commits

..

25 commits

Author SHA1 Message Date
Benjamin A. Beasley
247904f9a8 Don’t explicitly lower-bound cargo-rpm-macros version
[skip changelog]
2026-08-24 07:33:31 +01:00
Benjamin A. Beasley
ca46850e72 Update to 0.12.3 (close RHBZ#2512634) 2026-08-08 05:55:28 +01:00
Benjamin A. Beasley
cb3df8bce7 Update to 0.12.2 (close RHBZ#2511719) 2026-08-06 07:22:38 +01:00
Benjamin A. Beasley
3e1297d847 Skip another test that flakes due to racy env-vars 2026-08-05 08:41:07 +01:00
Benjamin A. Beasley
cb8c375907 Ship the license file for the vendored rust-netrc 2026-08-05 07:00:49 +01:00
Benjamin A. Beasley
049d34581d More spec-file comment improvements 2026-08-05 06:57:56 +01:00
Benjamin A. Beasley
62bd08e26e Document bundling of rust-netrc crate 2026-08-04 23:28:34 +01:00
Benjamin A. Beasley
7f903f9dce Update to 0.12.1 (close RHBZ#2509887) 2026-08-02 11:59:42 +01:00
Benjamin A. Beasley
3cbb6c04d8 Update to 0.12.0 2026-07-31 17:13:16 +01:00
Benjamin A. Beasley
3683e38d1d Update to 0.11.33 2026-07-31 07:27:17 +01:00
Benjamin A. Beasley
e0e68f5798 Skip a test that fails in emulated chroots 2026-07-27 06:57:16 +01:00
Benjamin A. Beasley
4bd686691f Update to 0.11.32 (close RHBZ#2506667) 2026-07-24 08:14:59 +01:00
Benjamin A. Beasley
97c5cc15ee Skip some tests related to managed interpreters on riscv64 2026-07-24 08:14:59 +01:00
Benjamin A. Beasley
958b78c797 Use the provisional pyproject declarative buildsystem 2026-07-22 07:24:40 +01:00
Benjamin A. Beasley
1e53b4b648 Assert that the .dist-info directory contains license files 2026-07-22 07:22:14 +01:00
Benjamin A. Beasley
6e7b6c01ad Use pyproject long options 2026-07-22 07:19:47 +01:00
Benjamin A. Beasley
6110b4aebe Adjust the other_python_versions bcond to default off on all EPELs
[skip changelog]
2026-07-22 07:17:53 +01:00
Benjamin A. Beasley
b1708e040e Update to 0.11.31 (close RHBZ#2501168) 2026-07-22 06:34:31 +01:00
Benjamin A. Beasley
9df354a593 Avoid OOM on builders with relatively little total memory 2026-07-18 08:16:51 +01:00
Benjamin A. Beasley
f3fac865ad Trivial whitespace reformatting
[skip changelog]
2026-07-18 08:07:42 +01:00
Fedora Release Engineering
d0b910216e Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:19:10 +00:00
Benjamin A. Beasley
fca0e798ad Update to 0.11.28 (close RHBZ#2497922) 2026-07-08 09:54:45 +01:00
Benjamin A. Beasley
e0cb68f3e2 Update to 0.11.27 (close RHBZ#2497560) 2026-07-07 07:20:36 +01:00
Benjamin A. Beasley
c05ebc571f Simplify .gitignore
[skip changelog]
2026-07-02 14:38:42 +01:00
Benjamin A. Beasley
7e46b8e3f9 Update to 0.11.26 (close RHBZ#2495097) 2026-07-02 06:06:20 +01:00

25
uv.spec
View file

@ -159,6 +159,9 @@ 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}
@ -189,7 +192,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 >= 24
BuildRequires: cargo-rpm-macros
BuildRequires: rust2rpm-helper
BuildRequires: tomcli
%if %{with check} && %{with other_python_versions}
@ -370,9 +373,7 @@ Requires: uv = %{version}-%{release}
This package provides an importable Python module for uv.
%prep
%autosetup -p1
%prep -a
# Collect license files of vendored dependencies
install -D --preserve-timestamps --mode=0644 \
--target=LICENSE.bundled/packaging \
@ -550,7 +551,7 @@ tomcli set Cargo.toml str workspace.dependencies.blake2.version 0.10.6
%cargo_prep
%generate_buildrequires
%generate_buildrequires -p
# For unclear reasons, maturin checks for all crate dependencies when it is
# invoked as part of %%pyproject_buildrequires including those corresponding
# to optional features.
@ -562,20 +563,14 @@ 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
%pyproject_wheel
%build -a
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
%pyproject_install
%pyproject_save_files -l uv
%install -a
if [ '%{python3_sitearch}' != '%{python3_sitelib}' ]
then
# Maturin is really designed to build compiled Python extensions, but (when
@ -606,7 +601,7 @@ install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_sysconfdir}/uv' '%{SOURCE1}'
%check
%check -a
%if %{with check}
# These tests rely on debug assertions, and fail when tests are compiled in
# release mode:
@ -728,8 +723,6 @@ 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/