Hood Chatham
f772ca8ebf
ENH Separate ns variable in eval_code into globals and locals ( #1083 )
2021-01-10 19:06:27 +01:00
Hood Chatham
7b45762a32
Await jsproxy ( #880 )
...
Co-authored-by: Wei Ouyang <oeway007@gmail.com>
2021-01-10 19:04:08 +01:00
Dexter Chua
72555048b6
BLD Don't copy artifacts to root ( #1096 )
2021-01-10 18:19:34 +01:00
Dexter Chua
cd198e2927
Use python:3.8.2-slim-buster Docker base image ( #1095 )
...
This doesn't come with any build dependencies by default, so this
clarifies what really is needed (and as you can see from the diff, not
much).
2021-01-10 21:14:50 +08:00
Dexter Chua
80854142a9
TST Print failed tests instead of skipped ones ( #1104 )
2021-01-10 12:14:27 +01:00
Dexter Chua
e706dd4223
Document f2c patches ( #1087 )
2021-01-10 17:12:48 +08:00
Hood Chatham
4851be1158
Follow Python include advice ( #1094 )
2021-01-10 17:12:37 +08:00
Rudolfs Petrovs
83f8fa936b
Fix SHA256 hash checking, incorrect key was used in meta.yaml ( #1099 )
2021-01-10 12:47:58 +08:00
Dexter Chua
aa617cd437
Fix error messages if emsdk not built ( #1092 )
2021-01-10 10:51:08 +08:00
Hood Chatham
522b22df6c
Use strict in EM_JS ( #1089 )
2021-01-10 10:38:17 +08:00
Hood Chatham
516be55b43
MAINT Convert var to let in core ( #1085 )
2021-01-09 17:59:35 +01:00
joemarshall
6cc7f9c46d
Make f2c functions return int
...
This patch makes everything in numpy, scipy and CLAPACK that began life as a fortran subroutine return int, whereas before they were a smattering of void plus lots of int, with a bunch of conflicts where the same function was defined as int in some and void in others. This matters because on upstream emscripten, these packages will not build due to linker conflicts, as the wasm linker can't link a function returning int to a function returning void.
Annoyingly, this has to be int return not void, because whereas a normal fortran subroutine doesn't return anything, there's an obscure feature of fortran 77 called alternative returns which allows subroutines to say they want to return by jumping to some other place in the code. f2c handles this with integer return values.
2021-01-09 17:44:41 +08:00
Hood Chatham
726916a07c
Explanation for error_handling.h, cleanup ( #1078 )
2021-01-09 09:06:12 +08:00
casatir
1bfe31a41c
ENH Customizable eval_code behavior ( #1056 )
2021-01-08 17:31:31 +01:00
Michael Greminger
9c7ff5658f
Add build/script for nonlib pkg ( #1070 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Dexter Chua <dalcde@users.noreply.github.com>
2021-01-08 17:30:39 +01:00
Dexter Chua
e46aa9cff6
BLD Remove sitecustomize ( #1072 )
2021-01-08 17:29:52 +01:00
Dexter Chua
c5f9a98de3
BLD Stop hardcoding file_packager.py directory ( #1073 )
2021-01-08 17:29:01 +01:00
Dexter Chua
3e33d88373
Remove dataLoadPromise in pyodide.js ( #1075 )
...
This is not necessary, because postRun is not run until all dependencies
are satisfied.
Since the definition of Module.postRun is slightly modified here, I took
the opportunity to convert it to use async/await.
2021-01-08 17:28:03 +01:00
Hood Chatham
e11d40ef04
Unify fail macros ( #1062 )
2021-01-08 14:33:27 +08:00
Hood Chatham
1baffc14f8
Add `version` field to pyodide in main.c ( #1065 )
...
This is now a string constant not a function and no longer imports the pyodide python package into the main user namespace.
2021-01-08 11:06:48 +08:00
Hood Chatham
42d9d6caed
API Change: Remove repr API ( #1067 )
2021-01-08 11:00:27 +08:00
Hood Chatham
cb29e5ef53
More careful impl of hiwire_bool, added test cases ( #1061 )
2021-01-08 10:35:16 +08:00
Dexter Chua
06b6285253
Properly monitor pyodide-py changes ( #1071 )
...
Fixes #1069
2021-01-08 10:18:40 +08:00
Hood Chatham
a99859e62b
API: Remove pyodide.get_completions ( #1066 )
2021-01-07 22:20:13 +01:00
Roman Yurchak
b2a2f413d8
MAINT Update pre-built docker version to 0.16.1 ( #1068 )
2021-01-07 20:30:42 +01:00
Michael Greminger
3e89750d16
PKG Add nlopt package ( #1034 )
2021-01-07 19:22:38 +01:00
casatir
7ac95d0259
Simplifying eval_code and avoid injecting dummy variable. ( #1041 )
2021-01-07 09:27:42 +01:00
Dexter Chua
2454c483d6
git clone --depth 1 emsdk ( #1063 )
2021-01-07 09:01:25 +01:00
Michael Greminger
ec527fee02
Fix build error for zlib ( #1060 )
2021-01-07 10:48:04 +08:00
Hood Chatham
a58c8d7186
EM_JS wrappers to convert calls to use Python error conventions ( #1051 )
2021-01-06 23:48:15 +01:00
Dexter Chua
6ef0ebbfdf
Refactor conftest.py ( #1055 )
2021-01-06 23:29:10 +01:00
Hood Chatham
1f816eea9c
Remove `from js import iodide` from matplotlib wasm_backend ( #1057 )
2021-01-06 21:56:27 +01:00
Dexter Chua
2aa8982990
Actually generate a sysconfigdata.py ( #1044 )
...
Previously, we simply copied from the host, which has wildly incorrect
values. Fixes #1042
2021-01-05 14:14:55 +01:00
Hood Chatham
34af5c0c7a
Make Jsproxy getattr and dir use GenericGetAttr and __dir__ ( #1017 )
2021-01-05 13:49:02 +01:00
Dexter Chua
0eaa29b3f3
Clean up workspace after core-python build ( #1045 )
...
Persisting fewer artifacts between jobs should give a slightly faster
build. This also guarantees that all we need to build packages are emsdk
and cpython/installs, which is useful for third party packages building.
2021-01-05 09:47:28 +01:00
casatir
1155077541
Fix commented trailing semicolon in eval_code. ( #1039 )
2021-01-04 23:16:52 +01:00
Hood Chatham
f43fc42f35
Use Uint32 counter in hiwire ( #1016 )
...
Also replaces JsERROR instances with NULL
2021-01-04 23:07:40 +01:00
Hood Chatham
9eaf376b96
Detect pyodide.js failure in conftest.py ( #995 )
2021-01-04 14:16:28 +01:00
Dexter Chua
15a8ada2d2
Minimal test for regex ( #1038 )
...
This is useful for testing the build system becaues regex is a fairly
small package that uses C.
2021-01-04 19:52:43 +08:00
Dexter Chua
81cc3015bb
Use replace-libs for matplotlib ( #1037 )
...
The library that is supplied by USE_PNG is png, but matplotlib seeks
png16. With the fastcomp backend, we end up ignoring it anyway, but with
the upstream backend this will be the correct course of action
2021-01-04 09:50:01 +01:00
Dexter Chua
966be460c7
Remove unused lines from .gitignore ( #1036 )
...
- /build/ is duplicate
- lz4 doesn't exist anymore
- If .bc files were produced we ought to be alarmed
2021-01-04 14:36:58 +08:00
Dexter Chua
ac3f1a358e
Build C libraries with the Python build system ( #1027 )
2021-01-03 22:09:40 +01:00
Roman Yurchak
d15fe32c21
Don't include jedi and parso in the core pyodide package ( #987 )
2021-01-03 17:50:48 +01:00
Roman Yurchak
d5a7ada6ff
TST Fix test_pywasmcross.py::test_handle_command ( #1032 )
2021-01-03 17:11:32 +01:00
joemarshall
5ed423d9b3
Support replace libraries option in yaml files ( #1029 )
...
Some libraries have different names on wasm e.g. png16
2021-01-03 23:37:44 +08:00
joemarshall
324f595539
build .o files rather than .bc files. ( #1028 )
...
asm.js fastcomp build doesn't care about the file extension. upstream (wasm direct) build needs it to be .o
2021-01-03 22:14:56 +08:00
Dexter Chua
5489c9b3ba
Update docs for six change ( #1026 )
2021-01-03 20:00:31 +08:00
Dexter Chua
f6f5da1145
Create script to set emscripten env vars ( #1013 )
2021-01-03 12:25:14 +01:00
Dexter Chua
2b5a79f72e
Simplify micropip ( #1022 )
2021-01-03 12:24:32 +01:00
Dexter Chua
a211802b44
Slightly simplify cpython patch ( #1023 )
2021-01-03 09:48:16 +01:00