Commit Graph

220 Commits

Author SHA1 Message Date
Roman Yurchak ccdadc6e93 Move CLAPACK_WA to the root folder 2018-11-15 13:22:36 +01:00
Roman Yurchak 3e1d6348a7 Statically link BLAS/LAPACK 2018-11-15 13:22:36 +01:00
Roman Yurchak 40605620f8 Use scipy 0.17.1 2018-11-15 13:22:36 +01:00
Michael Droettboom f292355a19 Add .bumpversion.cfg 2018-11-12 13:30:30 -05:00
Roman Yurchak 78bf51daac CLAPACK setup 2018-10-31 15:12:43 +01:00
Michael Droettboom 1865046a1f Simplify make lint 2018-10-08 13:18:28 -04:00
Roman Yurchak 372cc96865 Autopep8 on all benchmarks 2018-10-03 21:48:43 +02:00
Roman Yurchak 95379aa043
Merge pull request #202 from mdboom/fix-benchmarks
Fix benchmarks in light of recent changes
2018-10-03 12:02:02 +02:00
Roman Yurchak 070c898535
Merge pull request #204 from mdboom/lint-pyodide-build
MAINT: Lint all the things
2018-10-02 16:24:59 +02:00
Michael Droettboom 8412fa2679 Add pyodide_build to flake8 2018-10-02 07:54:37 -04:00
Michael Droettboom fa4456ed12 Try to fix `make benchmark` 2018-10-01 21:11:02 -04:00
Michael Droettboom 6536e5a07c Lint all the things 2018-10-01 19:11:38 -04:00
Michael Droettboom 58048cff2c Upgrade to emscripten 1.38.12 2018-10-01 18:56:57 -04:00
Roman Yurchak b9ad36fdd7 Set "BINARYEN_TRAP_MODE='clamp'" 2018-09-27 11:38:26 +02:00
Michael Droettboom 9d15654f1b
Merge pull request #170 from mdboom/lz4-c
WIP: Use LZ4 filesystem compression, using the canonical C implementation
2018-09-20 10:52:35 -04:00
Michael Droettboom fff45f8b78 Reinstate uglify 2018-09-20 08:27:16 -04:00
Roman Yurchak 5b0381bd4c Add src/python_dev.html 2018-09-20 14:18:50 +02:00
Michael Droettboom 2a6897a293 Remove debugging flags 2018-09-19 16:44:54 -04:00
Michael Droettboom 0d4b22ba77 Use LZ4 filesystem compression, using the canonical C implementation 2018-09-19 16:44:54 -04:00
Michael Droettboom fcc2b7a036 Reorg pyodide ns to separate emscripten details from public API 2018-09-19 10:50:23 -04:00
Roman Yurchak 98f843df0e Fix versioning with tags starting with v 2018-09-17 14:45:08 +02:00
Roman Yurchak 59de8d4a6d Expose version information in javascript 2018-09-14 17:12:32 +02:00
Roman Yurchak c36a044a03 Store version information in src/pyodide.py 2018-09-14 14:35:28 +02:00
Roman Yurchak 02ce5a4a9e
Merge pull request #155 from mdboom/allow-memory-growth
Set ALLOW_MEMORY_GROWTH=1
2018-09-13 18:01:55 +02:00
Michael Droettboom 84f2f28242 Vendor file_packager.py 2018-09-12 10:55:50 -04:00
Michael Droettboom 65817abc7d Add test 2018-09-12 10:16:23 -04:00
Michael Droettboom bf68705eb7 Set ALLOW_MEMORY_GROWTH=1 2018-09-11 17:07:31 -04:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Roman Yurchak bfd0e58631 Address review comments 2018-08-28 16:20:35 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Michael Droettboom 56ef3a0960
Merge pull request #123 from mdboom/no-full-paths
Don't include full paths in build products
2018-08-22 13:54:52 -04:00
Michael Droettboom c8527c5e5e Don't include full paths in package metadata 2018-08-21 11:29:14 -04:00
Roman Yurchak 02905d8ca5 Show pytest report for skipped tests, XFAIL, XPASS 2018-08-21 11:08:47 +03:00
Roman Yurchak 6ef80a8f5d Use python instead of python2 2018-08-17 00:09:50 +03:00
Roman Yurchak 4d2f4bf6ac Fix emscripten tag 1.38.10 2018-08-16 16:48:32 +03:00
Michael Droettboom a5c5101e11 Don't include compiled tests 2018-08-09 16:51:47 -04:00
Michael Droettboom 779da3cd4e
Merge pull request #96 from mdboom/fix93-string-decoding
Fix #93 by avoiding use of TextDecoder
2018-07-30 15:37:20 -04:00
Michael Droettboom a07b6f3913 Fix #93 by avoiding use of TextDecoder
Any use of TextDecoder on a part of the Wasm HEAP seems to cause crashes
when using WebAssembly.instantiate later on (in Chrome).

The fix is to:

- Avoid use of TextDecoder in emscripten-generated code by setting
  -s TEXTDECODER=0
- Do the Python-to-JS string conversion a different way:

  - Handle the native format of a Python Unicode string (which is either UCS1,
    UCS 2 or UCS 4) directly.  This has the added advantage of being
    computationally simpler than encoding/decoding to/from UTF8.
2018-07-26 16:50:12 -04:00
Michael Droettboom efac715e60
Merge pull request #79 from mdboom/codecs
Obsoletes #22.  Include all codecs, since removing tests imp. size
2018-07-25 16:23:38 -04:00
Michael Droettboom 860de942b8 Fix case where ccache isn't installed 2018-07-25 07:54:55 -04:00
Michael Droettboom 73934a3f44 Use instafail so we can see what's going on 2018-07-25 07:27:15 -04:00
Michael Droettboom 5c5bf6adf3 Obsoletes #22. Include all codecs, since removing tests imp. size. 2018-07-25 07:27:15 -04:00
Michael Droettboom b3d8e4c2a7 Add another symbol to force inclusion of C++ exceptions 2018-07-24 17:48:18 -04:00
Michael Droettboom a02c2de983 Fix paths 2018-07-24 17:48:18 -04:00
Michael Droettboom 757725bfba
Merge pull request #88 from mdboom/ccache
Use ccache to speed up rebuilds
2018-07-24 17:46:56 -04:00
Michael Droettboom 40ea94b463
Merge pull request #91 from rth/minor-build-fixes
MAINT Minor fixes in the Makefile for make clean
2018-07-24 13:11:44 -04:00
Michael Droettboom f2426e5719 Fix how the ccache symlinks are installed 2018-07-24 12:59:07 -04:00
Michael Droettboom ad3a7599fc Recreate symlinks 2018-07-24 12:58:31 -04:00
Michael Droettboom 409fe3b3f4 Use ccache 2018-07-24 12:58:31 -04:00
Roman Yurchak 8be338a19c Minor Makefile fixes 2018-07-19 17:37:27 -07:00
Michael Droettboom 10785faa9b Fix rebuilding of emsdk 2018-07-19 20:33:56 -04:00
Michael Droettboom e4f3ad147e Fix main Makefile 2018-07-19 11:24:36 -04:00
Michael Droettboom 6c2d77979f Use a file, rather than a directory as the target for OSX compat 2018-07-19 08:14:31 -04:00
Michael Droettboom 670473f29b Fix webserver 2018-07-09 17:15:04 -04:00
Michael Droettboom 0f724ec0c0 Don't disable minification 2018-06-23 08:26:09 -04:00
Michael Droettboom a81603286b Fix #28: Compile side modules asyncronously
Requires upstream changes to emscripten
2018-06-23 08:24:21 -04:00
Michael Droettboom 222c0248a1 Add documentation to new build tools.
Clean up argument parsing.
2018-06-22 10:22:00 -04:00
Michael Droettboom 037d485fac Linting 2018-06-20 17:10:06 -04:00
Michael Droettboom 17e1562ded MVP of a proper packaging system 2018-06-20 14:54:47 -04:00
Michael Droettboom 0c7980c005 Fix pyparsing build 2018-06-19 14:27:02 -04:00
Michael Droettboom 5e9393a8e3 Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
Michael Droettboom 9e1af2f6fd Move pyparsing and cycler to their own packages 2018-06-15 16:40:25 -04:00
Michael Droettboom 6fec713b24 Fix kiwisolver build 2018-06-15 14:17:14 -04:00
Michael Droettboom b8b9519575 More work trying to get linting working again 2018-06-15 12:30:22 -04:00
Michael Droettboom af3a0a13e4 Move CPython tests to their own package 2018-06-15 12:21:12 -04:00
Michael Droettboom cb7a4046ba Move kiwisolver to its own package 2018-06-15 12:05:52 -04:00
Michael Droettboom 08beb135eb Move wasm_backend.py to the matplotlib package 2018-06-15 11:57:02 -04:00
Michael Droettboom cac03cd91e Disable C linting for now due to clang-format versioning 2018-06-14 15:01:48 -04:00
Michael Droettboom 7c0457cead Add linting 2018-06-14 14:19:08 -04:00
Michael Droettboom 82ddc3f0dc Update to new custom URL 2018-06-07 10:05:03 -04:00
Michael Droettboom d106b87e2a Move to new tag of Iodide 2018-06-04 20:57:12 -04:00
Michael Droettboom f2e46063d6 Pin the compiler to a particular version 2018-05-31 18:46:57 -04:00
Michael Droettboom 544ed5a6b9 Don't use cwrap
We only have two entry points, so it's easy to hardcode.
2018-05-30 19:53:17 -04:00
Michael Droettboom 9579aa99bc Working state 2018-05-30 13:49:49 -04:00
Michael Droettboom 69b20cb42f Delete lazy_import.py -- it isn't used anymore. 2018-05-24 11:41:14 -04:00
Michael Droettboom 43e910f0b7 Support downloading of plot files 2018-05-21 15:35:46 -04:00
Michael Droettboom 12b05ad373 Fix #32: Separate build of filesystem from main wasm module 2018-05-18 14:47:21 -04:00
Michael Droettboom 918ccc7300 First pass at matplotlib interaction 2018-05-18 13:32:33 -04:00
Michael Droettboom ac84840cc0 Reinstate the removal of legacy mac encodings 2018-05-17 12:03:06 -04:00
Michael Droettboom 6dc91e0846 First pass at matplotlib support 2018-05-17 11:57:39 -04:00
Michael Droettboom b537908b2b Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
Michael Droettboom aa433aaf81 Add first version of pyodide.py 2018-05-09 14:59:35 -04:00
Michael Droettboom 158b85ce40 Fix #20: Basic modularization of file system. 2018-04-30 11:31:36 -04:00
Michael Droettboom b2599e314c Fix #28: Work in Chrome through async compilation 2018-04-27 14:36:52 -04:00
Michael Droettboom 0e8963a480 Add Jupyter's stylesheet for inline html content 2018-04-26 11:04:28 -04:00
Michael Droettboom 5f42b61862 Lots of pandas fixes:
- Install dependencies: dateutil, pytz and six
- Patch things for threading and mmap
- Disable deployment (for related reasons)
2018-04-24 19:29:54 -04:00
Michael Droettboom a2dfc50277 Add example here and reenable auto-deployment 2018-04-20 11:17:08 -04:00
Michael Droettboom ca29f8cd3b Merge branch 'pandas' 2018-04-19 14:30:42 -04:00
Michael Droettboom 01bd8c8f17 Turn on link-time optimizations, now that compiler works 2018-04-19 14:13:47 -04:00
Michael Droettboom 93469d2996 Fix #21: Make numpy.fft work 2018-04-16 11:50:29 -04:00
Michael Droettboom e0fd7652b6 Don't dump everything in the global namespace 2018-04-13 10:03:38 -04:00
Michael Droettboom 2690ece84f Merge branch 'cpython-tests' 2018-04-11 15:27:22 -04:00
Michael Droettboom 8b1c538ef2 Mark broken tests so the test suite runs 2018-04-11 15:26:19 -04:00
Michael Droettboom 35a684271b Fix benchmark plot. Don't include Numpy import in benchmark timing. 2018-04-11 08:51:41 -04:00
Michael Droettboom 28a796ca1c Don't run tests in parallel 2018-04-09 14:24:39 -04:00
Michael Droettboom 6cce6d654d Basics for testing CPython 2018-04-09 10:39:52 -04:00
Michael Droettboom d0973c9fd5 Adding benchmarks 2018-04-06 19:22:24 -04:00
Michael Droettboom 8875c17b5c Fix URLs so remote loading works 2018-04-06 19:18:18 -04:00
Michael Droettboom 5870c62045 Add Pandas to the build 2018-04-03 11:43:02 -04:00
Michael Droettboom deea97cd4c Use pre-built toolchain 2018-04-02 13:06:36 -04:00
Michael Droettboom 4e6079e0b0 Clean out wasm.pre files 2018-03-30 14:09:55 -04:00
Michael Droettboom 9dc47c4c6c Fix build so emsdk runs first 2018-03-30 13:13:04 -04:00
Michael Droettboom b8c3e600c2 Add end-to-end build. Travis tests. 2018-03-30 13:08:06 -04:00
Michael Droettboom 2ad135ef06 Add testing 2018-03-30 10:51:13 -04:00
Michael Droettboom 695bf2c80f Use WASM instead of asm.js 2018-03-29 15:24:33 -04:00
Michael Droettboom 5041c4ddd1 Add version of webbrowser.py that works in pyodide 2018-03-22 12:30:18 -04:00
Michael Droettboom a0d40e011e Fix makefiles running from scratch 2018-03-21 14:55:00 -04:00
Michael Droettboom 7e6754902c Reduce filesystem size 2018-03-21 10:45:25 -04:00
Michael Droettboom ddd0a73b85 Add lazy importing for a 2x speedup importing numpy 2018-03-21 10:05:16 -04:00
Michael Droettboom 280de281aa First working Numpy 2018-03-20 18:58:59 -04:00
Michael Droettboom 2e5a0432fa Support `pyimport` on the Javascript side. 2018-03-01 11:55:24 -05:00
Michael Droettboom 314ec07227 Add 'from js import X' on Python side 2018-02-28 19:43:03 -05:00
Michael Droettboom bd6aec63d8 Clean up Makefile 2018-02-28 15:39:16 -05:00
Michael Droettboom f2c08119af Add internal cpython build 2018-02-27 17:57:22 -05:00
Michael Droettboom 617dbcf4ea Fix #5: Python 3.6 support 2018-02-26 17:21:26 -05:00
Michael Droettboom df1c2e2cad Fix #3: Wrap Python objects for Javascript usage 2018-02-26 15:25:05 -05:00
Michael Droettboom 54b55455a3 Fix #7: Refactor code into separate modules 2018-02-26 10:02:52 -05:00
Michael Droettboom 1de972ef3f Use pyodide, rather than Module, as the main namespace 2018-02-26 08:31:46 -05:00
Michael Droettboom 7e5b45a08e Fix #4: Use WASM 2018-02-24 12:47:13 -05:00
Michael Droettboom 191ca2c7bd Bulk of initial work. 2018-02-23 14:34:33 -05:00