Commit Graph

229 Commits

Author SHA1 Message Date
Michael Droettboom 2f3a727eab Add test for wasm_backend. Fix PDF test. 2019-02-21 18:26:42 -05:00
Michael Droettboom 45d1449209 Include plt.show() in test 2019-02-21 18:17:24 -05:00
Michael Droettboom 7c097fa4c2 Handle numpy scalars in python2js_buffer 2019-02-21 13:59:45 -05:00
Michael Droettboom 758ef4afbb Fix conversion from jsproxy to dict 2019-02-15 15:00:43 -05:00
Michael Droettboom 89fcd32a20
Apply suggestions from code review
Co-Authored-By: jstafford <jason.stafford@scrycollective.com>
2019-02-07 13:15:40 -08:00
Jason Stafford 052ada4855 fix lint error 2019-02-06 09:28:20 -08:00
Jason Stafford 00ba184861 selenium tests for webworkers 2019-02-06 09:20:34 -08:00
Michael Droettboom 50f630c8ee
Merge pull request #307 from mdboom/faster-js2python-string
Faster js2python string conversion
2019-01-28 21:03:08 -05:00
Michael Droettboom fc7d940440
Merge pull request #306 from mdboom/fix-matplotlib-pdf
Fix #305: Fix PDF export from matplotlib
2019-01-28 16:17:31 -05:00
Michael Droettboom ec779c706d Fix content length 2019-01-28 15:06:21 -05:00
Michael Droettboom 46f64b5c7c See #301: Speed-up js2python string conversion 2019-01-28 11:39:28 -05:00
Michael Droettboom 0fbaa77192 Fix format svg -> pdf 2019-01-28 11:04:52 -05:00
Michael Droettboom 9be8f39e57 Move cpython core tests to their own module 2019-01-25 10:33:46 -05:00
Michael Droettboom 9c8b6d2db0 Fix #305: Fix PDF export from matplotlib 2019-01-25 09:33:52 -05:00
Michael Droettboom 02f3b13459
Merge pull request #303 from mdboom/eval-nothing
fix iodide-project/iodide#1423: Don't crash if there is no Python code
2019-01-23 18:08:56 -05:00
Michael Droettboom 9f7f4826ce fix iodide-project/iodide#1423: Don't crash if there is no Python code 2019-01-23 16:59:52 -05:00
Michael Droettboom 37b0913563 Fix error handling 2019-01-23 00:07:39 +05:30
Madhur Tandon a704d5a04b Implement the ABI number functionality.
Modified ``Makefile`` and ``packages/Makefile`` to get ``PYODIDE_PACKAGE_ABI`` from ``Makefile.envs``
Made ``checkABI`` as a public API function.
Modified ``file_packager.py`` to check for the compatible ABI number.
Defined ABI number with which pyodide is built in Makefile.envs
Accepted ABI number in ``file_packager.py`` as an argument.
Modified ``buildpkg.py`` and ``buildall.py`` to account for the new argument.
Added the corresponding ``test_different_ABI`` test.
2019-01-23 00:07:39 +05:30
Michael Droettboom 833ce1a59e
Merge pull request #295 from mdboom/load-arbitrary-package
Fix #291: Allow loading of arbitrary packages
2019-01-16 12:05:04 -05:00
Michael Droettboom 4142ac0be0 Fix #291: Allow loading of arbitrary packages 2019-01-10 14:42:45 -05:00
Michael Droettboom 1f978500a0
Merge pull request #287 from mdboom/numpy-arrays-to-typed-arrays
Convert Numpy arrays to TypedArrays when possible
2019-01-10 07:40:55 -05:00
Michael Droettboom dabc8ecc15 Add comment about expected types 2018-12-28 11:28:31 -05:00
Michael Droettboom 56523cc20c Use "ones" for a more robust test 2018-12-28 11:28:14 -05:00
Michael Droettboom d4c92a5d68 Convert Numpy arrays to TypedArrays when possible 2018-12-27 14:22:08 -05:00
Michael Droettboom b66c160dc8
Merge pull request #284 from mdboom/fix-function-pointers-in-dylib
Fix #283: Handle function pointers in dylib with signatures not in main
2018-12-27 13:11:35 -05:00
Michael Droettboom fe16f98a70 Fix #283: Handle function pointers in dylib with signatures not in main 2018-12-20 13:07:54 -05:00
Michael Droettboom 2d4732826a Add comments in PR 2018-12-19 16:28:39 -05:00
Michael Droettboom f4400b12f1 Add a proxy to get global objects from Python 2018-12-19 14:22:18 -05:00
Michael Droettboom 3d7b79eda0 Properly handle Numpy scalar types in python2js 2018-12-17 08:30:42 -05:00
Michael Droettboom 81cd031360
Merge pull request #266 from rth/dedent-by-default
Handle multi-line Python strings input in JS
2018-12-10 17:25:37 -05:00
Roman Yurchak 7bcb3dacc2
Merge pull request #271 from darthtrevino/feature/add_networkx_package
Add NetworkX Package
2018-12-10 22:22:45 +01:00
Chris Trevino 90cdd3010b Remove pytest import 2018-12-06 14:06:42 -08:00
Chris Trevino 0d6cf03eb0 Remove chrome shunt from networkx tests, use standard assertions 2018-12-06 14:03:23 -08:00
Chris Trevino cfd73d5a81 Add networkx 2018-12-06 11:24:31 -08:00
Roman Yurchak 18ec5bbb26 Also dedent code in find_imports 2018-12-06 15:39:28 +01:00
Roman Yurchak fc7fe8ca30 Update tests with packaged scipy 2018-12-04 20:37:15 +01:00
Roman Yurchak edda6eefcd More fixes for joblib 2018-12-04 20:37:15 +01:00
Roman Yurchak ef993da92f Package scikit-learn 2018-12-04 20:37:15 +01:00
Roman Yurchak 30d150386d Revert change for runPythonAsync 2018-12-04 13:37:36 +01:00
Roman Yurchak fd6e0bf422
Merge pull request #265 from mdboom/kwargs
Fix #261: Support named arguments when calling a JS function
2018-12-04 12:42:38 +01:00
Roman Yurchak 6c9f4fbbf3 Handle multi-line string input 2018-12-04 12:24:11 +01:00
Michael Droettboom 04603d53c2
Merge pull request #211 from rth/scipy
Scipy packaging
2018-12-03 10:33:45 -05:00
Roman Yurchak c78a430a90
Merge pull request #264 from mdboom/continue-when-load-package-fails
Fix #254: Continue if package loading fails
2018-11-29 10:31:47 +01:00
Michael Droettboom 528c0f2961 Fix #261: Support named arguments when calling a JS function 2018-11-28 12:25:04 -05:00
Michael Droettboom 6cf40c49dd Fix #254: Continue if package loading fails 2018-11-28 12:12:38 -05:00
Madhur Tandon ff21689cea Fix Chrome Tests failing inside Docker 2018-11-26 22:14:00 +05:30
Roman Yurchak defc24c442 Lint 2018-11-15 13:24:27 +01:00
Roman Yurchak d6bc94ef53 Refactor scipy tests 2018-11-15 13:24:27 +01:00
Roman Yurchak ead14ef33e More fixes 2018-11-15 13:22:36 +01:00
Roman Yurchak 3747c6dbeb Patch mmap 2018-11-15 13:22:36 +01:00