PyBind is Python-version-depended. Previously we only build XGrammar once (where PyBind is built only once as well) and then build the wheel for each Python version, which causes Python version error.
This PR updates the build scripts to build XGrammar once for each Python version.
PyBind is Python-version-depended. Previously we only build XGrammar once (where PyBind is built only once as well) and then build the wheel for each Python version, which causes Python version error.
This PR updates the build scripts to build XGrammar once for each Python version.