This is an automated email from the ASF dual-hosted git repository. absurdfarce pushed a commit to branch rm-future-imports in repository https://gitbox.apache.org/repos/asf/cassandra-python-driver.git
commit 4003aec138e88fbd1db7cf31ab156b9d590e1aa8 Author: Brad Schoening <[email protected]> AuthorDate: Tue Dec 16 13:22:39 2025 -0500 remove obsolete __future__ import absolute_import --- cassandra/cluster.py | 1 - cassandra/connection.py | 1 - cassandra/cqltypes.py | 1 - cassandra/protocol.py | 1 - tests/integration/cqlengine/query/test_queryset.py | 1 - 5 files changed, 5 deletions(-) diff --git a/cassandra/cluster.py b/cassandra/cluster.py index 43066f73..6b2ab4b2 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -18,7 +18,6 @@ This module houses the main classes you will interact with, :class:`.Cluster` and :class:`.Session`. """ -from __future__ import absolute_import import atexit from binascii import hexlify diff --git a/cassandra/connection.py b/cassandra/connection.py index 4a16c46a..246cec79 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import # to enable import io from stdlib from collections import defaultdict, deque import errno from functools import wraps, partial, total_ordering diff --git a/cassandra/cqltypes.py b/cassandra/cqltypes.py index 5e063a01..7cde6765 100644 --- a/cassandra/cqltypes.py +++ b/cassandra/cqltypes.py @@ -29,7 +29,6 @@ the corresponding CQL or Cassandra type strings. # for example), these classes would be a good place to tack on # .from_cql_literal() and .as_cql_literal() classmethods (or whatever). -from __future__ import absolute_import # to enable import io from stdlib import ast from binascii import unhexlify import calendar diff --git a/cassandra/protocol.py b/cassandra/protocol.py index 510aea44..69340a80 100644 --- a/cassandra/protocol.py +++ b/cassandra/protocol.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import # to enable import io from stdlib from collections import namedtuple import logging import socket diff --git a/tests/integration/cqlengine/query/test_queryset.py b/tests/integration/cqlengine/query/test_queryset.py index d09d7eeb..c80b7e9d 100644 --- a/tests/integration/cqlengine/query/test_queryset.py +++ b/tests/integration/cqlengine/query/test_queryset.py @@ -13,7 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import absolute_import import unittest --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
