Skip to content

V3.0.3 upgrade deps#5154

Merged
renecannao merged 7 commits intov3.0from
v3.0.3-upgrade_deps
Oct 14, 2025
Merged

V3.0.3 upgrade deps#5154
renecannao merged 7 commits intov3.0from
v3.0.3-upgrade_deps

Conversation

@mirostauder
Copy link
Contributor

merge of proposed deps upgrades for v3.0.3

already merged in v3.0 with PR #5138:
libconfig to v1.8.1
postgresql to v16.10

libmicrohttpd to v1.0.2
sqlite3 to v3.50.4
clickhouse to v2.6.0
curl to v8.16.0

based on this branch in separate PR
json to v3.12.0

@mirostauder mirostauder self-assigned this Oct 10, 2025
@mirostauder mirostauder added this to the Release 3.0.3 milestone Oct 10, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @mirostauder, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on updating several key external dependencies to their latest stable versions for the v3.0.3 release. The upgrades encompass libmicrohttpd, sqlite3, clickhouse-cpp, and curl, aiming to incorporate the latest bug fixes, security enhancements, and performance improvements from these libraries. Concurrently, the changes streamline the build process by removing obsolete patches and adapting the build configuration to align with the updated dependency structures, notably for clickhouse-cpp which now integrates zstd compression.

Highlights

  • Dependency Upgrades: Upgraded libmicrohttpd to v1.0.2, sqlite3 to v3.50.4, clickhouse-cpp to v2.6.0, and curl to v8.16.0.
  • Patch Cleanup: Removed several no longer needed patches (wire_format.patch, connection.c-snprintf-overflow.patch, sqlite3.c-multiplication-overflow.patch) as their fixes are now integrated into the upstream library versions.
  • Build System Adjustments: Modified Makefiles to reflect changes in clickhouse-cpp build artifacts (e.g., library name change from libclickhouse-cpp-lib-static.a to libclickhouse-cpp-lib.a), updated include paths to incorporate absl headers, and added zstd as a required linking dependency for clickhouse-cpp.
  • SQLite Patch Updates: Adjusted existing patches for sqlite3 (from_unixtime.patch, sqlite3_pass_exts.patch, throw.patch) to ensure compatibility with the new v3.50.4 version.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mirostauder mirostauder linked an issue Oct 10, 2025 that may be closed by this pull request
18 tasks
@sonarqubecloud
Copy link

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request upgrades several dependencies. The changes primarily involve updating Makefiles to accommodate new versions, handle new sub-dependencies, and remove patches that are no longer necessary. I've identified two critical issues that are likely to break the build: a potential typo in the specified curl version and a broken build recipe for clickhouse-cpp. The other changes appear to be correct and align with the dependency upgrade goals.

Comment on lines 160 to 161
cd clickhouse-cpp/clickhouse-cpp && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
cd clickhouse-cpp/clickhouse-cpp && CC=${CC} CXX=${CXX} ${MAKE}

Choose a reason for hiding this comment

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

critical

The build recipe for clickhouse-cpp appears to be broken. The ln -fs clickhouse-cpp-*/ clickhouse-cpp command was removed in this pull request, but the subsequent commands still try to cd into a clickhouse-cpp directory. Since the tar command extracts into a versioned directory (e.g., clickhouse-cpp-2.6.0), and the symlink is no longer created, the cd clickhouse-cpp/clickhouse-cpp command will fail.

To fix this, you can modify the build commands to use a wildcard to cd into the versioned directory.

cd clickhouse-cpp/clickhouse-cpp-*/ && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
cd clickhouse-cpp/clickhouse-cpp-*/ && CC=${CC} CXX=${CXX} ${MAKE}

This was linked to issues Oct 10, 2025
@renecannao renecannao merged commit e5aba4d into v3.0 Oct 14, 2025
5 of 6 checks passed
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.

Evaluate upgrade of dependencies Evaluate upgrade of curl Evaluate upgrade of RE2

2 participants