Commit Graph

1953 Commits

Author SHA1 Message Date
Hood Chatham c082d936a4
MAINT Mark position-only params in _core_docs (#2427) 2022-05-02 18:28:51 -06:00
Michael Gilbert 6e4a63fb89
MAINT added missing build==0.7.0 dependency in requirements.txt (#2454) 2022-05-02 18:00:11 -06:00
Nicholas Bollweg 7152cea01d
also lowercase when normalizing micropip package names (#2445) 2022-05-02 13:33:40 -06:00
Michael Neil e3e3c193a2
Fix JS tests run in browser and node against build pyodide.js (#2425) 2022-05-02 13:33:22 -06:00
Roman Yurchak 975dd6dfd8
DOC Improve contributing instructions [skip ci] (#2447)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-05-02 09:09:32 -06:00
Hood Chatham 80a650cc33
MAINT declare module_init functions in TRY_INIT macros (#2437) 2022-05-02 07:22:53 -06:00
Gyeongjae Choi 3f9ae2ed1e
Fix micropip package name resolution (#2414)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-05-01 13:24:08 -06:00
Gyeongjae Choi d0ae8a66e1 Revert "v0.20.1a1"
This reverts commit 5100bc1e20.
2022-04-29 11:32:09 +00:00
Gyeongjae Choi 5100bc1e20 v0.20.1a1 2022-04-29 11:31:41 +00:00
Michael Droettboom 5700b867eb
Dependency checks for cmake (req. by emsdk) and libtool (req. by libffi) (#2423)
Earlier errors about these should make building smoother for new contributors.
2022-04-28 08:27:56 -07:00
Gyeongjae Choi 0c30f4bb27
BLD Fix pyodide-build installation when in Python virtual environment (#2416)
* Do not use prefix option when using virtual environment

* Remove prefix
2022-04-27 13:35:30 +09:00
Gyeongjae Choi e18e6c81a3
Fix rebuild check (#2419) 2022-04-26 16:10:36 +09:00
Brian Benjamin Maranville 07724919d0
PKG Add h5py (#2411)
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-04-21 21:47:01 +02:00
Michael Neil 71deef5acf
MAINT Fix being able to run javascript tests (#2413)
This change fixes the js directory so that tests will actually run. 
All files were changed to typescript and ts-mocha now executes
the tests. There is no need to make specific source files for esm, 
mjs, etc... These should be handled by the build process to output 
the correct module definitions like umd, etc...
The CI still doesn't seem to run the mocha tests though.
2022-04-21 07:32:42 -07:00
Gyeongjae Choi 6d34ef0b6f
DOC Fix renderer for Interface type (#2417) 2022-04-21 15:55:50 +09:00
Gyeongjae Choi 6f098b81cf
Fix rebuild check (#2415) 2022-04-21 13:24:40 +09:00
Gyeongjae Choi aaf9a5097f
Enable webp support in Pillow (#2407)
* Enable webp support in Pillow

* Update changelog
2022-04-21 11:15:21 +09:00
Gyeongjae Choi d24d656f0f
MAINT Reduce CI failures (#2409) 2022-04-20 09:50:33 +02:00
Hood Chatham fda600e519
Fix interrupt handler patch (#2405) 2022-04-19 14:40:58 +02: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
Gyeongjae Choi 5f52842a57
Fix typo in CDN url (#2404) 2022-04-17 21:31:57 -07: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 993940bbb9
Allow multiple loading of Pyodide instances (#2391) 2022-04-14 18:04:01 -07:00
Gyeongjae Choi a95a27e754
DOC Remove dummy packages from docs (#2358) 2022-04-14 06:22:07 -07:00
Hood Chatham c4ebd374f7
Fix type declarations (#2396)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-04-14 10:55:42 +02:00
Frank 1c14950b1a
Enable python_solvespace (#2389) 2022-04-12 07:35:01 -07:00
Roman Yurchak 628104155a
FIX Make core tests pass with ASSERTIONS=1 (#2385) 2022-04-11 16:02:38 -07:00
Hood Chatham bda8a85df7
Update debugging devguide (#2386) 2022-04-11 16:02:11 -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
Hood Chatham a19b34c792
Replace runtime assertions about JsRef size and alignment with compile time _Static_asserts (#2383) 2022-04-10 11:10:46 +02:00
Hood Chatham 30a863a057
Fix invocations of _PyArg_ParseStackAndKeywords (#2382) 2022-04-10 10:20:45 +02:00
Hood Chatham 952d9092a9 v0.21.0dev0 2022-04-09 13:50:07 -07:00
Hood Chatham 7a9273dd6c v0.20.0 2022-04-09 13:44:32 -07:00
Hood Chatham adc234b732
Changes for v0.20 release
Update changelog, remove wheels and rust packages from roadmap since we did those
2022-04-09 13:42:31 -07: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
Roman Yurchak 374eef1721
DOC Reorganize 0.20.0 changelog (#2380) 2022-04-09 11:05:19 -07:00
Hood Chatham 66fe7ede18
Update scipy to v1.8.0 (#2361) 2022-04-08 18:43:30 -07:00
Hood Chatham 70633aba7a
xfail statsmodels in chrome (#2377) 2022-04-08 18:42:45 -07:00
Henry Schreiner da7a3f55c1
chore: some pacage updates (#2375) 2022-04-08 14:19:10 -07:00
Henry Schreiner 4ec97fd939
fix: minor touchups (#2374)
Fixing a minor issue - pyodide-build doesn't work out of the box, it's missing two requirements.

Also updating a typo in the docs, and minor pre-commit bump.
2022-04-08 13:58:58 -07:00
Hood Chatham fe893b3165
Update pandas to v1.4.2 (#2370) 2022-04-08 12:06:38 -07:00
Hood Chatham 0c4470b6ef
Update cryptography to v3.4.8 (#2372) 2022-04-08 10:20:29 -07:00
Hood Chatham dfbf28856e
New keyboard interrupt patch from upstream (#2332) 2022-04-08 08:35:58 -07:00
Hood Chatham 69aab0b3a8
Update Pillow to v9.1.0 (#2362) 2022-04-08 08:35:22 -07:00
Gyeongjae Choi bd8f8c094d
TST Enable some skipped or xfailed tests (#2368) 2022-04-08 15:54:29 +02:00
Hood Chatham 23662b2772
More package updates (#2369) 2022-04-08 15:53:24 +02:00
Hood Chatham c477ca623a
Update statsmodels to v0.13.2 (#2366) 2022-04-07 18:34:42 -07:00
Hood Chatham 8e3cc8f3e6
Update scikit-image to v0.19.2 (#2367) 2022-04-07 18:34:27 -07:00
Hood Chatham f748f122bd
Update zarr to v2.11.3 (#2365) 2022-04-08 09:46:15 +09:00