Commit Graph

2664 Commits

Author SHA1 Message Date
Roman Yurchak 59b2c4e1ef
Remove deprecated pyodide-build buildall and mkpkg CLI endpoints (#3668) 2023-03-20 08:43:04 +01:00
Gyeongjae Choi fb48f39847
DOC Add missing packages to changelog (#3674)
Adds pynacl and mypy to the changelog.
2023-03-20 13:11:55 +09:00
Gyeongjae Choi 802a9cd26b
Handle response files in pywasmcross (#3645)
Co-authored-by: josephrocca <1167575+josephrocca@users.noreply.github.com>
2023-03-17 09:00:51 +09:00
Loïc Estève 4028757968
Fix arpack *eupd issues due to numpy 1.24 f2py changes (#3658) 2023-03-17 08:59:16 +09:00
Hood Chatham 2e05ec50cb
Remove puppeteer from dev dependencies (#3660) 2023-03-16 07:37:39 +01:00
Roman Yurchak 7d6be15cb8
Fix scikit-image optional dependencies (#3656) 2023-03-15 15:26:55 +01:00
Loïc Estève d78597957a
MNT Update scikit-learn to 1.2.2 (#3654) 2023-03-14 19:56:23 +01:00
Christian Clauss 57f36ac6f8
Ruff is now compatible with Python pattern matching (#3650) 2023-03-13 22:45:06 +01:00
Roman Yurchak 79aa563f2c
DOC using conda for building from sources (Linux & Mac OS) (#3644)
Co-authored-by: Jo Bovy <jo.bovy@gmail.com>
2023-03-09 13:37:25 +01:00
Gyeongjae Choi 52c033af9f
CI Add MacOS build (#3602) 2023-03-08 21:22:59 +01:00
Hood Chatham d6ce2b6edd
DOC Remove package loading from roadmap (#3636)
[skip CI]
2023-03-08 08:54:38 +01:00
Loïc Estève 21c4d5c23c
DOC use MyST inline attrs for external links (#3639)
[skip ci]
2023-03-07 18:10:27 +01:00
Gyeongjae Choi 66c73ce1c8
Increase driver timeout of tests that timeouts often (#3633)
Increase the timeout of xarray and fastparquet tests
2023-03-07 13:11:34 +01:00
martinRenou 172ad32f5f
Update NumPy to 1.24.2 (#3593)
And remove patches which were introduced in numpy/numpy#21732 numpy/numpy#21733 and numpy/numpy#21894
2023-03-06 17:42:15 +01:00
Hood Chatham ad483dc14d
NFC Rearrange api.ts (#3547) 2023-03-06 13:11:33 +09:00
Roman Yurchak 3147cc324d
Improve pyodide.loadPackage docs (#3628) 2023-03-06 11:36:22 +09:00
Arpit 42fa9939b0
Upgrades packaging version to v23.0 and micropip to 0.2.2 (#3605)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2023-03-04 21:45:23 +01:00
Jo Bovy fc9ca86ad1
Update galpy to v1.8.2 (#3630) 2023-03-04 21:11:25 +09:00
Roman Yurchak 09c86770aa
Remove linting CI job in GHA (#3631) 2023-03-04 21:07:13 +09:00
Gyeongjae Choi a9182030cd
Merge pyodide_py into python_stdlib.zip (#3621)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2023-03-04 11:05:12 +01:00
Hood Chatham ead7d8aed6
DOC Remove user code section from roadmap (completed) (#3627)
[skip ci]
2023-03-04 10:03:51 +01:00
Hood Chatham 97d17373f2
Handling for reserved Python keywords as JsProxy attrs (#3617)
Resolves #3615. Things like `from` and `finally` are reserved keywords in Python and so `a.finally` 
is a `SyntaxError`. This automatically reroutes `a.from_` on a `JsProxy` to refer to `a.from` so it
can be used reasonably conveniently from Python.
2023-03-03 11:13:40 +01:00
Hood Chatham ce7880739e
Emscripten 3.1.32 (#3599) 2023-03-03 11:12:11 +01:00
Gyeongjae Choi ba5545cbf1
Add private APIs to get Python version before bootstrapping Python (#3625)
Use them in Module.preRun to initialize the filesystem.
2023-03-03 10:19:43 +01:00
Hood Chatham 959ceb9d57
Add locals option to runPython and runPythonAsync (#3618) 2023-03-03 10:09:02 +01:00
Hood Chatham 99a5e21287
Fix `eval_code` (#3580)
This fixes eval_code / eval_code_async / CodeRunner.run / CodeRunner.runAsync so that the defaults for globals and locals work as documented. Resolves #3578.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-03 08:54:20 +09:00
Christian Clauss f3bedc154a
MAINT: Upgrade the remaining GitHub Actions (#3622) 2023-03-02 14:49:39 +01:00
Joe Marshall 0fdf9a80fa
Add Fastparquet (#3590) 2023-03-02 14:46:58 +09:00
Christian Clauss b19e276cfa
Python 3.11.2: Set PYODIDE_IMAGE_TAG in run_docker (#3620) 2023-03-02 02:10:53 +01:00
Christian Clauss 61e13fdf26
Fix pytest warning that find_import() has moved to pyodide.code (#3619)
From pytest warnings summary:
> src/py/_pyodide/_base.py::_pyodide._base.find_imports
  /root/repo/src/py/pyodide/__init__.py:78: FutureWarning: pyodide.find_imports has been moved to pyodide.code.find_imports Accessing it through the pyodide module is deprecated.
2023-03-02 02:07:54 +01:00
Christian Clauss 154fbed9fa
Upgrade to Python v3.11.2 (#3614) 2023-03-01 23:57:17 +01:00
Gyeongjae Choi ed3ae1ba49
Download standard libraries in a zipfile (#3582) 2023-03-01 23:11:30 +01:00
Jeff Glass f3360876be
Add FAQ, Docs for working around JS Objects named like Python Keywords (#3616) 2023-03-01 16:57:08 +09:00
Gyeongjae Choi 61f3d35eca
Pin types-setuptools version (#3613) 2023-02-28 10:46:00 +01:00
Christian Clauss 2adbe0e9d7
Upgrade GitHub Actions (#3608) 2023-02-28 10:10:21 +09:00
Gyeongjae Choi c99584d4b8
FIX Change rust packages not to build concurrently (#3607)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2023-02-27 14:55:03 +09:00
Christian Clauss 01c00d70b4
PEP621: Move pytest configuration into pyproject.toml (#3609)
* PEP621: Move pytest configuration into pyproject.toml

Migrate `setup.cfg` to `pyproject.toml` using [ini2toml](https://pypi.org/project/ini2toml) to do the file conversion and running [validate-pyproject](https://github.com/abravalheri/validate-pyproject) in pre-commit to validate the results.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-27 08:33:53 +09:00
Gyeongjae Choi 205deef3cc
Minor opencv-python meta.yaml fix (#3604) 2023-02-23 19:27:28 +09:00
Gyeongjae Choi 9e1e575dfe
Deepfreeze essential parts of the encodings module (#3585) 2023-02-22 18:40:05 +09:00
Gyeongjae Choi 1138a4af2d
Add url parameter to install_xbuildenv (#3592) 2023-02-22 11:56:35 +09:00
Gyeongjae Choi 0d5bd851fe
Use loky.cpu_count() instead of os.cpu_count() (#3598) 2023-02-22 07:53:19 +09:00
Gyeongjae Choi 862e4f8877
MAINT Initialize filesystem in a single point (#3591)
We do several filesystem operations before loading Python.

- Mount _node_mounts
- Create default directories
- Register NativeFS file system

This PR organizes all those operations into a single function.

This is an another split off from #3582.
2023-02-19 18:25:00 -08:00
Gyeongjae Choi 994ce5111f
BLD Add DISTDIR variable (#3584) 2023-02-17 08:25:42 +09:00
messense 0be3c6d9fa
Fix activating pyodide venv command docs (#3586) 2023-02-15 16:34:07 +09:00
Gyeongjae Choi c55bd2a823
Move webbrowser.py into pyodide-py (#3583) 2023-02-14 16:08:28 +09:00
Gyeongjae Choi 5ad2dcf76f
Improve the error message when a meta.yaml file is not found (#3568) 2023-02-14 08:49:52 +09:00
Gyeongjae Choi d4bb0df3fa
Remove some build-only dependencies from meta.yaml (#3576) 2023-02-13 09:56:08 -08:00
Gyeongjae Choi 0b378d6727
Remove globally pinned build requirements (#3577) 2023-02-13 09:55:41 -08:00
Nicholas Bollweg e835bf05ff
add license file and metadata to pyodide-build (#3574) 2023-02-11 13:29:01 -08:00
Gyeongjae Choi 2fb9440e91
BLD Remove _pywasmcross entrypoint (#3566) 2023-02-11 00:04:25 -08:00