Commit Graph

2702 Commits

Author SHA1 Message Date
Hanno Rein 8464064b41
Update rebound and reboundx (#3725) 2023-04-01 17:37:30 -07:00
Hood Chatham 32ccad8f6e
Use upstream libffi (#3629) 2023-04-01 17:32:38 -07:00
Hood Chatham 48cf29f75d
Detect when PyProxies are used with the GIL released and raise an error (#3719)
Resolves #3717.

Before:

```js
$ tstate = pyodide._module._PyEval_SaveThread()
$ pyodide.globals.get("x")
Pyodide has suffered a fatal error. Please report this to the Pyodide maintainers.
The cause of the fatal error was:
RuntimeError: memory access out of bounds
```

After:

```js
$ tstate = pyodide._module._PyEval_SaveThread()
$ pyodide.globals.get("x")
Uncaught NoGilError: Attempted to use PyProxy when Python GIL not held
```
2023-04-01 20:27:49 +02:00
David Lechner 687989c1b5
export python_stdlib.zip in package.json (#3723)
v0.23.0 changed which binary files are needed (removed pyodide_py.tar and pyodide.asm.data and added python_stdlib.zip). The old files were removed from the exports but the new file was not added to the exports.
2023-04-01 20:33:56 +09:00
Roman Yurchak c7168bf112
Remove pyparsing dependency in packaging (#3726)
We forgot to remove it when updating packaging.
2023-04-01 20:26:11 +09:00
Hood Chatham 3e05af6963
Using esbuild instead of rollup (take 2) (#3720)
Co-authored-by: webreflection <andrea.giammarchi@gmail.com>
2023-03-31 09:30:04 +02:00
Roman Yurchak 3446d2e0a1
Bump main to 0.24.0.dev0 (#3721) 2023-03-31 09:29:32 +02:00
Roman Yurchak 53de1c3e72
Version 0.23.0 (#3712) 2023-03-30 23:30:18 +02:00
chrysn 2b20b2b0d0
Add package cbor-diag (#3715) 2023-03-30 20:54:28 +02:00
Roman Yurchak 49caa889da
Fix content compression in the deployment script (#3716) 2023-03-30 20:48:19 +02:00
Gyeongjae Choi 2046310460
ENH Support SDL-based packages and add pyxel (#3508)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2023-03-30 08:18:31 +00:00
Roman Yurchak 7f4f66b34b
Deploy py-compiled build (#3701)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2023-03-29 22:54:46 +02:00
Roman Yurchak bce105bd69 Revert "Using esbuild instead of rollup (#3679)"
This reverts commit be12f07ed9.
2023-03-29 22:08:03 +02:00
Roman Yurchak 0a1d87d45f
Customize build type in indexURL used by console.html (#3702)
[skip ci]
2023-03-29 22:06:59 +02:00
Roman Yurchak 0714afd3b6
More package updates + micropip 0.3.0 (#3709) 2023-03-29 16:28:42 +02:00
Hood Chatham 0579db7e2e
Update all packages (#3685)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2023-03-29 10:39:43 +02:00
Hood Chatham 4f13ab1465
Make PyProxy of async iterator JavaScript async iterables (#3708) 2023-03-29 08:29:16 +02:00
Hood Chatham 1e2f75d4e7 Revert "Make PyProxy of async iterator JavaScript async iterables"
This reverts commit 45104830ea.
2023-03-28 16:35:46 -07:00
Hood Chatham 45104830ea Make PyProxy of async iterator JavaScript async iterables
This was a pretty simple omission. I added test coverage.
Resolves #3678
2023-03-28 16:33:30 -07:00
Roman Yurchak 7ad9668788
DOC Re-organize changelog for 0.23.0 (#3707)
[skip ci]
2023-03-28 23:41:17 +02:00
Roman Yurchak 8058cb6703
Support for py-compiling folders + repodata.json update (#3700)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2023-03-28 11:28:28 +00:00
Roman Yurchak dc2dd417cb
PKG Add yarl and idna (#3703)
This adds the yarl package which is a requirement (with some Cython code) for the openai client library (#3588). 
idna is a Pure python dependency of yarl.
2023-03-28 16:37:36 +09:00
Andrea Giammarchi be12f07ed9
Using esbuild instead of rollup (#3679)
This PR removes *rollup* in favor of *esbuild*, ensuring `DEBUG` flag, when used, 
is available to the produced JS and the *umd* dance has been simplified, ditching 
the *amd* part from it as I think *amd* is kinda dead as module system.
2023-03-27 12:48:19 -07:00
Hood Chatham f521b028fe
DOC Add roadmap entry for documentation improvements / tutorials (#3637)
[skip ci]
2023-03-27 13:35:06 +02:00
Roman Yurchak de7ac903e7
DOC Remove pyodide-build CLI from the documentation (#3699)
[skip ci]
2023-03-27 09:58:13 +02:00
Gyeongjae Choi dddfa820f9
Remove deprecated methods (#3677)
Remove deprecated methods before releasing 0.23 following the [deprecation timeline](https://github.com/pyodide/pyodide/blob/main/docs/project/deprecation-timeline.md)
2023-03-27 10:48:33 +09:00
Hood Chatham edddf21c7b
MAINT Improvements to mkpkg error handling (#3684)
Removes tracebacks from "user errors" and improves error messages.
2023-03-27 09:55:51 +09:00
Victor Blomqvist 99c5274c03
DOC Fix github actions example building example in docs (#3696)
[skip ci]
2023-03-26 11:39:17 +02:00
Ye Joo Park 90c10bbcd4
DOC Add a link to the GitHub repository (#3692) 2023-03-25 14:49:25 +01:00
Gyeongjae Choi fe8badf566
Fix compression of the dev deployment (retry) (#3698) 2023-03-25 11:33:16 +01:00
Roman Yurchak 096a834af3
Fix compression of the dev deployment (#3693)
Closes https://github.com/pyodide/pyodide/issues/3687

I forgot to make the changes for the dev deployment in
https://github.com/pyodide/pyodide/pull/3667
Overall those are mostly identical lines repeated several times, however
because the cost of error is pretty high I prefer not to factorize it
for now. Instead, we should rethink this system, maybe moving dev
deployment to a separate bucket and making release deployment immutable.
2023-03-25 10:08:02 +09:00
Gyeongjae Choi f5f1bb5ca3
Specify rust toolchain requirements in cramjam meta.yaml (#3691) 2023-03-24 13:14:47 +09:00
Deepak Cherian fc999cd145
Update xarray to 2023.03.0 (#3683)
<!-- Thank you for contributing to Pyodide! All improvements are
welcome,
     so don't be afraid to make a PR. -->

### Description

<!-- Please explain what your PR is about:
     - reasoning for the change
     - some details of updated code
     - any noteworthy choices to be aware of
	Please refer to any related issues by #<issue_id> -->

### Checklists

<!-- Note:
     If you think some of these steps are not necessary for your PR,
remove those checkboxes, or mark them as checked. If you keep unchecked
checkboxes,
     we will assume that your PR is not ready to be merged  -->
2023-03-23 09:00:24 +01:00
Gyeongjae Choi b801885353
Out-of-tree recipe build support (#3544)
Add out-of-tree support for `pyodide build-recipes` command.
This mostly reuses xbuildenv we use for the out-of-tree build.
2023-03-23 14:01:27 +09:00
Hood Chatham fe9c2238fc
Add hereditary option to as_object_map (#3638)
This automatically apply `as_object_map` to the values of the map 
when the values are "plain old objects". The behavior is slightly naive. 
Hopefully it will satisfy most people who have requested this feature.
2023-03-22 17:48:32 +01:00
Hood Chatham 92afb1342c
Add multidict (#3581) 2023-03-22 17:42:43 +01:00
Roman Yurchak bd2377444d
Add stdLibURL parameter to loadPyodide (#3670)
Allows to customize the URL from which the Python standard library is
loaded
2023-03-21 14:44:30 +00:00
Roman Yurchak 601d939fdd
Fix wheel compression with the JsDelivr CDN (#3667)
Set the MIME type for wheels and zip files to application/wasm to enable CDN compression. Also optionally disable compression in zip files and wheels to make the brotli compression by the CDN more efficient.

Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2023-03-21 09:11:47 +01:00
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