public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-itemadapter] rawhide: Break the dependency loop on self via scrapy and itemloaders
@ 2026-11-18 20:11 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-11-18 20:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-itemadapter
Branch : rawhide
Commit : bf6109c800b3f55e07cd6b190ffe1d35feb70963
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-11-16T10:42:30+00:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-itemadapter/c/bf6109c800b3f55e07cd6b190ffe1d35feb70963?branch=rawhide

Log:
Break the dependency loop on self via scrapy and itemloaders

---
diff --git a/python-itemadapter.spec b/python-itemadapter.spec
index f37d076..02ec1fb 100644
--- a/python-itemadapter.spec
+++ b/python-itemadapter.spec
@@ -4,6 +4,10 @@ The ItemAdapter class is a wrapper for data container objects,
 providing a common interface to handle objects of different
 types in an uniform manner, regardless of their underlying implementation.}
 
+# break the loop: scrapy pulls in itemloaders which requires itemadapter
+%bcond bootstrap 0
+%bcond scrapy %{without bootstrap}
+
 Name:		python-itemadapter
 Version:	0.14.0
 Release:	%autorelease
@@ -33,7 +37,7 @@ BuildRequires:	python3-devel
 %autosetup -p1 -n %{pkg_name}-%{version}
 
 %generate_buildrequires
-%pyproject_buildrequires -t -x attrs,pydantic,scrapy
+%pyproject_buildrequires -t -x attrs,pydantic%{?with_scrapy:,scrapy}
 
 %build
 %pyproject_wheel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 20:11 [rpms/python-itemadapter] rawhide: Break the dependency loop on self via scrapy and itemloaders Karolina Surma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox