Commit Graph

2243 Commits

Author SHA1 Message Date
Gyeongjae Choi 14708295cd
TST Fix location of the package import test file (#2926) 2022-08-04 10:05:30 +02:00
Roman Yurchak 2e7018acb7
Make GH sponsors more visible (#2936) 2022-08-04 08:43:50 +09:00
Gyeongjae Choi 512d2bd950
MAINT Rename pytest_pyodide wrappers 2022-08-03 13:34:25 +09:00
Gyeongjae Choi 91aad1373d
Update testing docs [skip ci] (#2929) 2022-08-02 12:19:43 +02:00
Hood Chatham e673fde7cf
Implement slicing, +=, and extend for arrays (#2907)
Work towards making a JsProxy of an array implement
the MutableSequence interface.
2022-08-02 05:58:42 +02:00
Gyeongjae Choi 5f1982e81c
Fix escaping nested brackets in REPL (#2919) 2022-08-01 16:22:13 +09:00
Roman Yurchak c85e00806b
MAINT Switch to pytest-pyodide (#2893)
Co-authored-by: ryanking13 <def6488@gmail.com>
2022-07-31 19:00:45 +09:00
Gyeongjae Choi 5d72fd427e
Pin cython version temporarily (#2920)
cython 0.29.31 is incompatible with scipy 1.8.1.
2022-07-29 12:55:50 +09:00
Gyeongjae Choi 21b592a6d2
TST Fix test skip check (#2915) 2022-07-29 08:54:36 +09:00
Gyeongjae Choi a72ce423b4
BLD Use emscripten ports of bzip and zlib when building cpython (#2912) 2022-07-28 10:17:58 +02:00
pre-commit-ci[bot] fa19a6a4dc
[pre-commit.ci] pre-commit autoupdate (#2908)
updates:
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2)
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.971)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-28 16:20:07 +09:00
Gyeongjae Choi 84b103a810
Include README when deploying npm package (#2883) 2022-07-27 09:28:33 +09:00
Gyeongjae Choi d4e157c972
Fix micropip marker test (#2910) 2022-07-26 10:30:54 +02:00
Gyeongjae Choi 047c8959f5
DOC Use dev CDN url if building latest docs (#2913)
[skip ci]
2022-07-26 10:30:31 +02:00
Gyeongjae Choi 06d82f9e42
Do not strip -shared flag when building packages (#2897) 2022-07-26 15:48:36 +09:00
Gyeongjae Choi 7231cab3ff
DOC Fix doc warnings (#2898) 2022-07-25 13:30:56 +09:00
Gyeongjae Choi 8182c63b5f
Remove pymalloc check (#2899) 2022-07-23 10:58:22 +09:00
Gyeongjae Choi dc31bc8f3e
Set initialization script for pyodide-test-runner (#2889) 2022-07-22 11:59:51 +09:00
Hood Chatham ec9ef2208a
Update bigint conversion tests (#2894) 2022-07-21 19:43:25 +09:00
dependabot[bot] 053cba87b7
Bump terser from 5.7.1 to 5.14.2 in /src/js (#2895)
Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 14:03:20 +09:00
Rob Gries c7c22eab1a
Fix Windows Node errors on loading pyodide (#2888) 2022-07-20 10:20:59 +09:00
Gyeongjae Choi 9d874d588b
MAINT Update pre-commit config (#2890) 2022-07-19 16:43:12 +01:00
haoran1062 f15b99d663
PKG Add pyclipper (#2886)
Co-authored-by: 刘浩然 <liuhaoran@ingbaobei.com>
2022-07-19 15:18:29 +09:00
andrzej be1b3c2a6f
DOC Update MacOS setup steps (#2877)
[skip ci]
2022-07-16 15:16:02 +01:00
Antonio Cuni c54a6dad7e
DOC update the instructions on how to use Node.js (#2856)
[skip ci]
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-07-16 10:33:18 +01:00
Roman Yurchak 7f19462759
Don't rerun tests if collection fails (#2875) 2022-07-16 17:45:36 +09:00
Roman Yurchak 922d135c71
Enable codecov (#2871) 2022-07-15 09:41:15 +01:00
Roman Yurchak ebea82caff
Use CircleCI security context for S3 deployment (#2870) 2022-07-15 08:41:44 +01:00
Hanno Rein 0ce3b98d45
PKG Add REBOUND package (#2868)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jo Bovy <jo.bovy@gmail.com>
2022-07-15 09:15:16 +09:00
Gyeongjae Choi 5913f898cb
CI Add test summary on GHA (#2869) 2022-07-14 09:14:42 +09:00
Gyeongjae Choi b38e16b677
CI Remove package source files after build (#2862) 2022-07-13 17:30:58 +09:00
lukemarsden 521833b791
DOCS Fix nodefs example in file-system.md (#2867) 2022-07-13 08:53:55 +03:00
Jo Bovy 8642b09449
Add astropy tests (#2865)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-07-13 11:19:29 +09:00
Gyeongjae Choi 2f1c197007
CI Fix xbuildenv deploy (#2866) 2022-07-12 18:14:41 +09:00
Gyeongjae Choi 04d18ca671
TST Replace deprecated get_event_loop with asyncio.run (#2851) 2022-07-11 19:46:29 +09:00
Gyeongjae Choi 1fc2fc4256
CI Split up package test jobs (#2852)
This PR splits package test in CI so that no-numpy-dependents packages can be tested earlier. In detail, pytest will now save test results into its cache directory, and if --skip-passed option is given, it will skip previously successful tests.
2022-07-11 09:52:38 +09:00
Gyeongjae Choi 1b4b028993
BLD Ignore runtime lib flag on linking (#2848) 2022-07-10 12:11:03 +02:00
Hood Chatham ffd070a55e
0.21.0a3 (#2859) 2022-07-10 11:58:30 +02:00
Hood Chatham 88313f76d5
Change out of tree build entrypoint name from pywasm to pyodide (#2858) 2022-07-10 11:31:53 +02:00
Hood Chatham cdb457bf5b
Add xbuildenv to github releases (#2850)
This adds a step that generates an xbuildenv to the circleci CI and
deploys it to github releases when we make a release. I also updated
the url in download_xbuildenv to point to github releases.
2022-07-10 10:58:39 +02:00
Victor 3d28e35ade
Fix doc for building package with pyodide_build (#2854)
In the old instructions to build package it was written that you should
run pyodide_build buildall from the packages/<package-name> folder.
However, the command that comes next assumes you are in the root
(like the previous commands, i.e. to create the meta.yml template).
Fixed by removing the reference to the folder.
2022-07-08 07:57:42 -07:00
Ryan May c05b76273b
PKG Add PyProj (#2555)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-07-07 09:14:31 +09:00
Hood Chatham 03a05ab36d
Finish out of tree build system (except xbuildenv deploy) (#2823)
This completes the out of tree build CLI. This PR is paired up with:
numpy/numpy#21895
I have also successfully built scikit-learn, statsmodels, pandas, and
astropy with this.

The last thing we need to do after this is set up deployment of the
cross build environment. We can deploy one version to s3 for each
tagged commit. I will do that in a separate PR after this is merged.
2022-07-06 14:37:19 -07:00
Hood Chatham 1c1209bb51
Add tests to python-sat (#2834)
And update to 0.1.7.dev19 to fix a bug
2022-07-06 14:34:22 -07:00
Antonio Cuni 245aa72554
Refactor hiwire.[ch] to divide functions declarations into better groups (#2847)
The functions inside `hiwire.h` and `hiwire.c` were defined in some inconsistent order. This PR shuffle things around so that they are clearly divided into multiple groups, one for each "namespace" (in the C sense):
- `hiwire_*`
- `JsObject_*`
- `JsArray_*`
- `JsString_*`
- `JsMap_*`
- `JaString_*`

This makes it easier to navigate inside the file, and will make it easier to add future functions "at the right place".
2022-07-06 09:42:43 -07:00
Szymswiat 2e842d0fb8
Update error-stack-parser package (#2843) 2022-07-06 08:33:24 +02:00
Hood Chatham 14d10e203a
Move invalidate_caches to the end of micropip.install (#2844) 2022-07-06 08:32:45 +02:00
pre-commit-ci[bot] d8ae3cd1e0
[pre-commit.ci] pre-commit autoupdate (#2836)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-04 15:06:00 -07:00
Hood Chatham e8380e97ea
Use big list of naughty strings to test string conversions (#2830) 2022-07-04 11:33:22 -07:00
Hood Chatham 686426ab39
Respect symbol visibility in export calculation (#2821)
We shouldn't export symbols with `__attribute__((visibility("hidden")))`. Numpy has
a test to check that symbols with this attribute aren't exported. This fixes that test.
2022-07-04 11:32:36 -07:00