Hood Chatham
150c1f6b45
API Add "loadPyodide" function ( #1363 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-04-01 00:43:46 +02:00
Hood Chatham
f3dc9024f0
Apply lints suggested by lgtm.com ( #1398 )
2021-03-31 21:11:41 +02:00
Hood Chatham
8cdd45b0d8
Universally check for hiwire memory leaks in test suite ( #1340 )
2021-03-24 16:32:26 -07:00
Hood Chatham
ccd0f1335b
DOC Implement autosummary for js autodoc, use autodocsumm for py autodoc ( #1354 )
2021-03-22 09:39:09 +01:00
Hood Chatham
6bc94372aa
Shorten pytest summary table test names (from #1340 ) ( #1346 )
2021-03-22 09:16:16 +01:00
Hood Chatham
9baffb6b7f
Use hypothesis to test string conversions between js and python ( #1339 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-17 10:03:42 +01:00
Hood Chatham
a31f0c4e39
ENH micropip: fetch instead of XMLHttpRequest, async functions ( #1324 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
and remove memory leaks
2021-03-14 11:30:54 +01:00
Hood Chatham
3c5db381cd
Rename deepCopyToJavascript -> toJs & rm shallowCopyToJavascript ( #1231 )
2021-02-11 22:02:15 +01:00
Hood Chatham
b3a965a1f6
Don't automatically copy python objects into javascript ( #1167 )
...
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis
* Lint
* Adjust conftest to automatically deep_copy results of run / run_async
* Update conftest again
* Fix deep/shallowCopyToJavascript
* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id
* Fix the remaining tests (hopefully)
* Lint
* Fix more tests
* Fix some numpy tests
* Lint
* Fix more tests
* Lint
* Temporarily dummy out setLineDash since it breaks test
* Fix test_console
* Update changelog
2021-02-02 19:45:56 +01:00
Jan Max Meyer
81810a4c4b
Revert "Don't automatically copy python objects into javascript ( #1152 )" ( #1165 )
...
This reverts commit 6a44233562
.
2021-01-22 18:22:31 +01:00
Hood Chatham
6a44233562
Don't automatically copy python objects into javascript ( #1152 )
...
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis
* Lint
* Adjust conftest to automatically deep_copy results of run / run_async
* Update conftest again
* Fix deep/shallowCopyToJavascript
* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id
* Fix the remaining tests (hopefully)
* Lint
* Fix more tests
* Fix some numpy tests
* Lint
* Fix more tests
* Lint
* Temporarily dummy out setLineDash since it breaks test
2021-01-22 12:28:22 +01:00
Dexter Chua
83a1d7b328
TST: Combine run_js_async and run_js ( #1143 )
2021-01-17 10:12:20 +01:00
Dexter Chua
293fefa7df
Don't print duplicate error message in chrome ( #1144 )
...
In chrome, the error message is contained in the stack. Avoid printing
it twice.
2021-01-16 13:50:40 +01:00
Dexter Chua
d70c32e87a
TST Don't set stackTraceLimit twice ( #1139 )
...
We already set it during initialization
2021-01-15 10:41:36 +01:00
Hood Chatham
816aaa01ce
MAINT: Update conftest to check PyErr_Occurred ( #1113 )
2021-01-13 16:20:01 +08:00
Dexter Chua
65a9da04a3
Experimental new test system ( #1047 )
2021-01-11 18:25:55 +01:00
Dexter Chua
6ef0ebbfdf
Refactor conftest.py ( #1055 )
2021-01-06 23:29:10 +01:00
Hood Chatham
9eaf376b96
Detect pyodide.js failure in conftest.py ( #995 )
2021-01-04 14:16:28 +01:00
Hood Chatham
eeaa3c3ecf
runPython refactoring ( #923 )
...
Co-authored-by: Dexter Chua <dec41@srcf.net>
2021-01-02 23:44:24 +01:00
Roman Yurchak
411a058d7b
TST Replace test CGI server with pytest-httpserver ( #823 )
2020-12-06 14:08:22 +01:00
Roman Yurchak
8c22c98a43
MAINT Reorganize src/ and tests/ folders ( #786 )
2020-11-09 13:28:02 +01:00
Roman Yurchak
fc5495ffdb
Update to Python 3.8.2 ( #712 )
...
* Updating to CPython 3.8
* More fixes
* Skip python headers check in tools/dependency-check.sh
* Fix checksum
* Fix packages
* Fix syntax error
* Fix benchmark path
* Update CPython tests
* More test fixes
* Fix PyStone
* More Cpython test fixes
* Update docs
* Fix issue in conftest
* Add documentation
* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak
9afc7a1617
STY Apply black for code style ( #702 )
...
* Apply black
* A few fixes
* Relax flake8 checks
* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak
00ef8956f8
MAINT Remove pytest.ini ( #664 )
2020-05-18 21:22:48 +02:00
Roman Yurchak
ac68a30511
Supporty custom wheel locations in micropip
2020-05-11 09:51:14 +02:00
Kevin Howell
402a30e59f
Increase the selenium timeout ( #607 )
...
I suspect this will fix recent PR failures that timeout on importing
statsmodels on Chrome.
2020-03-04 13:16:40 +01:00
Roman Yurchak
2cf8639973
MAINT Move package tests under packages/ dir ( #471 )
...
* Move package tests under the packages/ folder
* Fix tests
2019-06-19 14:26:08 -04:00