public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dan Radez <dan@radez.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cheroot] f44: Skip test_https_over_http_error (upstream cherrypy/cheroot#645):
Date: Mon, 06 Jul 2026 12:21:24 GMT	[thread overview]
Message-ID: <178334048464.1.1587160292474125504.rpms-python-cheroot-1361a445f27c@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-06 12:21 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=178334048464.1.1587160292474125504.rpms-python-cheroot-1361a445f27c@fedoraproject.org \
    --to=dan@radez.net \
    --cc=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