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
Jay Harris
d1a5cfeb25
Compile python lxml ( #544 )
...
Co-authored-by: Luiz Silva <luizfrdasilva@gmail.com>
2020-06-30 18:37:22 +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
0e26ca0642
BLD Build CLAPACK, cpython and lz4 in parallel ( #701 )
2020-06-28 15:51:46 +02:00
Roman Yurchak
4ee8dedeed
Update to emscripten 1.38.31 ( #674 )
...
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2020-05-28 18:13:51 +02:00
Roman Yurchak
94000642d5
Bump version: 0.14.3 → 0.15.0
2020-05-20 21:11:50 +02:00
Roman Yurchak
dd4d788694
Update changelog, minor doc fixes and CDN URL updates ( #668 )
2020-05-20 18:58:43 +02:00
Jan Max Meyer
e8d2d82c1b
Merge pull request #645 from rth/partial-build
...
Support partial builds
2020-05-12 14:53:17 +02:00
Roman Yurchak
d02a96ece4
Fix Makefile syntax
2020-05-09 12:48:35 +02:00
Roman Yurchak
f3f596f0c1
Do no build CLAPACK if PYODIDE_PACKAGES is defined
2020-05-09 12:40:35 +02:00
Roman Yurchak
ea74555209
BLD include lz4 in `make clean` ( #641 )
2020-05-08 22:09:22 +02:00
Kevin Howell
c48ed60d69
ENH Reduce TOTAL_MEMORY to 5MiB ( #600 )
2020-02-03 12:47:47 +01:00
Dorian Pula
a1663e77e0
Add dependency check for the builds. ( #568 )
...
* Add dependency check for the builds.
* Use Python 3 specifically.
* Use the right target.
2019-11-19 16:51:45 -05:00
Sergio
bd38722f2d
Cleanup makefile ( #563 )
...
* Fix whilespace in makefile
* Add happy message after build-all
2019-11-18 16:32:05 -05:00
William Lachance
bbc6d8ddce
Remove various linux-isms in pyodide makefile
2019-10-21 12:27:18 -04:00
William Lachance
dd8faf5164
Insist on using bash shell for building pyodide
...
bash may not be the default on Mac
2019-10-21 12:27:18 -04:00
Marc Abramowitz
c49249854e
Build _bz2 module ( #364 )
2019-08-22 07:43:18 -04:00
Marc Abramowitz
5f7e4dacdf
Add "env" make target ( #505 )
...
I found this useful while debugging #501 , because it let me print
environment variables like `EMSCRIPTEN_VERSION` and `PATH`.
2019-08-14 12:08:17 -04:00
Michael Droettboom
5db6017070
Add support for completions based on jedi ( #504 )
2019-08-14 10:16:12 -04:00
Jan Max Meyer
b30fa5cd3b
Fixing Makefile to check for existing symlinks ( #483 )
...
Call of `make` reported "ln: failed to create symbolic link '$(PYODIDE_ROOT)/ccache/emcc': File exists". This solves this issue.
2019-07-04 17:05:49 -04: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
Michael Droettboom
6707647fa7
Update URL
2019-06-03 15:57:17 -04:00
Michael Droettboom
100e81f141
Update URL and document using Pyodide with Iodide ( #455 )
...
* Update URL and document using Pyodide with Iodide
* Update docs/using_pyodide_from_iodide.md
Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
* Update docs/using_pyodide_from_iodide.md
Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
2019-06-03 15:46:14 -04:00
Michael Droettboom
0ca6505261
Update docs about Netlify.
2019-05-31 16:02:51 -04:00
Marc Abramowitz
ac76220b59
Enable building sqlite3 into cpython ( #352 )
...
* Enable building sqlite3 into cpython
2019-03-26 08:44:21 -04:00
Michael Droettboom
7441d5250e
Partially address #338 : Provide simple method for interactive testing
...
This adds a basic repl-like console webpage that can be used for
testing of the local pyodide install.
It removes the broken examples based on standalone iodide.
2019-03-15 12:54:08 -04:00
Michael Droettboom
650d321bd9
Fix fresh build
2019-03-14 08:52:28 -04:00
Michael Droettboom
8f6e1bab09
Automatically rebuild packages if any patches or extra files change
2019-03-13 14:50:18 -04:00
Jason Stafford
00ba184861
selenium tests for webworkers
2019-02-06 09:20:34 -08:00
Jason Stafford
e1fb1b966e
add a generic webworker file
2019-01-31 15:07:48 -08:00
Michael Droettboom
9c8b6d2db0
Fix #305 : Fix PDF export from matplotlib
2019-01-25 09:33:52 -05:00
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
65ebb9944c
Merge pull request #293 from mdboom/upgrade-emscripten-1.38.22
...
Upgrade emscripten to 1.38.22
2019-01-17 14:04:24 -05:00
Michael Droettboom
7eb7e08403
Fix loading C++ modules
2019-01-16 11:35:40 -05:00
Michael Droettboom
db565ff8e9
Remove erroneous --profiling flag
2019-01-15 18:03:46 -05:00
Michael Droettboom
b24be2473e
Export all symbols from everything
2019-01-15 16:52:00 -05:00
Michael Droettboom
4b3bfe53ad
Upgrade emscripten to 1.38.22
2019-01-10 07:40:01 -05:00
Michael Droettboom
d4c92a5d68
Convert Numpy arrays to TypedArrays when possible
2018-12-27 14:22:08 -05:00
Roman Yurchak
79ba41b484
Update the iodide/pyodide-env:0.3.1 image
2018-11-15 13:24:27 +01:00
Roman Yurchak
66fe5feb2c
Better refactoring
2018-11-15 13:24:27 +01:00
Roman Yurchak
ba0e045b64
CLAPACK setup
2018-11-15 13:22:36 +01:00
Roman Yurchak
ead14ef33e
More fixes
2018-11-15 13:22:36 +01:00
Roman Yurchak
b495ead55b
Only include lapack when necessary
2018-11-15 13:22:36 +01:00
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