Commit Graph

14 Commits

Author SHA1 Message Date
Gyeongjae Choi 3ad41f13c7
Merge library and sharedlibrary key to build/type (#3238) 2022-11-13 12:31:14 +09:00
Gyeongjae Choi af206d159c
Add vendor-sharedlib key in meta.yaml spec (#3234) 2022-11-09 20:18:44 +09:00
Roman Yurchak 4dd8a3e0cb
Switch to meta.yaml parsing with pydantic (#3079) 2022-09-11 09:20:56 +02:00
Hood Chatham c5636c02a1
Add type annotations to many functions (#2810) 2022-06-29 23:08:46 -07:00
Henry Schreiner 5523d539bf
chore(types): fill out remaining partial types (#2612) 2022-05-25 20:31:04 -07: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 7763e0a8f1
fix: better error messages, fewer tracebacks (#2242)
This reduces the text output when an error is hit, removing the tracebacks for known errors. Tracebacks are for unknown/unexpected errors - if you expect an error, it's better to print out an actual error message. I've also made the patch applying a bit more verbose in case it helps, as it sometimes does.

Also improvements to `BashRunner`: it no longer hangs when an error is raised and it is now a context manager
2022-03-04 23:44:54 -08:00
Henry Schreiner 66856a7427
MAINT isort (#2200) 2022-02-21 23:27:03 +01:00
Hood Chatham f44f7b3dfe
ENH improvements to pyodide-build (#2069) 2021-12-31 09:29:36 -08:00
Hood Chatham 17f675a89e
MAINT Clean up buildpkg (#2036) 2021-12-14 20:02:27 -08:00
Gyeongjae Choi 69f7e3ebb3
BLD Fix package rebuild check to detect micropip src change (#1991) 2021-11-26 14:06:04 +01:00
Roman Yurchak d25bbb70fe
ENH Unvendor unit tests from packages (#1834) 2021-09-21 08:47:48 +02:00
Hood Chatham 1010c0e3bf
Make build scripts share environment and update lxml package (#1706) 2021-09-07 20:29:49 -07:00
Roman Yurchak 4e9d10833e
BLD Create an installable pyodide-build package (#1566) 2021-05-03 20:51:11 +02:00