public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-hypothesis] rawhide: Disable tests failing with Python 3.15
Date: Mon, 23 Nov 2026 13:01:09 GMT [thread overview]
Message-ID: <179543886913.1.13518988708054770482.rpms-python-hypothesis-a6d52a110bde@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-hypothesis
Branch : rawhide
Commit : a6d52a110bde6f5fe1331358c6fef5bf45767e39
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-20T14:43:16+01:00
Stats : +8/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-hypothesis/c/a6d52a110bde6f5fe1331358c6fef5bf45767e39?branch=rawhide
Log:
Disable tests failing with Python 3.15
- Fixes: rhbz#2458686
The most recent successful build we have doesn't run tests anyway,
so this is not that bad.
Hopefully we can get rid of this the next time we rebase.
Assisted-By: Claude Sonnet 5.5
---
diff --git a/python-hypothesis.spec b/python-hypothesis.spec
index 482b319..4f8e153 100644
--- a/python-hypothesis.spec
+++ b/python-hypothesis.spec
@@ -127,7 +127,15 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/_build/man/hypothesis.1
# test_registered_from_entrypoint requires an editable installation of an example package
# `example_hypothesis_entrypoint`. We don't do that in the RPM build, hence skipping.
k="not test_registered_from_entrypoint"
+# These fail with Python 3.15:
+k="$k and not magic_base64_roundtrip and not test_repr_evals_to_thing_with_same_repr"
+k="$k and not (test_resolves_builtin_types and sentinel)"
+k="$k and not (test_resolves_forwardrefs_to_builtin_types and sentinel)"
+k="$k and not test_consistent_with_api_guide_on_kwonly_args"
+# With Python 3.15, tests raise new DeprecationWarnings (e.g. "Module globals is
+# missing a __spec__.loader") which are turned to errors and crash the xdist workers.
%pytest -v -n auto -k "$k" \
+ -W "ignore::DeprecationWarning" \
%if %{without ghostwriter}
--ignore tests/ghostwriter \
%endif
reply other threads:[~2026-11-23 13:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179543886913.1.13518988708054770482.rpms-python-hypothesis-a6d52a110bde@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox