Skip to content

Update supported ClickHouse and Python versions#473

Merged
aalexfvk merged 1 commit into
mainfrom
alex-burmak
May 27, 2026
Merged

Update supported ClickHouse and Python versions#473
aalexfvk merged 1 commit into
mainfrom
alex-burmak

Conversation

@Alex-Burmak

@Alex-Burmak Alex-Burmak commented May 25, 2026

Copy link
Copy Markdown
Member

Summary by Sourcery

Raise the minimum supported Python version and refresh the ClickHouse test matrix to target newer server releases.

Build:

  • Update the project’s declared Python compatibility to require Python 3.10+, including classifiers and lint/type-checker configuration.

CI:

  • Adjust the GitHub Actions test matrix to drop Python 3.9 and older ClickHouse entries and add newer ClickHouse versions for Python 3.10.

@sourcery-ai

sourcery-ai Bot commented May 25, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Raises the minimum supported Python version to 3.10 and refreshes the CI matrix and tooling configuration to align with updated ClickHouse versions and the new minimum Python baseline.

Flow diagram for updated CI matrix and Python baseline

flowchart LR
  subgraph GithubActions_Workflow
    A[Push or PR] --> B[Run tests]
    B --> C[Matrix: Python_3_10_plus]
    C --> D[ClickHouse_versions_23_3_to_26_3]
  end

  E[Project_config]
  E --> F[requires_python_>=_3_10]
  E --> G[pylint_py_version_3_10]
  E --> H[mypy_python_version_3_10]

  B -.uses_config.-> E
Loading

File-Level Changes

Change Details Files
Align CI ClickHouse test matrix with newly supported server versions while dropping outdated combinations.
  • Remove CI runs for Python 3.9 and an older ClickHouse 22.8 combination.
  • Update the ClickHouse 25.3 entry to 25.3.12.8 in the GitHub Actions matrix.
  • Add CI entries for ClickHouse 25.8.23.13 and 26.3.12.3 under Python 3.10 to broaden coverage of current releases.
.github/workflows/workflow.yml
Raise the minimum supported Python version to 3.10 and propagate this to packaging metadata and static analysis tools.
  • Increase requires-python to ">=3.10" in pyproject metadata and drop the Python 3.9 classifier.
  • Update pylint py-version to 3.10 to reflect the new minimum for version-dependent checks.
  • Update mypy python_version to 3.10 to align type checking with the new baseline.
pyproject.toml
Refresh dependency lock file to reflect updated environment/tooling constraints.
  • Regenerate uv.lock so dependencies are consistent with the new Python minimum and tooling configuration.
uv.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@Alex-Burmak

Copy link
Copy Markdown
Member Author

Peer PR for ch-backup repo: yandex/ch-backup#326

@Alex-Burmak Alex-Burmak requested a review from aalexfvk May 25, 2026 09:43

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@aalexfvk aalexfvk merged commit 7e1640c into main May 27, 2026
18 checks passed
@aalexfvk aalexfvk deleted the alex-burmak branch May 27, 2026 08:48
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.

2 participants