-
Notifications
You must be signed in to change notification settings - Fork 175
build: add meson build support to dev container #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 85
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 857
🌐 Web query:
meson build system python3 setup.py install deprecated💡 Result:
Short answer: Yes — invoking python setup.py install (or other setup.py CLI commands) is deprecated. Use PEP 517/518 based tooling instead (e.g. declare a build backend in pyproject.toml and install with pip or use a modern backend such as meson-python when you build native extensions).
What to do:
Sources:
[1] Python Packaging Guide — “Is setup.py deprecated?” (recommendations to use pip/build).
[2] NumPy migration guide — recommends Meson and meson-python for projects with compiled code.
[3] pip / pypa discussions about deprecating legacy setup.py build/install behavior.
🌐 Web query:
latest stable versions meson ninja build tools 2025💡 Result:
Sources:
[1] Meson release notes — Release notes for 1.10.0.
[2] ninja-build GitHub releases — v1.13.2.
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 466
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 43
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 195
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 1773
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 1473
🏁 Script executed:
Repository: IvorySQL/IvorySQL
Length of output: 43
Update meson installation to use pip and address deprecated setup.py, plus coordinate version updates with CI workflow.
The installation block has several areas for improvement, and notably the versions are intentionally pinned to match
.github/workflows/meson_build.yml:Deprecated setup.py install (Line 45): The
python3 setup.py installcommand is deprecated. Usepip3 install /tmp/meson-1.0.1/instead.Missing checksum verification: The downloads are not verified with checksums. Consider adding SHA256 verification for security.
Old pinned versions: Meson 1.0.1 and Ninja 1.10.1 are pinned to match the CI workflow, but both are dated (2023 and 2020 respectively). If updating to newer versions (current: Meson 1.10.0, Ninja 1.13.2), you must also update
.github/workflows/meson_build.ymllines 27-28 to keep them synchronized.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, intentionally pin the same version as CI pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rophy, understood — keeping the versions synchronized with the CI pipeline is a good practice for consistency.
However, there are still two concerns independent of the version choice:
Deprecated installation method (Line 45): The
python3 setup.py installcommand is deprecated. Even with Meson 1.0.1, you should usepip3 install /tmp/meson-1.0.1/instead to avoid deprecation warnings and follow modern Python packaging standards.Missing checksum verification: For security, consider adding SHA256 verification after downloading the tarballs:
Would you like to address these improvements while keeping the version pinning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nah, I'm fine with strictly copying what CI piepline does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rophy, understood — I respect your decision to keep the dev container setup aligned with the CI pipeline exactly as-is. Feel free to reach out if you need anything else!