Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cassandra-driver for 
openSUSE:Factory checked in at 2024-04-16 20:04:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cassandra-driver (Old)
 and      /work/SRC/openSUSE:Factory/.python-cassandra-driver.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cassandra-driver"

Tue Apr 16 20:04:03 2024 rev:25 rq:1167875 version:3.29.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-cassandra-driver/python-cassandra-driver.changes
  2024-02-09 23:52:39.615699763 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cassandra-driver.new.26366/python-cassandra-driver.changes
       2024-04-16 20:07:11.779843218 +0200
@@ -1,0 +2,17 @@
+Mon Apr 15 09:17:49 UTC 2024 - pgaj...@suse.com
+
+- added patches
+  if CASS_DRIVER_NO_EXTENSIONS=1, import throws DependencyException
+  + python-cassandra-driver-test_libevreactor-DependencyException.patch
+
+-------------------------------------------------------------------
+Wed Apr 10 14:32:27 UTC 2024 - Markéta Machová <mmach...@suse.com>
+
+- Update to 3.29.1
+  * Add support for Python 3.9 through 3.12, drop support for 3.7
+  * Removal of dependency on six module
+  * Raise explicit exception when deserializing a vector with a 
+    subtype that isn’t a constant size
+- Rebased python-cassandra-driver-no-mock.patch
+
+-------------------------------------------------------------------

Old:
----
  3.28.0.tar.gz

New:
----
  3.29.1.tar.gz
  python-cassandra-driver-test_libevreactor-DependencyException.patch

BETA DEBUG BEGIN:
  New:  if CASS_DRIVER_NO_EXTENSIONS=1, import throws DependencyException
  + python-cassandra-driver-test_libevreactor-DependencyException.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cassandra-driver.spec ++++++
--- /var/tmp/diff_new_pack.QHWu70/_old  2024-04-16 20:07:13.631911297 +0200
+++ /var/tmp/diff_new_pack.QHWu70/_new  2024-04-16 20:07:13.635911445 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without python2
 Name:           python-cassandra-driver
-Version:        3.28.0
+Version:        3.29.1
 Release:        0
 Summary:        Python driver for Cassandra
 License:        Apache-2.0
@@ -26,6 +26,8 @@
 Source:         
https://github.com/datastax/python-driver/archive/%{version}.tar.gz
 # https://datastax-oss.atlassian.net/browse/PYTHON-1299
 Patch0:         python-cassandra-driver-no-mock.patch
+# if CASS_DRIVER_NO_EXTENSIONS=1, import throws DependencyException 
https://datastax-oss.atlassian.net/browse/PYTHON-1383
+Patch1:         
python-cassandra-driver-test_libevreactor-DependencyException.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module Twisted}
@@ -34,21 +36,16 @@
 BuildRequires:  %{python_module geomet >= 0.1}
 BuildRequires:  %{python_module gevent}
 BuildRequires:  %{python_module pure-sasl}
+BuildRequires:  %{python_module pyasyncore if %python-base >= 3.12}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.9}
 BuildRequires:  %{python_module sure}
 BuildRequires:  fdupes
 BuildRequires:  libev-devel
 BuildRequires:  python-rpm-macros
-%if 0%{?suse_version} >= 1600
-# The classic "if %%python-base > 3.11" made the build unresolvable (at least 
for me). Sorry for this, feel free to rewrite.
-BuildRequires:  python312-pyasyncore
-%endif
 Requires:       python-Cython
 Requires:       python-geomet >= 0.1
-Requires:       python-six >= 1.9
 Recommends:     python-Twisted
 Recommends:     python-eventlet
 Recommends:     python-gevent

++++++ 3.28.0.tar.gz -> 3.29.1.tar.gz ++++++
++++ 6868 lines of diff (skipped)

++++++ python-cassandra-driver-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.QHWu70/_old  2024-04-16 20:07:13.863919826 +0200
+++ /var/tmp/diff_new_pack.QHWu70/_new  2024-04-16 20:07:13.867919973 +0200
@@ -1,8 +1,8 @@
-Index: python-driver-3.26.0/tests/unit/advanced/cloud/test_cloud.py
+Index: python-driver-3.29.1/tests/unit/advanced/cloud/test_cloud.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/advanced/cloud/test_cloud.py
-+++ python-driver-3.26.0/tests/unit/advanced/cloud/test_cloud.py
-@@ -16,7 +16,7 @@ import unittest
+--- python-driver-3.29.1.orig/tests/unit/advanced/cloud/test_cloud.py
++++ python-driver-3.29.1/tests/unit/advanced/cloud/test_cloud.py
+@@ -15,7 +15,7 @@ import unittest
  from cassandra import DriverException
  from cassandra.datastax import cloud
  
@@ -11,10 +11,10 @@
  
  from tests import notwindows
  
-Index: python-driver-3.26.0/tests/unit/advanced/test_insights.py
+Index: python-driver-3.29.1/tests/unit/advanced/test_insights.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/advanced/test_insights.py
-+++ python-driver-3.26.0/tests/unit/advanced/test_insights.py
+--- python-driver-3.29.1.orig/tests/unit/advanced/test_insights.py
++++ python-driver-3.29.1/tests/unit/advanced/test_insights.py
 @@ -16,7 +16,7 @@
  import unittest
  
@@ -24,10 +24,10 @@
  import sys
  
  from cassandra import ConsistencyLevel
-Index: python-driver-3.26.0/tests/unit/advanced/test_policies.py
+Index: python-driver-3.29.1/tests/unit/advanced/test_policies.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/advanced/test_policies.py
-+++ python-driver-3.26.0/tests/unit/advanced/test_policies.py
+--- python-driver-3.29.1.orig/tests/unit/advanced/test_policies.py
++++ python-driver-3.29.1/tests/unit/advanced/test_policies.py
 @@ -13,7 +13,7 @@
  # limitations under the License.
  import unittest
@@ -37,11 +37,11 @@
  
  from cassandra.pool import Host
  from cassandra.policies import RoundRobinPolicy
-Index: python-driver-3.26.0/tests/unit/cqlengine/test_connection.py
+Index: python-driver-3.29.1/tests/unit/cqlengine/test_connection.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/cqlengine/test_connection.py
-+++ python-driver-3.26.0/tests/unit/cqlengine/test_connection.py
-@@ -20,7 +20,7 @@ from cassandra.cluster import _ConfigMod
+--- python-driver-3.29.1.orig/tests/unit/cqlengine/test_connection.py
++++ python-driver-3.29.1/tests/unit/cqlengine/test_connection.py
+@@ -18,7 +18,7 @@ from cassandra.cluster import _ConfigMod
  from cassandra.cqlengine import connection
  from cassandra.query import dict_factory
  
@@ -50,10 +50,10 @@
  
  
  class ConnectionTest(unittest.TestCase):
-Index: python-driver-3.26.0/tests/unit/io/test_asyncioreactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_asyncioreactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_asyncioreactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_asyncioreactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_asyncioreactor.py
++++ python-driver-3.29.1/tests/unit/io/test_asyncioreactor.py
 @@ -10,7 +10,7 @@ except (ImportError, SyntaxError):
  from tests import is_monkey_patched, connection_class
  from tests.unit.io.utils import TimerCallback, TimerTestMixin
@@ -63,10 +63,10 @@
  
  import unittest
  import time
-Index: python-driver-3.26.0/tests/unit/io/test_asyncorereactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_asyncorereactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_asyncorereactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_asyncorereactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_asyncorereactor.py
++++ python-driver-3.29.1/tests/unit/io/test_asyncorereactor.py
 @@ -13,7 +13,7 @@
  # limitations under the License.
  import unittest
@@ -76,10 +76,10 @@
  import socket
  import cassandra.io.asyncorereactor as asyncorereactor
  from cassandra.io.asyncorereactor import AsyncoreConnection
-Index: python-driver-3.26.0/tests/unit/io/test_eventletreactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_eventletreactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_eventletreactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_eventletreactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_eventletreactor.py
++++ python-driver-3.29.1/tests/unit/io/test_eventletreactor.py
 @@ -19,7 +19,7 @@ from tests.unit.io.utils import TimerTes
  from tests import notpypy, EVENT_LOOP_MANAGER
  
@@ -89,10 +89,10 @@
  
  try:
      from cassandra.io.eventletreactor import EventletConnection
-Index: python-driver-3.26.0/tests/unit/io/test_geventreactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_geventreactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_geventreactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_geventreactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_geventreactor.py
++++ python-driver-3.29.1/tests/unit/io/test_geventreactor.py
 @@ -23,7 +23,7 @@ try:
  except ImportError:
      GeventConnection = None  # noqa
@@ -102,10 +102,10 @@
  
  
  skip_condition = GeventConnection is None or EVENT_LOOP_MANAGER != "gevent"
-Index: python-driver-3.26.0/tests/unit/io/test_libevreactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_libevreactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_libevreactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_libevreactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_libevreactor.py
++++ python-driver-3.29.1/tests/unit/io/test_libevreactor.py
 @@ -13,7 +13,7 @@
  # limitations under the License.
  import unittest
@@ -115,10 +115,10 @@
  import weakref
  import socket
  
-Index: python-driver-3.26.0/tests/unit/io/test_twistedreactor.py
+Index: python-driver-3.29.1/tests/unit/io/test_twistedreactor.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/test_twistedreactor.py
-+++ python-driver-3.26.0/tests/unit/io/test_twistedreactor.py
+--- python-driver-3.29.1.orig/tests/unit/io/test_twistedreactor.py
++++ python-driver-3.29.1/tests/unit/io/test_twistedreactor.py
 @@ -13,7 +13,7 @@
  # limitations under the License.
  
@@ -128,36 +128,36 @@
  
  from cassandra.connection import DefaultEndPoint
  
-Index: python-driver-3.26.0/tests/unit/io/utils.py
+Index: python-driver-3.29.1/tests/unit/io/utils.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/io/utils.py
-+++ python-driver-3.26.0/tests/unit/io/utils.py
-@@ -28,7 +28,7 @@ from functools import wraps
+--- python-driver-3.29.1.orig/tests/unit/io/utils.py
++++ python-driver-3.29.1/tests/unit/io/utils.py
+@@ -27,7 +27,7 @@ import random
+ from functools import wraps
  from itertools import cycle
- import six
- from six import binary_type, BytesIO
+ from io import BytesIO
 -from mock import Mock
 +from unittest.mock import Mock
  
  import errno
  import logging
-Index: python-driver-3.26.0/tests/unit/test_cluster.py
+Index: python-driver-3.29.1/tests/unit/test_cluster.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_cluster.py
-+++ python-driver-3.26.0/tests/unit/test_cluster.py
+--- python-driver-3.29.1.orig/tests/unit/test_cluster.py
++++ python-driver-3.29.1/tests/unit/test_cluster.py
 @@ -16,7 +16,7 @@ import unittest
  import logging
- import six
+ import socket
  
 -from mock import patch, Mock
 +from unittest.mock import patch, Mock
  
  from cassandra import ConsistencyLevel, DriverException, Timeout, 
Unavailable, RequestExecutionException, ReadTimeout, WriteTimeout, 
CoordinationFailure, ReadFailure, WriteFailure, FunctionFailure, AlreadyExists,\
      InvalidRequest, Unauthorized, AuthenticationFailed, OperationTimedOut, 
UnsupportedOperation, RequestValidationException, ConfigurationException, 
ProtocolVersion
-Index: python-driver-3.26.0/tests/unit/test_concurrent.py
+Index: python-driver-3.29.1/tests/unit/test_concurrent.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_concurrent.py
-+++ python-driver-3.26.0/tests/unit/test_concurrent.py
+--- python-driver-3.29.1.orig/tests/unit/test_concurrent.py
++++ python-driver-3.29.1/tests/unit/test_concurrent.py
 @@ -16,7 +16,7 @@
  import unittest
  
@@ -166,26 +166,26 @@
 +from unittest.mock import Mock
  import time
  import threading
- from six.moves.queue import PriorityQueue
-Index: python-driver-3.26.0/tests/unit/test_connection.py
+ from queue import PriorityQueue
+Index: python-driver-3.29.1/tests/unit/test_connection.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_connection.py
-+++ python-driver-3.26.0/tests/unit/test_connection.py
+--- python-driver-3.29.1.orig/tests/unit/test_connection.py
++++ python-driver-3.29.1/tests/unit/test_connection.py
 @@ -13,7 +13,7 @@
  # limitations under the License.
  import unittest
  
 -from mock import Mock, ANY, call, patch
 +from unittest.mock import Mock, ANY, call, patch
- import six
- from six import BytesIO
+ from io import BytesIO
  import time
-Index: python-driver-3.26.0/tests/unit/test_control_connection.py
+ from threading import Lock
+Index: python-driver-3.29.1/tests/unit/test_control_connection.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_control_connection.py
-+++ python-driver-3.26.0/tests/unit/test_control_connection.py
-@@ -17,7 +17,7 @@ import unittest
- import six
+--- python-driver-3.29.1.orig/tests/unit/test_control_connection.py
++++ python-driver-3.29.1/tests/unit/test_control_connection.py
+@@ -15,7 +15,7 @@
+ import unittest
  
  from concurrent.futures import ThreadPoolExecutor
 -from mock import Mock, ANY, call
@@ -193,10 +193,10 @@
  
  from cassandra import OperationTimedOut, SchemaTargetType, SchemaChangeType
  from cassandra.protocol import ResultMessage, RESULT_KIND_ROWS
-Index: python-driver-3.26.0/tests/unit/test_endpoints.py
+Index: python-driver-3.29.1/tests/unit/test_endpoints.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_endpoints.py
-+++ python-driver-3.26.0/tests/unit/test_endpoints.py
+--- python-driver-3.29.1.orig/tests/unit/test_endpoints.py
++++ python-driver-3.29.1/tests/unit/test_endpoints.py
 @@ -12,7 +12,7 @@ import itertools
  
  from cassandra.connection import DefaultEndPoint, SniEndPoint, 
SniEndPointFactory
@@ -206,10 +206,10 @@
  
  
  def socket_getaddrinfo(*args):
-Index: python-driver-3.26.0/tests/unit/test_metadata.py
+Index: python-driver-3.29.1/tests/unit/test_metadata.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_metadata.py
-+++ python-driver-3.26.0/tests/unit/test_metadata.py
+--- python-driver-3.29.1.orig/tests/unit/test_metadata.py
++++ python-driver-3.29.1/tests/unit/test_metadata.py
 @@ -15,7 +15,7 @@ import unittest
  
  from binascii import unhexlify
@@ -217,12 +217,12 @@
 -from mock import Mock
 +from unittest.mock import Mock
  import os
- import six
  import timeit
-Index: python-driver-3.26.0/tests/unit/test_policies.py
+ 
+Index: python-driver-3.29.1/tests/unit/test_policies.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_policies.py
-+++ python-driver-3.26.0/tests/unit/test_policies.py
+--- python-driver-3.29.1.orig/tests/unit/test_policies.py
++++ python-driver-3.29.1/tests/unit/test_policies.py
 @@ -15,7 +15,7 @@
  import unittest
  
@@ -230,38 +230,38 @@
 -from mock import Mock, patch, call
 +from unittest.mock import Mock, patch, call
  from random import randint
- import six
- from six.moves._thread import LockType
-Index: python-driver-3.26.0/tests/unit/test_protocol.py
+ from _thread import LockType
+ import sys
+Index: python-driver-3.29.1/tests/unit/test_protocol.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_protocol.py
-+++ python-driver-3.26.0/tests/unit/test_protocol.py
-@@ -15,7 +15,7 @@
+--- python-driver-3.29.1.orig/tests/unit/test_protocol.py
++++ python-driver-3.29.1/tests/unit/test_protocol.py
+@@ -14,7 +14,7 @@
+ 
  import unittest
  
- import six
 -from mock import Mock
 +from unittest.mock import Mock
  
  from cassandra import ProtocolVersion, UnsupportedOperation
  from cassandra.protocol import (
-Index: python-driver-3.26.0/tests/unit/test_response_future.py
+Index: python-driver-3.29.1/tests/unit/test_response_future.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_response_future.py
-+++ python-driver-3.26.0/tests/unit/test_response_future.py
-@@ -18,7 +18,7 @@ from collections import deque
+--- python-driver-3.29.1.orig/tests/unit/test_response_future.py
++++ python-driver-3.29.1/tests/unit/test_response_future.py
+@@ -17,7 +17,7 @@ import unittest
+ from collections import deque
  from threading import RLock
  
- import six
 -from mock import Mock, MagicMock, ANY
 +from unittest.mock import Mock, MagicMock, ANY
  
  from cassandra import ConsistencyLevel, Unavailable, SchemaTargetType, 
SchemaChangeType, OperationTimedOut
  from cassandra.cluster import Session, ResponseFuture, NoHostAvailable, 
ProtocolVersion
-Index: python-driver-3.26.0/tests/unit/test_resultset.py
+Index: python-driver-3.29.1/tests/unit/test_resultset.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_resultset.py
-+++ python-driver-3.26.0/tests/unit/test_resultset.py
+--- python-driver-3.29.1.orig/tests/unit/test_resultset.py
++++ python-driver-3.29.1/tests/unit/test_resultset.py
 @@ -15,7 +15,7 @@ from cassandra.query import named_tuple_
  
  import unittest
@@ -271,23 +271,23 @@
  
  from cassandra.cluster import ResultSet
  
-Index: python-driver-3.26.0/tests/unit/test_timestamps.py
+Index: python-driver-3.29.1/tests/unit/test_timestamps.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_timestamps.py
-+++ python-driver-3.26.0/tests/unit/test_timestamps.py
+--- python-driver-3.29.1.orig/tests/unit/test_timestamps.py
++++ python-driver-3.29.1/tests/unit/test_timestamps.py
 @@ -14,7 +14,7 @@
  
  import unittest
  
 -import mock
 +from unittest import mock
- import six
  
  from cassandra import timestamps
-Index: python-driver-3.26.0/tests/unit/utils.py
+ from threading import Thread, Lock
+Index: python-driver-3.29.1/tests/unit/utils.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/utils.py
-+++ python-driver-3.26.0/tests/unit/utils.py
+--- python-driver-3.29.1.orig/tests/unit/utils.py
++++ python-driver-3.29.1/tests/unit/utils.py
 @@ -15,7 +15,7 @@
  from concurrent.futures import Future
  from functools import wraps
@@ -297,10 +297,10 @@
  
  
  def mock_session_pools(f):
-Index: python-driver-3.26.0/tests/unit/test_host_connection_pool.py
+Index: python-driver-3.29.1/tests/unit/test_host_connection_pool.py
 ===================================================================
---- python-driver-3.26.0.orig/tests/unit/test_host_connection_pool.py
-+++ python-driver-3.26.0/tests/unit/test_host_connection_pool.py
+--- python-driver-3.29.1.orig/tests/unit/test_host_connection_pool.py
++++ python-driver-3.29.1/tests/unit/test_host_connection_pool.py
 @@ -14,7 +14,7 @@
  
  import unittest

++++++ python-cassandra-driver-test_libevreactor-DependencyException.patch 
++++++
Index: python-driver-3.29.1/tests/unit/io/test_libevreactor.py
===================================================================
--- python-driver-3.29.1.orig/tests/unit/io/test_libevreactor.py
+++ python-driver-3.29.1/tests/unit/io/test_libevreactor.py
@@ -24,7 +24,7 @@ from tests.unit.io.utils import ReactorT
 try:
     from cassandra.io.libevreactor import _cleanup as libev__cleanup
     from cassandra.io.libevreactor import LibevConnection
-except ImportError:
+except:
     LibevConnection = None  # noqa
 
 

Reply via email to