public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-libcst] epel10: Drop the hypothesmith test dependency (omit fuzz tests)
@ 2026-07-09  5:42 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-09  5:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-libcst
            Branch : epel10
            Commit : 8b4f8288d4b9619cc6e7fc9136b7e54a80ef03cd
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-07T10:58:20+01:00
            Stats  : +3/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-libcst/c/8b4f8288d4b9619cc6e7fc9136b7e54a80ef03cd?branch=epel10

            Log:
            Drop the hypothesmith test dependency (omit fuzz tests)

- Also drop hypothesis since it is also only used for fuzz tests

---
diff --git a/python-libcst.spec b/python-libcst.spec
index cb49592..3840ad0 100644
--- a/python-libcst.spec
+++ b/python-libcst.spec
@@ -26,8 +26,6 @@ BuildRequires:  python3-devel
 %if %{with tests}
 # test dependencies are intermingled with dev dependencies
 # so list them manually for now
-BuildRequires:  python3dist(hypothesis)
-BuildRequires:  python3dist(hypothesmith)
 BuildRequires:  python3dist(pytest)
 %endif
 
@@ -107,6 +105,9 @@ cd ..
 %check
 %pyproject_check_import -e 'libcst.tests.*'
 %if %{with tests}
+# Omit fuzz tests. These don’t make much sense downstream, and would require
+# hypothesmith, which hasn’t been successfully rebuilt for Python 3.15.
+ignore="${ignore-} --ignore=libcst/tests/test_fuzz.py"
 %if %{without all_tests}
 ignore="${ignore-} --ignore=libcst/codegen/tests/test_codegen_clean.py"
 ignore="${ignore-} --ignore=libcst/metadata/tests/test_type_inference_provider.py"

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

only message in thread, other threads:[~2026-07-09  5:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09  5:42 [rpms/python-libcst] epel10: Drop the hypothesmith test dependency (omit fuzz tests) 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