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

            A new commit has been pushed.

            Repo   : rpms/python-cheroot
            Branch : f43
            Commit : 3ae41ad917ca02fc7008b3b6b7eccec92e8db1a3
            Author : Dan Radez <dan@radez.net>
            Date   : 2026-07-06T11:01:50-04:00
            Stats  : +11/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-cheroot/c/3ae41ad917ca02fc7008b3b6b7eccec92e8db1a3?branch=f43

            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/python-cheroot.spec b/python-cheroot.spec
index 28041e8..dbcc526 100644
--- a/python-cheroot.spec
+++ b/python-cheroot.spec
@@ -5,7 +5,7 @@
 
 Name:           python-%{pypi_name}
 Version:        10.0.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Highly-optimized, pure-python HTTP server
 
 # Automatically converted from old format: BSD - review is highly recommended.
@@ -99,7 +99,11 @@ rm -rf html/.{doctrees,buildinfo}
 %py3_install
 
 %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}
 %license LICENSE.md
@@ -115,6 +119,11 @@ LANG=C.utf-8 %{__python3} -m pytest --ignore=build -W ignore::DeprecationWarning
 %endif
 
 %changelog
+* Mon Jul 06 2026 Dan Radez <dradez@redhat.com> - 10.0.1-10
+- 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'.
+
 * Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 10.0.1-9
 - Rebuilt for Python 3.14.0rc3 bytecode
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 15:02 [rpms/python-cheroot] f43: 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