Commit 8ae399b
committed
Fix: Python build dependencies installation
Improve wheel and cython dependency management in gpMgmt/bin/Makefile
to handle Ubuntu 24.04's PEP 668 restrictions while maintaining
compatibility with Rocky Linux and older Ubuntu versions.
Changes:
- Split wheel and cython dependency checks into separate commands
- Add fallback to --break-system-packages flag for Ubuntu 24.04+
- Only install dependencies if not already present in the system
- Maintain backward compatibility with existing build environments
This resolves build failures on Ubuntu 24.04 where pip install --user
is restricted by default, while preserving the existing behavior on
Rocky Linux 8/9 and Ubuntu 20.04/22.04 systems.1 parent 5bb33f7 commit 8ae399b
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
116 | 127 | | |
117 | 128 | | |
118 | 129 | | |
| |||
0 commit comments