Commit Graph

2106 Commits

Author SHA1 Message Date
Hood Chatham a47e9085b8
Drop Numpy use local blas lapack patch (#2696) 2022-06-12 13:07:00 +02:00
Hood Chatham d3544a06a8
Drop numpy init alloc cache patch (#2698) 2022-06-12 11:44:34 +09:00
Hood Chatham 105e1bffa3
Drop numpy execinfo patch (#2691) 2022-06-12 11:43:55 +09:00
Hood Chatham 1fc1d6ce8a
Remove numpy disable maybe uninitialized patch (#2694) 2022-06-12 00:32:11 +02:00
Hood Chatham 91c56911f6
Drop numpy fix-longdouble patch (#2693) 2022-06-12 00:31:34 +02:00
Hood Chatham ed5953ceaf
Remove fix-invalid-asm-instruction patch (#2697) 2022-06-12 00:29:36 +02:00
Hood Chatham e18b59d281
FIX TextDecoder is not a left inverse for TextEncoder (#2678) 2022-06-11 13:19:58 +09:00
Hood Chatham c834085995
Use emscripten 3.1.13 (#2679) 2022-06-10 22:26:10 +02:00
Hood Chatham 52f27f06ad
Update to emscripten 3.1.6 (#2672) 2022-06-10 08:13:36 -07:00
Hood Chatham 21eb7f92be
MAINT Fix pyproxy_init declaration (#2682) 2022-06-10 07:32:36 -07:00
Hood Chatham dbbbbb67b2
Cryptography v36.0.2 w/ Rust (#2378) 2022-06-09 10:57:34 -07:00
Jo Bovy b880ec2395
PKG Add galpy (#2676)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-09 14:04:28 +02:00
Hood Chatham 0cb41c4ac6
FIX Don't build a shared library for libgsl (#2677) 2022-06-09 13:59:46 +02:00
Hood Chatham 8a8629f2c6
MAINT Switch to using a tag to version libffi port (#2673) 2022-06-08 21:37:24 +02:00
Jo Bovy e30df9fa9a
Fix groupadd/useradd in `run_docker` so $HOME is set correctly (#2675)
"$HOME is now just set to /. According to useradd's documentation, the flag for setting
the home directory is just --home, not --home-dir. With that, echo $HOME gives the
right result in the container."

https://github.com/pyodide/pyodide/issues/2674#issuecomment-1150182865
2022-06-08 12:24:17 -07:00
Hood Chatham 0283a39629
ENH Add a new "disabled" key to meta.yaml (#2671)
Frequently when updating Python or Emscripten, a handlful of packages
stop working. Because of the way that the CI works, these prevent
other packages from being built or tested. However, packages with
many dependents are currently annoying to disable. This adds a key
to meta.yaml "disable: true" that turns off a package.

I also fixed the "!package" and no-numpy-dependents to be transitive.

We use graphlib to sort the packages topologically, then we traverse
the packages once in build order to locate all the packages which
transitively depend on disabled packages. Then we traverse in reverse
build order to locate all packages that are dependencies of non-disabled
requested packages.
2022-06-08 08:25:12 -07:00
Gyeongjae Choi 587a73fa14
PKG Add XGBoost (#2537)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-06-07 17:49:57 +09:00
Gyeongjae Choi 184c6d5bed
Disable cursor blinking in the REPL if `noblink` is specified (#2666)
e.g. https://pyodide.org/en/latest/console.html?noblink
2022-06-06 17:14:29 -07:00
Liumeo 9b76b7a4ee
Add gmpy2 and its dependencies (#2665)
Add gmpy2 and its dependencies libmpc, libmpfr and libgmp. 
gmpy2 is an optional dependency of SymPy.
2022-06-05 19:09:15 -07:00
Gyeongjae Choi efaa65b5b8
Use strict mode for pytest-asyncio (#2663) 2022-06-05 10:29:43 +02:00
Alexey Ignatiev a6ef2ef378
python-sat 0.1.7.dev17 (#2661) 2022-06-05 10:28:59 +02:00
Gyeongjae Choi 0c63457b37
Remove tzdata from the build step (#2658) 2022-06-03 08:51:41 +09:00
Hood Chatham fdb0a3581d
MAINT Update the packages.json info to include emscripten version and pyodide version (#2655) 2022-06-03 08:40:46 +09:00
Hood Chatham 95b1194945
Enable Wasm BigInt (#2643)
This enables WASM_BIGINT while maintaining (hypothetical) Safari 14 support
by shimming BigInt64Array and BigUint64Array if they are missing. I think the
last time we tried to enable WASM_BIGINT was before #2019 so our chances
are significantly better this time.

This will fix dynamic linking bugs and yields a minor reduction in code size.
2022-06-02 10:09:54 -07:00
Hood Chatham 0aafb5dd12
DOCS Add info about pytest marks and run_in_pyodide (#2652)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-06-02 10:07:12 +09:00
Hood Chatham 6a0d66a5d7
MAINT Update gitignore for tools/symlinks (#2657) 2022-06-01 13:17:13 -07:00
Ryan Russell 42d33407ca
DOCS Fix Typos (#2656)
Fixed 2 typos.
2022-05-31 16:06:06 -07:00
Hood Chatham cabf75516b
DOCS Update the description of the linting process (#2651)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>

[skip ci]
2022-05-31 14:00:37 +02:00
Hood Chatham c5f3a48e15
MAINT Define loadPackage in _compat rather than pyodide_js (#2654) 2022-05-31 13:58:50 +02:00
Hood Chatham 70133410d8
Fix run_in_pyodide to return values and update tests (#2653) 2022-05-31 13:58:33 +02:00
pre-commit-ci[bot] 5d1aff3262
[pre-commit.ci] pre-commit autoupdate (#2649)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-30 21:44:25 -07:00
Hood Chatham d3758cbc5e
Convert more typeconversions tests to use run_in_pyodide (#2646) 2022-05-30 21:00:46 -07:00
Hood Chatham 0003993956
MAINT Convert some jsproxy tests to using run_in_pyodide (#2647) 2022-05-30 21:00:29 -07:00
Hood Chatham 6976ea69f4
MAINT Update side modules to use SIDE_MODULE_LDFLAGS (#2650)
It causes trouble when these flags get out of sync, cf
WASM_BIGINT branch #2643
2022-05-30 21:00:11 -07:00
Hood Chatham 951681cfba
MAINT Improve debug settings in Makefile.envs (#2648) 2022-05-30 17:16:55 -07:00
Gyeongjae Choi 74a89826ce
TST Add Playwright for an auxiliary testing framework (#2091) 2022-05-31 08:17:47 +09:00
Hood Chatham 6c7e3d03f0
MAINT Remove pywasmcross rule to drop libs and includes from HOST_INSTALL_DIR (#2644)
This rule is out of date, we intend to ensure that HOST_INSTALL_DIR
consists of cross-build packages which have the right libs and includes
so they can be used.
2022-05-29 23:04:59 -07:00
Hood Chatham 4d9de20622
FIX Handle large lengths and negative lengths in hiwire_get_length (#2627) 2022-05-29 19:27:30 -07:00
Hood Chatham cfdb77f642
ENH Add support in micropip for installing binary wheels (#2591)
We use `packaging.tags.sys_tags` to get the list of supported tags
then use `packaging.utils.parse_wheel_filename` to get the set of
tags the current wheel implement then check if one of the wheel's
tags is a supported tag. This is a fully accurate check method and
could also catch things like abi3 wheels that are compatible with
multiple Python versions.
2022-05-29 19:00:10 -07:00
Hood Chatham 2f4f258bb5
MAINT Use target sysconfigdata rather than host sysconfigdata when cross compiling (#2516)
sysconfig.py uses the environment variable `_PYTHON_SYSCONFIGDATA_NAME`
to decide where to look for the sysconfig data file with info about the compile target.
We also need to separately insure that our sysconfig data file is on the path. We
don't want the rest of our target stdlib on the path, so I made an extra sysconfigdata
folder, copied the sysconfig data into it, and put it on the path.
2022-05-29 18:59:10 -07:00
Hood Chatham 8ab07acadd
ENH Add support for pickling JsException (#2631) 2022-05-29 18:31:49 -07:00
Gyeongjae Choi a11f72e145
Simplify the version bump process (#2587) 2022-05-30 10:26:40 +09:00
Hood Chatham 9b968ae219
MAINT Convert more typeconversions tests to use run_in_pyodide (#2640) 2022-05-29 17:07:31 -07:00
josephrocca 415681dae9
DOCS Improve package build instructions (#2633) 2022-05-29 10:01:12 -07:00
Ryan Russell 57100ab604
docs(various): Typo fixes (#2641) 2022-05-29 09:45:45 -07:00
Roman Yurchak a749c4ee38
Add spinner + better attribution in REPL (#2635) 2022-05-29 10:37:09 +02:00
Hood Chatham 798da1796e
Add loadDynlib to micropip._compat (split off from #2591) (#2639) 2022-05-28 23:06:51 -07:00
Hood Chatham f3c844514e
MAINT Use new run_in_pyodide features for some type conversions tests (#2632)
This should improve the tests by quite a lot:

  *  assertions get formatted automatically
  *  many fewer doubly / triply nested eval strings
  *  IDE support for code formatting, syntax highlighting 
     (the IDEs are pretty confused about other stuff but still...)

Also, messing around with these type conversions tests is a
good way to find lots of bugs, cf my other PRs from 2022-05-27.
2022-05-28 21:18:08 -07:00
echorand (Amit Saha) 377bb50c14
Fix support for extras in micropip (#2584)
Fix for #2535

See explanation:
https://gist.github.com/amitsaha/df2141e7e798d946ae559bf34e74ab42
2022-05-28 12:43:17 -07:00
Hood Chatham bd24933b81
MAINT Fail test if hiwire_get_value is called on an invalid JsRef (#2629)
Hitting this code path should be an unconditional test failure.
2022-05-27 22:08:51 -07:00