Commit Graph

66 Commits

Author SHA1 Message Date
Loïc Estève d471855b5f
Run scipy tests as part of the Github Action CI (#4935)
Triggered only on push and on PR commits if [scipy] is in the commit message.
2024-07-17 09:39:11 +02:00
dependabot[bot] 50ffb0e847
Bump oven-sh/setup-bun from 1 to 2 in the github-actions group (#4934)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 22:07:23 +09:00
Muspi Merol c03b2dcd02
Support `bun` (#4916)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-07-14 17:46:33 +09:00
Gyeongjae Choi cf41eafe16
CI: Setup safari test in GHA (#4886) 2024-06-29 12:30:16 +09:00
dependabot[bot] 8fb0badfe5
Bump docker/build-push-action from 5 to 6 in the github-actions group (#4884)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 18:20:57 +09:00
Gyeongjae Choi dd9366e30f
BLD Extract out xbuildenv create command from pyodide-build (#4798)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-31 18:27:57 +09:00
Gyeongjae Choi b388ec7bf0
CI Fix cross build env metadata update workflow again (#4820) 2024-05-31 18:27:39 +09:00
Gyeongjae Choi 2a63d79c9a
CI Fix version parsing in update_cross_build_releases workflow (#4808)
This workflow was not running correctly (log: pyodide/pyodide/actions/runs/9184058597/job/25255773845)
2024-05-27 05:22:15 -07:00
Gyeongjae Choi 56ab5c4ebb
Remove deploy dependencies from pyodide-build's pyproject.toml (#4752)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-25 10:32:38 +09:00
dependabot[bot] b36b13ab58
github-actions update actions/checkout and actions/setup-python (#4709)
Bumps the github-actions group with 2 updates: actions/checkout and actions/setup-python.
2024-04-22 12:37:36 +02:00
Gyeongjae Choi 6fb3d7340c
BLD Add a file holding cross build environment metadata (#4695) 2024-04-20 22:52:37 +09:00
Gyeongjae Choi fd80c7b1ed
CI Build with M1 runner (#4675)
Test using mac M1 runner as suggested by cclauss.
2024-04-08 15:58:33 +02:00
dependabot[bot] 9006a6572d
Bump the github-actions group with 8 updates (#4630)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 16:39:28 +09:00
Gyeongjae Choi 7e3ccf6234
Remove unused base-64 dependency and base64 Node compat (#4631) 2024-03-23 19:08:18 +09:00
Gyeongjae Choi b961c1f4a3
CI Disable webworker tests in gha (#4538) 2024-02-22 15:31:32 -08:00
Gyeongjae Choi 909b22497a
Unpin playwright version in GHA (#4525) 2024-02-15 09:15:18 -08:00
Hood Chatham fb31fff09a
Upgrade to Python 3.12.1 (#4435) 2024-02-03 19:25:45 -08:00
Gyeongjae Choi 775bb9e658
FIX Set playwright version cap temporarily (#4316) 2023-12-01 14:22:28 +09:00
Hood Chatham 2988faf8d4
Use upstreamed autosummary and automodule directives (#4196) 2023-10-02 12:00:32 -07:00
Christian Clauss 63bf4f87fd
Upgrade GitHub Actions: checkout and login (#4157) 2023-09-21 11:04:41 +02:00
Gyeongjae Choi 4c67f2929d
Fix using Python 2 in MacOS CI (#4131) 2023-09-10 14:07:25 +02:00
Gyeongjae Choi 8b7a9d5e37
CI Disable testing in macos (#4107)
Running core tests in GHA with macos + playwright has been very unstable lately.
It sometimes timeouts after 6 hours, or sometimes fails to launch playwright.

This PR disables core tests in macos temporarily. We can revisit this after release.
2023-08-30 16:29:47 +02:00
Milan Raj 2a5d85b14f
Deno smoke test (#3810)
Adds a smoke test to the CI for pyodide Deno support.
Uses the deno documented workflow for editing the contents of node_modules to test 
against the local build of pyodide.
2023-05-04 21:57:58 -07: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 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
Roman Yurchak 09c86770aa
Remove linting CI job in GHA (#3631) 2023-03-04 21:07:13 +09:00
Christian Clauss f3bedc154a
MAINT: Upgrade the remaining GitHub Actions (#3622) 2023-03-02 14:49:39 +01:00
Gyeongjae Choi ed3ae1ba49
Download standard libraries in a zipfile (#3582) 2023-03-01 23:11:30 +01:00
Christian Clauss 2adbe0e9d7
Upgrade GitHub Actions (#3608) 2023-02-28 10:10:21 +09:00
Gyeongjae Choi 66812b8295
CI Show compressed size of main modules after build (#3526)
This adds a short helper script which shows a gzip and brotli compressed size of a file,
and uses it in CI to check compressed size of pyodide.asm.* after build in addition to
the original file size.
2023-02-03 21:25:38 -08:00
Gyeongjae Choi 328a9ffc34
Add tag key in meta.yaml spec (#3444)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2023-01-27 13:31:26 +09:00
Hood Chatham 5e26d9f1ae
Build libpyodide.a (#3335)
This is work towards unvendoring the Pyodide foreign function interface. 

Prior to this point, we included a large amount of critical functionality with `--pre-js`.
So we could create an archive called `libpyodide.a` with the object files but to use it
you would have to pass `--pre-js _pyodide.out.js` at link time. This embeds all of this
stuff in an object file called `pyodide_pre.o` which goes in our archive so you get all
the needed js runtime by linking it. 

Of course someone trying to use this still has to get the Python code onto the import
path, either using `--preload-file`, using Python to unpack it as a zip archive as we now
do, with zipimporter, or otherwise. They also will have to link `libpython.a` (is CPython
going to start distributing an Emscripten libpython?) and probably various other things.

We have to use a hack to inject the JavaScript code into the object files. The normal
`EM_JS` macro cannot handle arbitrary JavaScript code -- for example it fails with many
regex. Instead we manually generate write a C source file that does what we need using
`xxd`. The generated C code is similar to what `EM_JS` generates, but it uses an array
initializer rather than a string initializer for the characters avoiding the C preprocessor /
compiler's strange opinions about strings.
2023-01-26 17:22:05 -08:00
Hood Chatham 3b2952fc92
Python3.11 (#3252) 2023-01-23 19:45:59 -08:00
Roman Yurchak 3bc78d247c
Deploy pyodide-py in CI (#3356)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-12-15 10:22:23 +01:00
Gyeongjae Choi d802fb3fdc
Remove pre-built docker image support (#3342) 2022-12-13 12:04:15 +09:00
Gyeongjae Choi 0c3545f06b
Unpin host Python patch versions in GHA (#3309) 2022-12-02 13:02:08 +09:00
Gyeongjae Choi d3b0d7f584
CI Move test-docs job to GHA (#3220) 2022-11-02 10:10:24 +01:00
Gyeongjae Choi 5e2688b37b
Bump docker image tag (#3221) 2022-11-02 16:25:27 +09:00
Gyeongjae Choi 25a341aab8
TST Fix jsexception test (#3202) 2022-10-25 10:31:38 +09:00
Gyeongjae Choi 318c60bf0a
Don't fail if codecov fails (#3188) 2022-10-18 17:22:41 +02:00
Gyeongjae Choi 50f46358c2
CI Fix PyPI deploy (#3139) 2022-09-21 17:27:55 +02:00
Hood Chatham a53bc5f571
Fix pypi deploy for patch releases (#3113) 2022-09-16 08:47:43 +02:00
Gyeongjae Choi 0333d1fa36
CI Fix pytest runtime option syntax (#3084) 2022-09-08 22:39:42 +09:00
Gyeongjae Choi 14708295cd
TST Fix location of the package import test file (#2926) 2022-08-04 10:05:30 +02:00
Roman Yurchak c85e00806b
MAINT Switch to pytest-pyodide (#2893)
Co-authored-by: ryanking13 <def6488@gmail.com>
2022-07-31 19:00:45 +09:00
Roman Yurchak 922d135c71
Enable codecov (#2871) 2022-07-15 09:41:15 +01:00
Gyeongjae Choi 5913f898cb
CI Add test summary on GHA (#2869) 2022-07-14 09:14:42 +09:00
Gyeongjae Choi 7d7b7e899d
TST Make `pyodide-test-runner` installable (#2742) 2022-07-04 09:07:01 +02:00
Gyeongjae Choi e7ad0ce944
Fix GHA timeout on firefox test (#2820)
For some reason, the recent playwright-python update (v.1.23.0)
made this test slower on firefox, which results in a CI timeout.
2022-07-01 21:59:14 -07:00