Skip to content

Remove obsolete __future__ import absolute_import - #971

Merged
dkropachev merged 1 commit into
scylladb:masterfrom
mykaul:cherry-pick-remove-future-import
Aug 9, 2026
Merged

Remove obsolete __future__ import absolute_import#971
dkropachev merged 1 commit into
scylladb:masterfrom
mykaul:cherry-pick-remove-future-import

Conversation

@mykaul

@mykaul mykaul commented Aug 9, 2026

Copy link
Copy Markdown

Cherry-pick of apache/cassandra-python-driver@2d99b62 (apache#1263).

Removes the now-unnecessary from __future__ import absolute_import statements (Python 2 leftover).

Test plan

  • Cherry-picked cleanly, no conflicts
  • Full unit test suite passes (765 passed, 45 skipped)

patch by Brad Schoening; reviewed by Brad Schoening and Bret McGuire
reference: apache#1263
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Pro Plus

Run ID: dc8c8ba7-ac05-4f3b-8948-92b343aa3df3

📥 Commits

Reviewing files that changed from the base of the PR and between 1d7e601 and 8c3b237.

📒 Files selected for processing (5)
  • cassandra/cluster.py
  • cassandra/connection.py
  • cassandra/cqltypes.py
  • cassandra/protocol.py
  • tests/integration/cqlengine/query/test_queryset.py
💤 Files with no reviewable changes (5)
  • cassandra/cqltypes.py
  • cassandra/protocol.py
  • cassandra/cluster.py
  • cassandra/connection.py
  • tests/integration/cqlengine/query/test_queryset.py

📝 Walkthrough

Walkthrough

Removed obsolete absolute_import future directives from cassandra/cluster.py, cassandra/connection.py, cassandra/cqltypes.py, and cassandra/protocol.py. Other imports and public declarations remain unchanged.

Suggested reviewers: lorak-mmk

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and test results but omits the repository's required pre-review checklist and several required confirmations. Add the required pre-review checklist and confirm applicable items, including static checks, documentation, commit requirements, and Fixes annotations.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the removal of obsolete future imports.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai
coderabbitai Bot requested a review from Lorak-mmk August 9, 2026 15:09
@dkropachev
dkropachev merged commit e9773cd into scylladb:master Aug 9, 2026
23 of 24 checks passed
@dkropachev

Copy link
Copy Markdown

@mykaul , thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants