The package rpms/python-formulaic.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-formulaic.git/commit/?id=a2d0....
Change: +%ifarch %{ix86}
Thanks.
Full change: ============
commit a2d03f92d6c540cfd163ae2cc611aba352d4c28e Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Apr 28 12:12:07 2023 -0400
Drop “arrow” extra metapackage on i686
We cannot drop i686 in a stable release, even though this package has no dependencies in the distribution on that architecture.
diff --git a/python-formulaic.spec b/python-formulaic.spec index 9954c97..a2899ec 100644 --- a/python-formulaic.spec +++ b/python-formulaic.spec @@ -36,7 +36,10 @@ Patch: 0001-fix-correct-pytest-usage.patch # https://github.com/matthewwardrop/formulaic/commit/8eb58e85f9f9b4e0dacf8b647... Patch: %{url}/commit/8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf.patch
-BuildArch: noarch +# The base package is arched so that the “arrow” extra can be built only on the +# appropriate architectures. There is no compiled code, so there are no debug +# symbols. +%global debug_package %{nil}
%description %_description
@@ -47,16 +50,28 @@ BuildRequires: python3-pytest BuildRequires: python3-sympy BuildRequires: git-core
+BuildArch: noarch + %description -n python3-formulaic %_description
+%ifarch %{ix86} +# The dependency libarrow is ExcludeArch on 32-bit platforms +%pyproject_extras_subpkg -n python3-formulaic calculus +%else %pyproject_extras_subpkg -n python3-formulaic arrow calculus +%endif
%prep %autosetup -n formulaic-%{version} -S git
%generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%ifarch %{ix86} +# The dependency libarrow is ExcludeArch on 32-bit platforms +%pyproject_buildrequires -x calculus +%else %pyproject_buildrequires -x arrow,calculus +%endif
%build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
commit 71fd8d2d1b0cc89bfec7f7ae8fddb3eb6d86bd24 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Apr 28 08:19:14 2023 -0400
Confirm License is SPDX MIT
diff --git a/python-formulaic.spec b/python-formulaic.spec index f36f406..9954c97 100644 --- a/python-formulaic.spec +++ b/python-formulaic.spec @@ -23,6 +23,7 @@ Version: 0.5.2 Release: %{autorelease} Summary: A high-performance implementation of Wilkinson formulas
+# SPDX License: MIT URL: https://github.com/matthewwardrop/formulaic Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
commit 8b669d251610568daa4b37a3185be8a81342d0c4 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Apr 28 08:18:18 2023 -0400
Add missing “arrow” and “calculus” extras metapackages
diff --git a/8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf.patch b/8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf.patch new file mode 100644 index 0000000..3e8eab6 --- /dev/null +++ b/8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf.patch @@ -0,0 +1,23 @@ +From 8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf Mon Sep 17 00:00:00 2001 +From: Matthew Wardrop mpwardrop@gmail.com +Date: Mon, 27 Mar 2023 15:48:06 -0700 +Subject: [PATCH] Remove pin on `sympy` given that 1.10.1 fixes the regression + that broke formulaic. + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 464417e..1797da7 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -45,7 +45,7 @@ documentation = "https://matthewwardrop.github.io/formulaic" + + [project.optional-dependencies] + arrow = ["pyarrow>=1"] +-calculus = ["sympy<1.10,>=1.3"] ++calculus = ["sympy>=1.3,!=1.10"] + + [tool.hatch.version] + source = "vcs" diff --git a/python-formulaic.spec b/python-formulaic.spec index d17e136..f36f406 100644 --- a/python-formulaic.spec +++ b/python-formulaic.spec @@ -28,7 +28,12 @@ URL: https://github.com/matthewwardrop/formulaic Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # Backports https://github.com/matthewwardrop/formulaic/commit/e5dedcb0feed39f5ff6e2326d... to v0.5.2 # fork lives at https://github.com/sanjayankur31/formulaic/tree/fedora-0.5.2 -Patch0: 0001-fix-correct-pytest-usage.patch +Patch: 0001-fix-correct-pytest-usage.patch + +# Remove pin on sympy given that 1.10.1 fixes the regression that broke +# formulaic. +# https://github.com/matthewwardrop/formulaic/commit/8eb58e85f9f9b4e0dacf8b647... +Patch: %{url}/commit/8eb58e85f9f9b4e0dacf8b6478b6a1fb01074daf.patch
BuildArch: noarch
@@ -43,12 +48,14 @@ BuildRequires: git-core
%description -n python3-formulaic %_description
+%pyproject_extras_subpkg -n python3-formulaic arrow calculus + %prep %autosetup -n formulaic-%{version} -S git
%generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} -%pyproject_buildrequires +%pyproject_buildrequires -x arrow,calculus
%build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
arch-excludes@lists.fedoraproject.org