public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cheroot] f44: Skip test_https_over_http_error (upstream cherrypy/cheroot#645):
@ 2026-07-06 12:21 Dan Radez
  0 siblings, 0 replies; only message in thread
From: Dan Radez @ 2026-07-06 12:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-cheroot
            Branch : f44
            Commit : 1361a445f27cf8ce56c65dec3fbd8ccff8fd8a4b
            Author : Dan Radez <dan@radez.net>
            Date   : 2026-04-27T20:45:20-04:00
            Stats  : +10/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-cheroot/c/1361a445f27cf8ce56c65dec3fbd8ccff8fd8a4b?branch=f44

            Log:
            Skip test_https_over_http_error (upstream cherrypy/cheroot#645):

Python ssl reports 'wrong version number' where the test expects the
OpenSSL >=3.1 string 'record layer failure'.

---
diff --git a/changelog b/changelog
index a6b2bc2..d2d9ea6 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,8 @@
+* Mon Apr 27 2026 Dan Radez <dradez@redhat.com> - 11.1.1-4
+- Skip test_https_over_http_error (upstream cherrypy/cheroot#645):
+  Python ssl reports 'wrong version number' where the test expects the
+  OpenSSL >=3.1 string 'record layer failure'.
+
 * Mon Oct 20 2025 Dan Radez <dradez@redhat.com> - 11.0.0-1
 - Update to 11.0.0 (rhbz#274153)
 

diff --git a/python-cheroot.spec b/python-cheroot.spec
index 5d130fb..14d778c 100644
--- a/python-cheroot.spec
+++ b/python-cheroot.spec
@@ -112,7 +112,11 @@ rm -rf html/.{doctrees,buildinfo}
 rm -rf %{buildroot}%{python3_sitelib}/docs/
 
 %check
-LANG=C.utf-8 %{__python3} -m pytest --ignore=build -W ignore::DeprecationWarning -p no:unraisableexception
+# test_https_over_http_error expects an OpenSSL >=3.1 error string ('record
+# layer failure'), but Python's ssl module reports the mnemonic 'wrong version
+# number' instead. Upstream: https://github.com/cherrypy/cheroot/issues/645
+LANG=C.utf-8 %{__python3} -m pytest --ignore=build -W ignore::DeprecationWarning -p no:unraisableexception \
+    --deselect cheroot/test/test_ssl.py::test_https_over_http_error
 
 %files -n python3-%{pypi_name} -f %{pyproject_files}
 %license LICENSE.md

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 12:21 [rpms/python-cheroot] f44: Skip test_https_over_http_error (upstream cherrypy/cheroot#645): Dan Radez

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