Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding _f2c_fixes.py from user #8

Merged
merged 14 commits into from
Jul 17, 2024

Conversation

ryanking13
Copy link
Member

While most parts of pyodide-build are decoupled with pyodide/pyodide, _f2c_fixes.py file that is used to build scipy is highly coupled with the scipy recipe in pyodide/pyodide.

It would be very inefficient if we need to update pyodide-build whenever we fix scipy (e.g. pyodide/pyodide#4818). Therefore, this add a private config variable _f2c_fixes_wrapper, which allows users to modify override _f2c_fixes.py file without touching pyodide-build itself.

@hoodmane
Copy link
Member

hoodmane commented Jul 4, 2024

Interesting, thanks @ryanking13. Looks reasonable for now. I'm currently working on making a fork of f2c with modifications that suit our needs so hopefully we can get rid of f2c_fixes.

@ryanking13
Copy link
Member Author

ryanking13 commented Jul 5, 2024

I'm currently working on making a fork of f2c with modifications that suit our needs so hopefully we can get rid of f2c_fixes.

Cool. That sounds ambitious :)

Looks reasonable for now

Yeah, for now, I am trying to remove all annoying parts when unvendoring pyodide-build.

@ryanking13 ryanking13 merged commit fac0109 into pyodide:main Jul 17, 2024
4 checks passed
@ryanking13 ryanking13 deleted the wrappers branch July 17, 2024 13:20
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.

2 participants