Commit Graph

37 Commits

Author SHA1 Message Date
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
Gyeongjae Choi ae4492a1fd
Add a CLI command to create a zipfile of Python libraries (#3411)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2023-01-14 14:59:42 +01:00
Gyeongjae Choi 094a6dafcf
FIX Append --fresh flag to let cmake ignore existing cache (#3445)
Resolve https://github.com/pyodide/pyodide/issues/3425
2023-01-13 18:41:29 +01:00
Joe Marshall 76581a7d28
Get deps from pypi during build (#3310) 2023-01-05 08:45:20 +09:00
Roman Yurchak e8f8324eb2
Add CLI command to py-compile wheels (#3253)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2023-01-04 17:07:07 +02:00
Gyeongjae Choi c3647f7e5d
Pin range of auditwheel-emscripten version (#3388)
So we can fix bugs in auditwheel-emscripten without releasing a new version
of pyodide-build
2022-12-26 20:02:18 -08: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
Gyeongjae Choi ab93a0d747
Add `pyodide config` command to show config variables used in Pyodide (#3376) 2022-12-23 09:20:23 +01:00
Gyeongjae Choi 290bb657cf
Update auditwheel-emscripten version to 0.0.9 (#3383) 2022-12-23 14:29:31 +09:00
Roman Yurchak fdbcc087e2
Add Pyodide CLI documentation (#3367)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-12-22 11:24:28 +01:00
Gyeongjae Choi 0709ec0a26
Split building and installing packages in buildall (#3279) 2022-12-15 13:43:39 +09: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
Gyeongjae Choi af206d159c
Add vendor-sharedlib key in meta.yaml spec (#3234) 2022-11-09 20:18:44 +09:00
Gyeongjae Choi b610f2c7e0
Add `pyodide skeleton` command (#3175) 2022-10-25 14:52:11 +09:00
Gyeongjae Choi c54328cb1b
Use pyodide-cli entrypoint for out-of-tree CLI (#3140) 2022-09-24 18:34:36 -07:00
Gyeongjae Choi a916ea0b34
BLD simplify building CMake based packages (#3128)
This PR makes building CMake based packages easier.
- Introduce a custom toolchain file for Pyodide. It inherits most of settings from the original Emscripten toolchain file with some modifications. Packages built by pyodide-build will automatically use that toolchain file.
- Proxy cmake in pywasmcross.py, in order to proxy other compiler toolchains.
2022-09-22 10:42:26 +09: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
Roman Yurchak c85e00806b
MAINT Switch to pytest-pyodide (#2893)
Co-authored-by: ryanking13 <def6488@gmail.com>
2022-07-31 19:00:45 +09: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
Hood Chatham cd40765cc1 Revert "0.21.0a2"
This reverts commit c540ce9b9c.
2022-06-24 08:05:36 -07:00
Hood Chatham c540ce9b9c
0.21.0a2
This has to be alpha2 because I seem to have accidentally
published an alpha1 to npm.
2022-06-24 06:15:13 -07:00
Gyeongjae Choi a11f72e145
Simplify the version bump process (#2587) 2022-05-30 10:26:40 +09:00
Roman Yurchak 04bca26b7e
pyodide_build: set python_requires=>3.10 (#2604) 2022-05-24 09:49:53 -07:00
Gyeongjae Choi d0ae8a66e1 Revert "v0.20.1a1"
This reverts commit 5100bc1e20.
2022-04-29 11:32:09 +00:00
Gyeongjae Choi 5100bc1e20 v0.20.1a1 2022-04-29 11:31:41 +00:00
Gyeongjae Choi 60d530801e
ENH Remove hard coded paths in `pyodide_build` (#2351)
We are pushing pyodide_build to PyPI as a Python package, but for now, 
installing pyodide_build from PyPI (i.e. pip install pyodide_build`) is almost 
useless because:

    there are bunch of hard-coded paths (e.g. Path(__file__).parents[2]),
    its dependencies are not specified in setup.cfg.

This PR is for mitigating this situation by removing hard-coded paths and
adding tests, and is also a preparation for our new CLI 
(https://github.com/pyodide/pyodide/issues/1977).
2022-04-09 13:41:10 -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
Hood Chatham cc541d9972 Revert "Pyodide v0.20.0a1"
This reverts commit 22a001410a.
2022-03-24 09:28:09 -07:00
Hood Chatham 22a001410a Pyodide v0.20.0a1 2022-03-24 09:25:29 -07:00
Hood Chatham 9d515cc2d2 Bump version to 0.20.0dev0 2022-01-10 22:39:17 -08:00
Hood Chatham cd1971ca0f Revert "Version 0.19.0 (#2099)"
This reverts commit 276d396fff.
2022-01-10 15:48:30 -08:00
Hood Chatham 276d396fff
Version 0.19.0 (#2099) 2022-01-10 15:17:53 -08:00
Roman Yurchak 2e7ccfc23d
Bump main to 0.19.0dev0 [skip ci] (#1786) 2021-08-11 12:16:48 +02:00
Hood Chatham 250c48038b
Release 0.18.0 (#1775) 2021-08-03 21:34:14 +02:00
Roman Yurchak 4e9d10833e
BLD Create an installable pyodide-build package (#1566) 2021-05-03 20:51:11 +02:00