Andrea Giammarchi
be12f07ed9
Using esbuild instead of rollup ( #3679 )
...
This PR removes *rollup* in favor of *esbuild*, ensuring `DEBUG` flag, when used,
is available to the produced JS and the *umd* dance has been simplified, ditching
the *amd* part from it as I think *amd* is kinda dead as module system.
2023-03-27 12:48:19 -07:00
Christian Clauss
57f36ac6f8
Ruff is now compatible with Python pattern matching ( #3650 )
2023-03-13 22:45:06 +01:00
Roman Yurchak
48258ff146
Replace isort, flake8, pycln and pyupgrade by ruff ( #3522 )
...
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2023-02-07 08:35:20 +09:00
Roman Yurchak
2ee73d397c
CI Fix isort in pre-commit ( #3521 )
2023-01-30 22:05:48 +01:00
pre-commit-ci[bot]
7ad5c15690
[pre-commit.ci] pre-commit autoupdate ( #3400 )
2023-01-24 08:00:05 -08:00
Hood Chatham
3b2952fc92
Python3.11 ( #3252 )
2023-01-23 19:45:59 -08:00
Gyeongjae Choi
eb7b80bb3e
Replace print statements with rich in pyodide-build ( #3442 )
2023-01-16 13:46:38 +09:00
Joe Marshall
76581a7d28
Get deps from pypi during build ( #3310 )
2023-01-05 08:45:20 +09:00
Hood Chatham
1169cf59a3
Hide deprecated arguments from docs ( #3396 )
...
This adds a mechanism to hide deprecated or private arguments from the documentation and
applies it to errorCallbackDeprecated.
2023-01-03 13:26:37 +09:00
Gyeongjae Choi
2f1716b575
Relocate files inside tools directory ( #3358 )
...
This PR relocates files inside `tools` directory so that `tools` directory doesn't
have to be vendored when creating xbuildenv.
- cmake, pyo3 config ==> moved to `pyodide-build`.
- venv python script ==> moved to templates, then copied to dist during build.
2022-12-26 20:00:24 -08:00
pre-commit-ci[bot]
4a35a5f80d
[pre-commit.ci] pre-commit autoupdate ( #3345 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-12-13 00:08:49 +01:00
pre-commit-ci[bot]
4546f1b3d2
[pre-commit.ci] pre-commit autoupdate ( #3325 )
...
updates:
- [github.com/asottile/pyupgrade: v3.2.2 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.2...v3.3.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06 13:39:19 +01:00
pre-commit-ci[bot]
52e8609c54
[pre-commit.ci] pre-commit autoupdate ( #3254 )
2022-12-02 15:12:33 -08:00
Hood Chatham
420660eb50
Add support to PyProxy for using async python generators from js ( #3290 )
...
This adds support for using async Python generators via PyProxy.
2022-11-25 20:00:38 -08:00
Joe Marshall
4a1913d3ad
build packages from pypi direct ( #3196 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-11-17 10:05:14 +09:00
pre-commit-ci[bot]
dd0a22b261
[pre-commit.ci] pre-commit autoupdate ( #3214 )
...
updates:
- [github.com/asottile/pyupgrade: v3.1.0 → v3.2.0](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.2.0 )
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.3 → v3.0.0-alpha.4](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.3...v3.0.0-alpha.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-01 08:25:17 +09:00
pre-commit-ci[bot]
8093089e84
[pre-commit.ci] pre-commit autoupdate ( #3204 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.2 → v3.0.0-alpha.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.2...v3.0.0-alpha.3 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-25 08:40:40 +09:00
pre-commit-ci[bot]
00d0f347c8
[pre-commit.ci] pre-commit autoupdate ( #3190 )
...
updates:
- [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v3.0.0...v3.1.0 )
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.1 → v3.0.0-alpha.2](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.1...v3.0.0-alpha.2 )
- [github.com/codespell-project/codespell: v2.2.1 → v2.2.2](https://github.com/codespell-project/codespell/compare/v2.2.1...v2.2.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-19 09:08:02 +09:00
pre-commit-ci[bot]
65b659fe65
[pre-commit.ci] pre-commit autoupdate ( #3174 )
...
updates:
- [github.com/asottile/pyupgrade: v2.38.2 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0 )
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0 )
- [github.com/pre-commit/mirrors-mypy: v0.981 → v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982 )
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.0 → v3.0.0-alpha.1](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.0...v3.0.0-alpha.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-11 09:11:15 +09:00
Gyeongjae Choi
d8910dd03f
Bump mypy version to 0.981 in pre-commit config ( #3159 )
2022-09-29 13:30:48 +09:00
pre-commit-ci[bot]
8260b9f41f
[pre-commit.ci] pre-commit autoupdate ( #3152 )
...
updates:
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-27 10:09:50 +09:00
pre-commit-ci[bot]
d9d6144a8b
[pre-commit.ci] pre-commit autoupdate ( #3133 )
2022-09-19 16:34:24 -07:00
pre-commit-ci[bot]
efcca8be91
[pre-commit.ci] pre-commit autoupdate ( #2928 )
2022-09-13 15:12:40 -07:00
Hood Chatham
b6d3281d67
Add command to create Pyodide virtual environment ( #2976 )
...
Inside the generated virtual environment, `python` will use node to run Pyodide.
Pip can be used to install packages into the environment.
2022-09-12 11:18:40 -07:00
Roman Yurchak
4dd8a3e0cb
Switch to meta.yaml parsing with pydantic ( #3079 )
2022-09-11 09:20:56 +02:00
Hood Chatham
3e2d7f29a5
Add command line runner main entry script ( #3044 )
...
This PR contains the changes from #3039 and #3040 which should be merged first.
The purpose is to add the main command line script from #2976 .
2022-09-05 09:15:13 -07: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
9d874d588b
MAINT Update pre-commit config ( #2890 )
2022-07-19 16:43:12 +01: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
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
pre-commit-ci[bot]
3c1c899084
[pre-commit.ci] pre-commit autoupdate ( #2797 )
...
updates:
- [github.com/hadialqattan/pycln: v1.3.3 → v1.3.5](https://github.com/hadialqattan/pycln/compare/v1.3.3...v1.3.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-04 09:01:18 +09:00
pre-commit-ci[bot]
f5925944a2
[pre-commit.ci] pre-commit autoupdate ( #2751 )
...
updates:
* github.com/pre-commit/mirrors-clang-format: v14.0.4-1 → v14.0.5
* github.com/pre-commit/mirrors-prettier: v2.6.2 → v2.7.1
2022-06-22 11:14:45 -07:00
pre-commit-ci[bot]
26c3f4dbd4
[pre-commit.ci] pre-commit autoupdate ( #2707 )
2022-06-13 17:05:38 -07:00
Hood Chatham
dbbbbb67b2
Cryptography v36.0.2 w/ Rust ( #2378 )
2022-06-09 10:57:34 -07: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
pre-commit-ci[bot]
af972267c7
[pre-commit.ci] pre-commit autoupdate ( #2597 )
...
updates:
- [github.com/hadialqattan/pycln: v1.3.2 → v1.3.3](https://github.com/hadialqattan/pycln/compare/v1.3.2...v1.3.3 )
2022-05-25 08:40:03 +02:00
Henry Schreiner
e31bb554e4
chore: complete more incomplete types ( #2590 )
...
* chore: add some incomplete types
* chore: modernize pyproject.toml
Adding more incomplete types. About 2/3 of the way through being
able to turn on the strictness flag for it.
2022-05-21 13:35:02 -07:00
Henry Schreiner
eb4f7d9fd9
refactor: use .path & type build ( #2583 )
2022-05-20 08:27:02 +02:00
pre-commit-ci[bot]
fac0e3bc98
[pre-commit.ci] pre-commit autoupdate ( #2534 )
...
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1 )
- [github.com/pre-commit/mirrors-clang-format: v14.0.1 → v14.0.3](https://github.com/pre-commit/mirrors-clang-format/compare/v14.0.1...v14.0.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-09 13:04:32 -06:00
Hood Chatham
cefaa2f04c
Add run_js to pyodide Python package ( #2426 )
...
Add a `run_js` API that evals JavaScript code and returns the result as a `JsProxy`.
2022-05-06 15:27:29 -06:00
pre-commit-ci[bot]
6fc28c5669
[pre-commit.ci] pre-commit autoupdate + typing fixes for new mypy ( #2450 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2022-05-05 07:41:00 -06:00
Hood Chatham
7a9273dd6c
v0.20.0
2022-04-09 13:44:32 -07:00
Henry Schreiner
4ec97fd939
fix: minor touchups ( #2374 )
...
Fixing a minor issue - pyodide-build doesn't work out of the box, it's missing two requirements.
Also updating a typo in the docs, and minor pre-commit bump.
2022-04-08 13:58:58 -07:00
Henry Schreiner
93dc922f46
chore: Python 3.10 pyupgrade ( #2342 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-04-02 00:36:55 +02:00
Henry Schreiner
6f62a89d86
fix: better mypy coverage ( #2339 )
2022-04-01 21:58:54 +02:00
Henry Schreiner
ca97aaf9bd
chore: fix black breakage from click 8.1 ( #2328 )
2022-03-29 15:09:15 +02:00
Hood Chatham
0e1e2ac01c
Python 3.10 ( #2225 )
2022-03-17 15:48:56 -07:00
Henry Schreiner
18e664afb1
chore: isort avoid local build confusion, bump pre-commit ( #2274 )
2022-03-14 14:08:50 -07:00
Henry Schreiner
4f8b0a0344
chore: more pre-commit checking ( #2257 )
2022-03-07 21:51:20 -08:00
Gyeongjae Choi
fd8433a013
MAINT Refactor benchmark script ( #2227 )
...
One can select which benchmark (pystone, numpy, matplotlib, or all) to be run through command-line arguments.
We can divide each benchmark to separate CI jobs in the future if needed.
Moved pystone benchmark to benchmark directory, preventing it from being included in Pyodide release.
2022-03-02 10:11:36 -08:00