Commit Graph

230 Commits

Author SHA1 Message Date
Hood Chatham d818f410c4
Use tblib to pickle errors in `run_in_pyodide` (#2619) 2022-05-27 12:28:46 -07:00
Gyeongjae Choi b20b43bd66
MAINT Split conftest.py into modules (#2418) 2022-05-08 16:52:08 +09:00
Hood Chatham c963d0b54c
Fix large integer conversions (#2484) 2022-05-05 12:14:20 -06:00
Henry Schreiner 1093b86e5b
refactor: use cmake 3.22 from pip (#2489)
* refactor: use cmake 3.22 from pip

* Fix dockerfile

* Update image tags

* Fix image

* Switch to pyodide docker image

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-05-04 14:22:50 -06:00
Will Lachance 505cf714c1
Add some basic benchmarks for pandas (#2474) 2022-05-04 14:17:16 -06:00
Hood Chatham ccf97a9bc7
Remove npm-link step (#2480) 2022-05-04 14:06:55 -06:00
Gyeongjae Choi 6900afdc5b
PKG Add opencv-python, ffmpeg and libwebp (#2305)
* Add opencv-python

* Update comment

* Add JPEG, PNG, WEBP, ZLIB support

* Add tests for image processing

* Add more core modules

* Disable opencl

* Replace lena with baboon and add more tests

* Add file system support

* Add ffmpeg

* Add more tests

* Disable pthread in ffmpeg

* Disable canonical input processing mode in node test

* Update changelog

* Remove import test

* Allow more time in the first test

* Split out libwebp

* Fix node test

* Use a seperate CI job for opencv-python

* Fix generator

* Update changelog

* Remove protobuf package

* Try to fix CI workspace conflict

* Fix CI

* Use another CI job for generating unified packages.json

* Try to fix CI

* Fix CI again

* Disable verbose build

* Prevent from building opencv-python twice

* Persist only build artifacts

* Sepearate Cmake args into a script

* Try to reuse build packages job

* Fix CI

* Fix typo

* Fix merge conflict

* Use large resource class for package build

* Do not upload unwanted artifacts

* Do not upload unwanted artifacts
2022-04-19 09:24:47 +09:00
Hood Chatham e5a46e520a
Fix npm package (#2394)
Various fixes to improve the npm package.

Switch to publishing the dist folder, fix indexURL for node, 
fix node commonJS import and ES6 import only publish core 
Pyodide interpreter to npm, download and cache other wheels 
on first use.
2022-04-17 21:10:03 -07:00
Hood Chatham 50af355e8c
Rename 'build' directory to 'dist' (#2387)
dist is both more accurate (the 'build' directory is normally where you do the build,
and normally consists of intermediate build artifacts no one cares about). dist also
occurs less frequently in the code base: after this change \bbuild\b has 466 matches,
whereas \bdist\b has 101 matches. build has 1072 matches whereas dist has 362.
2022-04-11 16:01:40 -07:00
Gyeongjae Choi 6a84067819
Update docker image (#2388) 2022-04-11 11:05:32 +09:00
Gyeongjae Choi 60d530801e
ENH Remove hard coded paths in `pyodide_build` (#2351)
We are pushing pyodide_build to PyPI as a Python package, but for now, 
installing pyodide_build from PyPI (i.e. pip install pyodide_build`) is almost 
useless because:

    there are bunch of hard-coded paths (e.g. Path(__file__).parents[2]),
    its dependencies are not specified in setup.cfg.

This PR is for mitigating this situation by removing hard-coded paths and
adding tests, and is also a preparation for our new CLI 
(https://github.com/pyodide/pyodide/issues/1977).
2022-04-09 13:41:10 -07:00
Hood Chatham 981f23869b
Test numpy in node (#2349) 2022-04-03 14:30:39 -07:00
Hood Chatham 0e1e2ac01c
Python 3.10 (#2225) 2022-03-17 15:48:56 -07:00
Hood Chatham c01ab547f0
Better package cross compilation (#2238)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-03-09 20:34:25 -08:00
Hood Chatham 36d0e15300
MAINT Improve circleci cache rules (#2253) 2022-03-04 23:50:44 -08:00
Hood Chatham d6071d267f
Upload build logs zip as circleci artifact (#2254) 2022-03-04 16:10:06 -08:00
Henry Schreiner a725c6ce0f
chore: use GHA for linting (#2245)
* chore: use GHA for linting

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* ci: always test even if lint fails
2022-03-04 11:12:12 +09:00
Gyeongjae Choi fd8433a013
MAINT Refactor benchmark script (#2227)
One can select which benchmark (pystone, numpy, matplotlib, or all) to be run through command-line arguments.
We can divide each benchmark to separate CI jobs in the future if needed.
Moved pystone benchmark to benchmark directory, preventing it from being included in Pyodide release.
2022-03-02 10:11:36 -08:00
Hood Chatham 5b22f5ed50
Add cache for lint CI to reduce timeouts (#2240) 2022-03-02 07:44:19 -08:00
Henry Schreiner 41b6db1bab
style: improve pre-commit (#2177) 2022-02-19 09:06:25 +01:00
Hood Chatham 30ea13fbbf
Support for C++ exceptions in packages (#2178) 2022-02-19 08:31:19 +01:00
Gyeongjae Choi 525d1111b0
CI Improve docker tagging rules (#2168) 2022-02-14 18:34:13 +01:00
Gyeongjae Choi 950c1dcbd2
CI Update to newer docker image (#2160) 2022-02-10 09:36:18 +01:00
Hood Chatham ad114b72a2
Fix typescript documentation (#2130) 2022-01-27 00:03:50 -08:00
Hood Chatham 704783ba91
Split off webworker / node compatibility into separate file (#2129) 2022-01-24 09:52:50 -08:00
Hood Chatham 0640a6714d
MAINT Remove routing rules section from s3-website-config (#2097) 2022-01-10 14:02:31 -08:00
Hood Chatham 1f4f3e2b85
MAINT Apply prettier to everything by default (#2095) 2022-01-10 13:47:59 -08:00
Wei Ouyang 4602ccf156
Upgrade scikit-image to v0.19.1 (#2005)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-01-07 00:47:56 +01:00
Hood Chatham 76693df2d8
MAINT Add a test for shared libraries (#2042) 2021-12-14 14:27:28 -08:00
Hood Chatham 19261f394c
Remove function pointer cast emulation (#2019) 2021-12-09 10:31:21 -08:00
Hood Chatham 0bc5a828e4
MAINT Store zipped build folder as circleci artifact (#2009) 2021-12-07 04:24:31 -08:00
Hood Chatham 418813de33
MAINT Split CI build-packages step in two (#2017)
Split build packages into a step for everything up to and including numpy and a second step for numpy and its dependencies.
Intended to prevent timeouts.
2021-12-05 12:34:09 -08:00
Grimmer Kang da49fe57de
MAINT use npm ci to make sure the consistent dependencies installed (#1999) 2021-11-27 20:43:31 +01:00
Grimmer 8abdf2e4ce
Fix webpack compatibility issue (#1900) 2021-11-04 12:38:47 -07:00
Roman Yurchak 61b3ad0a59
CI Use larger ressource classes for CircleCI (#1929) 2021-11-04 12:23:41 +01:00
Roman Yurchak 869705f6d4
ENH Improve logging when building packages (#1835)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-09-15 10:18:56 +02:00
Roman Yurchak aa1ce3adc4
BLD Use outer ccache wrapper (#1805) 2021-09-11 14:22:13 +02:00
Roman Yurchak ab53f6b06c
ENH Change to minimal build by default (#1804) 2021-09-02 22:19:23 +02:00
Roman Yurchak e938d589cc
FIX Avoid compressing files twice when deploying (#1767) 2021-08-01 15:01:00 +02:00
Hood 332fbcbd92 Release 0.18.0a1 (actually this time) 2021-07-24 13:30:54 -07:00
Hood Chatham 7c6b88bc36
Split webworker tests into separate CI jobs (#1744) 2021-07-23 18:22:12 -07:00
Hood Chatham b2291f8f9d
Fix stack usage benchmark in node (#1734) 2021-07-21 22:30:34 -07:00
Hood Chatham f0bd568a31
Set up pytest node tests (#1717) 2021-07-20 10:48:27 +02:00
Roman Yurchak 0fc99f47b6
CI Disable pytest-xdist (#1718) 2021-07-16 14:33:05 -07:00
Hood Chatham 49321abcf2
CI Unify CircleCI tests into one parametrized job (#1697)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-07-15 18:08:53 +02:00
Hood Chatham 7760ce7ab8
ENH mkpkg update improvements (#1465) 2021-07-12 13:54:01 +02:00
Hood Chatham 7e180cc8a2
Add stack usage benchmark (#1698) 2021-07-09 13:37:28 -07:00
Roman Yurchak e97d3bb2cf
Minimal Node.js support (#1691) 2021-07-09 22:26:58 +02:00
Roman Yurchak 327560ab69
Setup a JavaScript test suite (#1684) 2021-07-06 10:48:35 +02:00
Hood Chatham 5c5a276438
Store tests for circleci (#1669) 2021-06-26 10:31:00 -07:00