Skip to content

Remove bc dependency from Debian package build - #1257

Open
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-232-no-bc-check
Open

Remove bc dependency from Debian package build#1257
wayyoungboy wants to merge 1 commit into
oceanbase:masterfrom
wayyoungboy:fix-issue-232-no-bc-check

Conversation

@wayyoungboy

Copy link
Copy Markdown
Member

Summary

  • replace the Debian package build Python version comparison that used bc -l
  • use the candidate Python interpreter itself to verify Python 3.11+
  • confirm there are no remaining direct bc command dependencies in check tasks or package scripts

Fixes #232

Verification

  • bash -n ubuntu/build_ubuntu.sh
  • rg -n "\|\s*bc\b|\bbc\s+-l\b|command -v bc|/usr/bin/bc" . --glob "!*.pyc" --glob "!__pycache__/**" --glob "!dependencies/**" returns no matches
  • git diff --check

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.

[Bug]: obdiag兼容龙晰8.6

1 participant