public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ufoLib2] rawhide: Remove cattrs bcond; F40 is end-of-life
@ 2026-07-16 12:39 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-16 12:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-ufoLib2
Branch : rawhide
Commit : 0f4c5fd5acc924f71a00fdfad687d7be0a71fb5c
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-11T05:52:39+01:00
Stats  : +3/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-ufoLib2/c/0f4c5fd5acc924f71a00fdfad687d7be0a71fb5c?branch=rawhide

Log:
Remove cattrs bcond; F40 is end-of-life

---
diff --git a/python-ufoLib2.spec b/python-ufoLib2.spec
index f8cdd49..742a43a 100644
--- a/python-ufoLib2.spec
+++ b/python-ufoLib2.spec
@@ -1,6 +1,3 @@
-# python-cattrs is too old in Fedora 40:
-%bcond cattrs %{undefined fc40}
-
 Name:           python-ufoLib2
 Version:        0.18.1
 Release:        7%{?dist}
@@ -29,13 +26,13 @@ Summary:        %{summary}
 
 %description -n python3-ufoLib2 %_description
 
-%pyproject_extras_subpkg -n python3-ufoLib2 lxml%{?with_cattrs: converters json msgpack}
+%pyproject_extras_subpkg -n python3-ufoLib2 lxml converters json msgpack
 
 %prep
 %autosetup -n ufolib2-%{version}
 
 %generate_buildrequires
-%pyproject_buildrequires -x lxml%{?with_cattrs:,converters,json,msgpack}
+%pyproject_buildrequires -x lxml,converters,json,msgpack
 
 %build
 %pyproject_wheel
@@ -45,7 +42,7 @@ Summary:        %{summary}
 %pyproject_save_files -l ufoLib2
 
 %check
-%pyproject_check_import %{?!with_cattrs:-e ufoLib2.converters -e ufoLib2.serde.json -e ufoLib2.serde.msgpack}
+%pyproject_check_import
 %pytest -v
 
 %files -n python3-ufoLib2 -f %{pyproject_files}

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

only message in thread, other threads:[~2026-07-16 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 12:39 [rpms/python-ufoLib2] rawhide: Remove cattrs bcond; F40 is end-of-life Benjamin A. Beasley

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