public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cattrs] f44: Fix test skips for bconds
@ 2026-07-11 15:44 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-11 15:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-cattrs
Branch : f44
Commit : f9e1dc7362ec18c1b8f61ea77b9bb541517d2c8f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-11T06:26:39+01:00
Stats  : +13/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cattrs/c/f9e1dc7362ec18c1b8f61ea77b9bb541517d2c8f?branch=f44

Log:
Fix test skips for bconds

---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index 3b5a459..17b8d50 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -133,9 +133,9 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{srcversion}'
 
 
 %check
-%if %{without bson} || %{without cbor2}
-# These unconditionally import bson and cbor2, so they error during test
-# collection
+%if %{without bson} || %{without cbor2} || %{without msgpack}
+# These unconditionally import bson, cbor2, and msgpack, so they error during
+# test collection
 ignore="${ignore-} --ignore=tests/test_preconf.py"
 ignore="${ignore-} --ignore=tests/preconf/test_pyyaml.py"
 %endif
@@ -151,6 +151,16 @@ k="${k-}${k+ and }not test_msgspec_native_enums"
 ignore="${ignore-} --ignore=tests/preconf/test_msgspec_cpython.py"
 %endif
 
+%if %{without orjson}
+k="${k-}${k+ and }not test_literal_dicts_orjson"
+k="${k-}${k+ and }not test_orjson"
+k="${k-}${k+ and }not test_orjson_converter"
+k="${k-}${k+ and }not test_orjson_converter_unstruct_collection_overrides"
+k="${k-}${k+ and }not test_orjson_efficient_enum"
+k="${k-}${k+ and }not test_orjson_native_enums"
+k="${k-}${k+ and }not test_orjson_unions"
+%endif
+
 %pytest --ignore-glob='bench/*' ${ignore-} -k "${k-}" -n auto
 
 

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

only message in thread, other threads:[~2026-07-11 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 15:44 [rpms/python-cattrs] f44: Fix test skips for bconds 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