Closed ryanking13 closed 3 weeks ago
It isn't working, but at least I found that integration tests are useful enough to detect this kind or errors :) Let's see if I can fix it.
It is working now. I also checked it in pyodide/pyodide in my fork https://github.com/ryanking13/pyodide/commit/be7e588f6cf33fe7496e09b543b4a89753a469ef
Thanks for the review!
Instead of hardcoding the Python version, use
PYO3_CROSS_PYTHON_VERSION
env variable, which PyO3 uses to find the correct Python include/lib paths.Also removed pyo3_config.ini file. Otherwise, the config file always take precedence.