gfphoenix78 commented on code in PR #1434:
URL: https://github.com/apache/cloudberry/pull/1434#discussion_r2711430096
##########
gpMgmt/bin/Makefile:
##########
@@ -111,8 +111,19 @@ download-python-deps:
else \
echo "PyGreSQL-$(PYGRESQL_VERSION).tar.gz already exists,
skipping download"; \
fi
- # Install wheel and cython for PyYAML building
- pip3 install --user wheel "cython<3.0.0"
+ # Install wheel and cython for PyYAML building (only if not exists)
+ @if python3 -c "import wheel" >/dev/null 2>&1; then \
+ echo "wheel already exists, skipping installation"; \
+ else \
+ echo "Installing wheel..."; \
+ pip3 install --user wheel 2>/dev/null || pip3 install --user
--break-system-packages wheel; \
Review Comment:
`--break-system-packages` may hide possible problems.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]