Compare commits

..

18 commits

Author SHA1 Message Date
Python Maint
ed709046ea Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:04:31 +02:00
Python Maint
9233dbc996 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:32:02 +02:00
Benjamin A. Beasley
2344e1fb46 Update to 2.11.0 (close RHBZ#2383690) 2025-07-27 22:16:45 -04:00
Fedora Release Engineering
05fe45941e Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 07:23:46 +00:00
Benjamin A. Beasley
a9dc08b12b No longer run tests in parallel
This seems to reduce flakiness.
2025-06-21 07:20:49 -04:00
Python Maint
c9aa2899b6 Rebuilt for Python 3.14 2025-06-03 15:51:32 +02:00
Benjamin A. Beasley
a6f9420ae8 Update to 2.11.0rc3 (close RHBZ#2369614) 2025-06-01 06:58:00 -04:00
Benjamin A. Beasley
cf3a917ff3 Updated Python 3.14 patch 2025-06-01 06:58:00 -04:00
Benjamin A. Beasley
96ae7df798 Patch for Python 3.14 (close RHBZ#2367779) 2025-05-23 07:16:32 -04:00
Benjamin A. Beasley
08f281c034 Update to 2.11.0~rc2 (close RHBZ#2361989) 2025-05-05 10:34:33 -04:00
Benjamin A. Beasley
7e7726133c Report and skip test that fails with miniz_oxide>0.8.5 2025-05-03 23:04:59 -04:00
Benjamin A. Beasley
87d59a3af7 Adjust .rpmlintrc file for updated rpmlint 2025-04-24 16:22:53 -04:00
Benjamin A. Beasley
8318941aeb Update to 2.10.0 (close RHBZ#2359237) 2025-04-12 21:19:18 -04:00
Benjamin A. Beasley
40f3d5aecb Use the provisional pyproject declarative buildsystem
- Drop EPEL10 conditionals
2025-04-08 10:02:54 -04:00
Benjamin A. Beasley
c57085d2d0 Remove workarounds for older versions of tomcli 2025-04-08 09:57:49 -04:00
Benjamin A. Beasley
26737d07f0 Expect maturin to handle license files 2025-04-08 09:49:17 -04:00
Benjamin A. Beasley
dd26b0fa97 Update PyO3 to 0.24 2025-04-08 09:45:36 -04:00
Benjamin A. Beasley
29da16297c Don’t need to manually export RUSTFLAGS
[skip changelog]
2025-03-12 09:36:45 -04:00

View file

@ -33,7 +33,9 @@ Source1: get_source
%endif
BuildRequires: python3-devel
BuildSystem: pyproject
BuildOption(install): -l cramjam
BuildRequires: tomcli >= 0.8.0
BuildRequires: cargo-rpm-macros >= 24
@ -72,9 +74,7 @@ License: %{shrink:
%description -n python3-cramjam %{common_description}
%prep
%autosetup -n cramjam-%{srcversion}
%prep -a
# 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,25 +119,27 @@ done
%cargo_prep
%generate_buildrequires
%pyproject_buildrequires
%generate_buildrequires -a
%cargo_generate_buildrequires
%build
%build -p
%cargo_license_summary
%{cargo_license} > LICENSES.dependencies
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l cramjam
%check
%pyproject_check_import
%check -a
%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'>