Commit Graph

1836 Commits

Author SHA1 Message Date
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 17fdd6cf64
Fix typo in docs [skip ci] (#2264) 2022-03-09 20:33:25 -08:00
Gyeongjae Choi 114c24d018
Fix word splitting on run_docker script (#2260) 2022-03-08 09:29:10 -08:00
Henry Schreiner 4f8b0a0344
chore: more pre-commit checking (#2257) 2022-03-07 21:51:20 -08:00
Hood Chatham dd70b565f5
Remove numpy decorators patch (#2259) 2022-03-07 21:44:35 -08:00
Henry Schreiner 138c7a7a7c
chore: matplotlib 3.5.1, yt 4 (#2234)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-03-06 21:14:24 -08:00
Hood Chatham fff0f0e9b0
Add `default_converter` argument to `to_js` and `toJs` (#2208) 2022-03-05 12:32:04 -08:00
Hood Chatham 36d0e15300
MAINT Improve circleci cache rules (#2253) 2022-03-04 23:50:44 -08:00
Henry Schreiner 7763e0a8f1
fix: better error messages, fewer tracebacks (#2242)
This reduces the text output when an error is hit, removing the tracebacks for known errors. Tracebacks are for unknown/unexpected errors - if you expect an error, it's better to print out an actual error message. I've also made the patch applying a bit more verbose in case it helps, as it sometimes does.

Also improvements to `BashRunner`: it no longer hangs when an error is raised and it is now a context manager
2022-03-04 23:44:54 -08:00
Hood Chatham d6071d267f
Upload build logs zip as circleci artifact (#2254) 2022-03-04 16:10:06 -08:00
Hood Chatham 9feb50bb48
Remove numpy patches work around for chrome 89 bug (#2171) 2022-03-04 16:09:51 -08:00
Hood Chatham 5724bbc05c
MAINT use variables for Python version rather than hardcoding it (#2241)
* As much as possible, use variable for Python version rather than hardcoding it

This should make Python updates easier.
2022-03-03 19:13:58 -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
Hood Chatham 913d706090
xfail draw_math_text (#2243) 2022-03-02 14:29:02 -08:00
Hood Chatham 0687b1a8c7
Fix bug in loadDynlib (#2235) 2022-03-02 10:12:07 -08: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
Hood Chatham e0393b2c6b
Handle strings and other weird things that are thrown as errors (#2236)
Unfortunately it is legal Javascript to throw weird stuff. Also unfortunately,
emscripten likes to throw weird stuff. Our `fatal_error` handling routine used
to incorrectly assume that things thrown were errors. This fixes it.
2022-03-02 07:06:44 -08:00
Jo Bovy 63161b56f5
Fix Astropy: avoid failing top level imports 2022-03-02 07:05:49 -08:00
LeoPsidom 8798e1f2fd
Use ESM import in module type webworker (#2220)
Co-authored-by: root <root@ip-172-31-32-133.us-east-2.compute.internal>
2022-03-02 00:31:41 -08:00
Liumeo e3760e8110
upgrade to jquery.terminal 2.32.0 (#2231) 2022-02-28 21:05:11 -08:00
Henry Schreiner e065454c35
chore: some package updates (#2230) 2022-02-28 20:55:28 -08:00
Hood Chatham bb36171334
Remove unneeded code from pywasmcross (#2224)
This was added by mistake in #2059
2022-02-28 20:31:29 +09:00
Henry Schreiner 8d00451142
chore: enable the rest of flake8 & bugbear (#2216) 2022-02-27 12:39:53 -05:00
gabrielfougeron 57a41af118
DOC Corrected sha256 doc (#2213) 2022-02-25 21:45:11 +09:00
Madhur Tandon 869b1bb0c3
benchmark html5 canvas renderer (#2151)
* benchmark html5 canvas renderer

* adhere to lint

* rectify condition

* increase timeout

* do suggested changes

* adhere to lint

* use correct backend for benchmarks

* reintroduce tests + fix futures callback

* adhere to lint

* increase timeout for tests

* use selenium_standalone for tests

* increase timeout for check_comparison

* add result() to Future

* add debugging print statement

* adhere to lint

* use draw() instead of draw_idle()

* add new reference image for math text

* return NaN for non-native

* replace math text image for chrome as well

* increase timeout

* selenium standalone for benchmarks

* only matplotlib benchmarks

* re-enable benchmarks for numpy

* adhere to lint

* increase timeout
2022-02-24 18:51:24 +09:00
Henry Schreiner edadd26439
chore: update pre-commit hooks (#2209) 2022-02-23 23:58:11 -05:00
Hood Chatham 08827661e1
Actually run wrapt tests (#2207) 2022-02-23 21:57:48 -05:00
Henry Schreiner 8385df36a4
tests: enabling mypy on untyped defs (#2204) 2022-02-23 17:10:53 -05:00
Henry Schreiner 66856a7427
MAINT isort (#2200) 2022-02-21 23:27:03 +01:00
Henry Schreiner ed22c06e07
chore: pyupgrade 3.9+ (#2195) 2022-02-20 17:13:37 -05:00
Henry Schreiner 1a8514d4a8
Add boost-histogram (#2174)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-02-19 10:18:46 +01:00
Roman Yurchak c11fabc479
Fix pre-commit CI (#2191) 2022-02-19 09:33:49 +01: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 1041e8ebee
Pin markupsafe version (#2183) 2022-02-18 07:55:33 -05:00
Gyeongjae Choi fcc8c4889f
Strip whitespace from micropip.list() output (#2181) 2022-02-16 09:06:43 -05:00
Gyeongjae Choi 55fbd32ef3
ENH Show informative error message when fetching wheel fails (#2175)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-02-15 12:20:24 +01:00
Hood Chatham 32f9d791be
Add default_converter argument to to_py (#2170) 2022-02-14 15:15:28 -05:00
Henry Schreiner d6e9ddf1f5
fix(mkpkg): arguments were incorrect (#2176)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2022-02-14 15:14:06 -05:00
Gyeongjae Choi 525d1111b0
CI Improve docker tagging rules (#2168) 2022-02-14 18:34:13 +01:00
Hood Chatham 39e028136a
MAINT Add Hiwire to top level namespace (#2173) 2022-02-14 09:20:15 -05:00
Hood Chatham f784e5e3d0
Use wheels instead of sdists for pure Python packages (#2126) 2022-02-12 16:44:10 -05:00
Hood Chatham 2b75cd685b
Add wrapt (#2165) 2022-02-12 16:32:29 -05:00
Gyeongjae Choi 950c1dcbd2
CI Update to newer docker image (#2160) 2022-02-10 09:36:18 +01:00
Gyeongjae Choi 54f6ba4d9a
Update Dockerfile to install latest browser versions (#2152)
* Update dockerfile and requirements.txt

* Temporarily use custom docker image

* Add build args for auto deployment

* Add missing build args

* Fix comment

* Temporarily disable the crashing test

* Change ARGS to ENV

* Use direct url instead of apt for chrome

* Support chrome versioning

* Update docker image

* Fix build args to env variables

* Revert to build args

* Unify version argument format

* Bring back the original CI image
2022-02-09 21:23:05 +09:00
Gyeongjae Choi 2005c9d231
Update the statsmodels URL (#2153)
* Update checksum of statsmodels

* Change url to PyPI
2022-02-02 14:19:37 +09:00
Hood Chatham 391c43e662
MAINT Separate some things out of Module (#2144) 2022-01-30 11:08:44 -08:00
Luka Mamukashvili 42cd4a49b7
MAINT Refactor *console.py* (#2140) 2022-01-30 09:40:21 -08:00
Paul Korzhyk 33ab51a4ed
DOC Fix typo in packages path [skip ci] (#2146) 2022-01-30 12:05:53 +01:00