Gyeongjae Choi

Results 674 comments of Gyeongjae Choi

> And some users would benefit from an exponential time resolver that finds a solution if it exists. Yes, I am +1 for providing an option to use a backtracking...

@agriyakhetarpal Thanks for the report. What happens is, `pypi.anaconda.org` does not set CORS header on the response, so micropip cannot download the package from there. Maybe some pyscript folks can...

Could you share a little more detail and a code that we can reproduce the error?

> If you change the file to https://files.pythonhosted.org/packages/2a/2b/fb867ed1e62954e8b9d9211f9c6ce028d4f630cab779815279adde9e3fdd/micropip-0.5.0-py3-none-any.whl, you can reproduce this error. Oh, yes. It is expected error, as the sha256 checksum will change if you change the file....

```js pyodide.loadPackage(, { checkIntegrity: false }) ```

No, currently, there is no global setting for it. Probably you can re-define `pyodide.loadPackage` such as: ```js const origLoadPackage = pyodide.loadPackage pyodide.loadPackage = (...) => orignLoadPackage(..., {checkIntegrity: false}) ``` ?

Hosting packages is not very hard. You can download all wheels in the Pyodide distribution, host it somewhere (that supports https://peps.python.org/pep-0691/), and update the index URL used in micropip ([micropip.set_index_urls](https://micropip.pyodide.org/en/stable/project/api.html#micropip.set_index_urls))...

Thanks for the report! The message occurs in `pyodide.loadPackage` (which is used internally by micropip). When calling `pyodide.loadPackage` directly, you can pass the [`messageCallback` parameter](https://pyodide.org/en/stable/usage/api/js-api.html#pyodide.loadPackage), but there is currently no...

Thanks for the report @joemarshall! Yes, there are a few places where micropip and pyodide.loadPackage behaves differently in terms of loading dynamic libraries, and I'm thinking of improving this by...