Compare commits

..

10 commits

Author SHA1 Message Date
Benjamin A. Beasley
a98371a946 Update to 2.11.0 (close RHBZ#2383690) 2026-01-07 10:58:32 +00:00
Benjamin A. Beasley
e713b9edb6 No longer run tests in parallel
This seems to reduce flakiness.
2026-01-07 10:58:21 +00:00
Benjamin A. Beasley
75cb9b4566 Drop EPEL10-specific conditionals since the branch is diverged 2026-01-07 10:58:15 +00:00
Benjamin A. Beasley
5457d355ef Bump release to avoid downgrading the EPEL10.0 package 2025-05-05 07:17:15 -04:00
Benjamin A. Beasley
fc6bb0f363 Report and skip test that fails with miniz_oxide>0.8.5 2025-05-04 21:53:08 -04:00
Benjamin A. Beasley
c2007492dd Update to 2.10.0 (close RHBZ#2359237) 2025-04-12 21:23:24 -04:00
Benjamin A. Beasley
ef3528a4e0 Remove workarounds for older versions of tomcli 2025-04-12 21:21:59 -04:00
Benjamin A. Beasley
a5b480a2e2 Expect maturin to handle license files 2025-04-12 21:21:54 -04:00
Benjamin A. Beasley
e4599f45cf Update PyO3 to 0.24 2025-04-12 21:21:52 -04:00
Benjamin A. Beasley
ec02bc7895 Don’t need to manually export RUSTFLAGS
[skip changelog]
2025-04-12 21:20:16 -04:00

View file

@ -33,9 +33,7 @@ Source1: get_source
%endif
BuildSystem: pyproject
BuildOption(install): -l cramjam
BuildRequires: python3-devel
BuildRequires: tomcli >= 0.8.0
BuildRequires: cargo-rpm-macros >= 24
@ -74,7 +72,9 @@ License: %{shrink:
%description -n python3-cramjam %{common_description}
%prep -a
%prep
%autosetup -n cramjam-%{srcversion}
# Downstream-only: patch out the generate-import-lib feature, which is only
# relevant on Windows, and which depends on the corresponding pyo3 feature
# which is not packaged for that reason.
@ -119,27 +119,25 @@ done
%cargo_prep
%generate_buildrequires -a
%generate_buildrequires
%pyproject_buildrequires
%cargo_generate_buildrequires
%build -p
%build
%cargo_license_summary
%{cargo_license} > LICENSES.dependencies
%pyproject_wheel
%check -a
%install
%pyproject_install
%pyproject_save_files -l cramjam
%check
%pyproject_check_import
%if %{with tests}
# Test failures in test_variants_decompress_into with recent hypothesis
# versions: https://github.com/milesgranger/cramjam/issues/201
#
# It is hard to be really sure what is going on here. The failures are
# concerning, and might (or might not) reflect a serious problem. Nevertheless,
# since the problem appears to be linked to newer hypothesis versions, theres
# not reason to believe that the package has *new* problems. It *might* have
# newly *revealed* problems. This merits further investigation.
k="${k-}${k+ and }not test_variants_decompress_into"
# Regression with miniz_oxide>0.8.5
# https://github.com/milesgranger/cramjam/issues/211
# Failed: DID NOT RAISE <class 'cramjam.DecompressionError'>