guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

50/53: gnu: python-mysql-connector-python: Defuse time bomb.


From: guix-commits
Subject: 50/53: gnu: python-mysql-connector-python: Defuse time bomb.
Date: Thu, 11 Jan 2024 09:43:04 -0500 (EST)

rekado pushed a commit to branch wip-python-science
in repository guix.

commit da95e83cb27a6426f331b76fadc1a320cc5e1579
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 11 15:01:36 2024 +0100

    gnu: python-mysql-connector-python: Defuse time bomb.
    
    Additional tests fail due to expired certificates.  Disable them.
    
    * gnu/packages/python-xyz.scm (python-mysql-connector-python)[arguments]:
    Disable six additional tests.
    
    Change-Id: I99b5f15736af89c0281ab7aca56c1bd3958d1a46
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8fb0eec243..b69b584095 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1168,10 +1168,26 @@ variables into the markdown template")
                 (substitute* "tests/test_bugs.py"
                   (("def test_change_user") "def _do_not_test_change_user")
                   (("def test_lost_connection") "def 
_do_not_test_lost_connection")
-                  (("def test_kill_query") "def _do_not_test_kill_query"))
+                  (("def test_kill_query") "def _do_not_test_kill_query")
+                  ;; These all fail because of expired certificates.
+                  (("def test_cext_verify_server_certificate")
+                   "def _do_not_test_cext_verify_server_certificate")
+                  (("def test_pure_verify_server_certificate")
+                   "def _do_not_test_pure_verify_server_certificate")
+                  (("def test_verify_server_name_cext_cnx")
+                   "def _do_not_test_verify_server_name_cext_cnx")
+                  (("def test_verify_server_name_pure_cnx")
+                   "def _do_not_test_verify_server_name_pure_cnx"))
                 (substitute* "tests/test_connection.py"
                   (("def test_allow_local_infile_in_path")
-                   "def _do_not_test_allow_local_infile_in_path"))
+                   "def _do_not_test_allow_local_infile_in_path")
+                  ;; This fails because of expired certificates.
+                  (("def test_connect_with_unix_socket")
+                   "def _do_not_test_connect_with_unix_socket"))
+                (substitute* "tests/test_mysqlx_connection.py"
+                  ;; This fails because of expired certificates.
+                  (("def test_ssl_connection")
+                   "def _do_not_test_ssl_connection"))
                 (substitute* "tests/test_constants.py"
                   (("def test_deprecated")
                    "def _do_not_test_deprecated"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]