Skip to content

ci(dependabot): stop proposing cassandra-driver-core 4.x - #1579

Merged
wgzhao merged 1 commit into
masterfrom
chore/ignore-cassandra-driver-4x
Sep 17, 2026
Merged

wgzhao merged 1 commit into
masterfrom
chore/ignore-cassandra-driver-4x

Conversation

@wgzhao

@wgzhao wgzhao commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

Dependabot re-proposes com.datastax.cassandra:cassandra-driver-core 3.11.5 → 4.0.0 on every daily run. That bump is not applicable, so this adds an ignore rule rather than leaving the PR to be closed by hand each time.

Related Issue(s)

Relates to #1577 (closed)

What type of change is this?

  • Build / CI
  • Chore / Refactor

Changes

  • .github/dependabot.yml: ignore com.datastax.cassandra:cassandra-driver-core versions 4.x.

Motivation and Context

cassandra-driver-core:4.0.0 is the promoted alias of the DataStax 4.x driver. Its API lives in com.datastax.oss.driver.api.core.*, while both cassandra plugins import the 3.x namespace, so the build fails:

[ERROR] CassandraReader.java:[25,32] package com.datastax.driver.core does not exist
[ERROR] CassandraReaderHelper.java:[33,32] package com.datastax.driver.core does not exist
[ERROR] CassandraWriterHelper.java:[27,32] package com.datastax.driver.core does not exist

Migrating means replacing Cluster/Session/Row with CqlSession/AsyncCqlSession/Row and reworking the codec registry and connection options — a plugin rewrite, not a dependency update. 3.11.5 is the last 3.x line and still works, so the plugins stay on it until that migration is scheduled.

The rule follows the existing pattern used for org.apache.paimon:* and org.apache.arrow:flight-sql-jdbc-core.

How has this been tested?

Checklist (required)

  • I have read the project's contributing guidelines and code of conduct.
  • My change includes appropriate tests (if applicable). — n/a, config only
  • I ran a local build and fixed any compilation issues. — n/a, no source change
  • I updated or added documentation if needed (README, docs/ or docs/en/). — n/a
  • I updated CHANGELOG.md when appropriate. — n/a
  • I have not added any secrets or credentials.
  • I have checked for sensitive or personal data in this PR.
  • I added the Signed-off-by line in the final commit message if required by the project.

Breaking changes / Migration

None.

Additional context

The closed PR #1577 carries the full compile-error log for reference.

Dependabot re-proposes cassandra-driver-core 3.11.5 -> 4.0.0 on every run, but
4.0.0 is a full driver rewrite: the API moved from com.datastax.driver.core.* to
com.datastax.oss.driver.api.core.*, so CassandraReader, CassandraReaderHelper,
CassandraWriter and CassandraWriterHelper no longer compile (#1577).

Migrating the two cassandra plugins is a separate task, so 3.11.5 stays. The
ignore rule mirrors the existing entries for paimon and flight-sql-jdbc-core.
@wgzhao
wgzhao merged commit 2165703 into master Sep 17, 2026
3 checks passed
@wgzhao
wgzhao deleted the chore/ignore-cassandra-driver-4x branch September 17, 2026 03:00
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.

1 participant