Commit Graph

2290 Commits

Author SHA1 Message Date
Gyeongjae Choi f9b1d84d6b
Bump matplotlib version to 3.5.2 (#2760)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-06-22 15:20:54 +09:00
Hood Chatham cdc59accf3
DOCS Edits and updates (#2756) 2022-06-21 20:15:37 -07:00
Hood Chatham a86ea97ac7
DOCS Some updates to release instructions (#2748) 2022-06-21 20:13:44 -07:00
Gyeongjae Choi 1acc3b5b01
Fix micropip error when a package contains invalid version (#2754) 2022-06-22 09:22:32 +09:00
Hood Chatham be331255f7
Pass -Zlink-native-libraries=no when building Rust (#2753) 2022-06-21 08:21:33 +02:00
Gyeongjae Choi d80f702a7e
Fix micropip.list() error when there is a package loaded from a custom url (#2743) 2022-06-21 13:27:07 +09:00
Roman Yurchak 8de2a04ab0
API Rename packages.json to repodata.json (#2749)
Closes #2747

 * renames packages.json to repodata.json
 * renames the corresponding JS and Python variables to be a bit more explicit.

Tangentially related to #795
2022-06-20 14:46:11 -07:00
Hood Chatham 734e91c4f5
MAINT Fix typo in bump-version (#2745) 2022-06-20 21:35:40 +02:00
Hood Chatham f853860313
DOCS clean and rebuild before publishing to npm 2022-06-20 07:50:16 -07:00
pysathq cdc354034b
Bumped version in meta.yaml for python-sat. (#2744) 2022-06-20 15:28:24 +02:00
Hood Chatham 8e8ccffddc
Use node's native fetch if it's available (#2732) 2022-06-19 22:15:11 -07:00
Gyeongjae Choi 16bb0e86fd
PKG Add sparseqr and suitesparse (#2685)
Co-authored-by: Gabriel Fougeron <gabriel.fougeron@hotmail.fr>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-20 13:35:27 +09:00
Hood Chatham 060f1f4ba6
MAINT Use the patched version of setuptools-rust (#2735) 2022-06-20 09:28:19 +09:00
Gyeongjae Choi 38fae6e9cb
PKG Add shapely and geos (#2725)
Co-authored-by: Hood <hood@mit.edu>
2022-06-17 11:26:09 +09:00
Gyeongjae Choi ef5f80bf07
Change shared library installation directory (#2721)
Change shared library installation directory from /lib/python3.10/site-packages/ to /usr/lib.

#2686 and this PR improve how we load shared libraries. The future goal
of these PRs is to load shared libraries on demand, instead of pre-loading
all shared libraries, which will reduce initial package load time.
2022-06-16 16:31:16 -07:00
Hood Chatham 648d9e18d6
Fix typo in scipy f2py wrapper for nrm2 (#2728) 2022-06-16 23:18:13 +02:00
Hood Chatham b427d36e58
Use nightly rust and simplify rust_emcc_wrapper (#2724) 2022-06-15 20:54:56 -07:00
Hood Chatham fcdcc47d66
Drop mutable-globals flag when compiling Rust (#2723) 2022-06-15 19:37:41 -07:00
Hood Chatham 885d7ff7cc
Fix hypothesis exceptiongroup test failure (#2718) 2022-06-15 15:55:36 -07:00
Hood Chatham a7f099e5d6
MAINT Finish tidying up numpy patches (#2717) 2022-06-15 13:11:36 -07:00
Hood Chatham f58fadfffc
MAINT Fix C compiler warnings in src/core (#2716) 2022-06-15 12:11:34 -07:00
Hood Chatham c1c0cd34fa
Update fenv patch to match upstreamed patch (#2692)
This new patch has the benefit that if wasm/emscripten ever does
gain fenv support we will switch to using it automatically.
2022-06-15 07:45:13 -07:00
josephrocca fe4286f576 Mention that some RUSTFLAGS are set by default in built.script (#2709)
Per hoodmane's comment here:
https://github.com/pyodide/pyodide/issues/2706#issuecomment-1154714227
2022-06-15 07:38:32 -07:00
Hood Chatham 6868d2e93c
Use -sSIDE_MODULE=2 when compiling rust (#2713) 2022-06-15 07:27:34 -07:00
Gyeongjae Choi 392908cf68
Fix shared library loading order (#2686) 2022-06-15 14:25:04 +09:00
Hood Chatham 8d30ebdf13
Update emscripten patches again (#2684)
This drops the Rust patch and "Throw away errors in minify wasm_js" which
I suspect was fixed by an emscripten update (I'm not sure how long ago). It 
replaces the two remaining emscripten patches with new versions that match
the versions I am upstreaming.
2022-06-14 17:01:09 -07:00
Hood Chatham 9c305efc46
Fix cryptography build after emscripten update (#2683) 2022-06-14 14:54:07 +02:00
Hood Chatham a83055b003
Update patch for numpy to determine pointer sizes correctly for cross build (#2695)
Upstream PR: numpy/numpy#21733 (files)

Upstream patch was accepted. Final upstream version is slightly different to support windows,
but the difference doesn't matter for us.
2022-06-13 20:05:49 -07:00
pre-commit-ci[bot] 26c3f4dbd4
[pre-commit.ci] pre-commit autoupdate (#2707) 2022-06-13 17:05:38 -07:00
Hood Chatham 2d056ed253
Add support for backend flags to buildpkg (#2690)
And use it to disable numpy optimization by passing the `--disable-optimization` 
flag instead of patching numpy.
2022-06-13 16:40:48 -07:00
Hood Chatham 07322414e8
Replace numpy disable-svml patch with upstreamed version (#2702) 2022-06-13 16:35:05 -07:00
Hood Chatham dc33b25a6f
MAINT Tidy up numpy patches (#2701) 2022-06-12 15:19:09 -07:00
Hood Chatham b9c90fe813
Remove another numpy patch (#2699) 2022-06-12 12:18:45 -07:00
Roman Yurchak aebbf816aa
TST Use short pytest tracebacks (#2700)
By default, pytest uses the --tb=auto option with 'long' tracebacks for 
the first and last entry, but 'short' style for the other entries.

Since the last entry is typically a very long selenium function, it would
print all the source code of that function making it more difficult to find
relevant information. The first entry is the test function, and it's also not
very useful to print it in full.
2022-06-12 11:41:14 -07:00
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