Commit Graph

406 Commits

Author SHA1 Message Date
Gyeongjae Choi c4a6964429
Use Pyodide version instead of pyodide-build version when creating lockfile (#4732)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-02 20:32:10 +09:00
Gyeongjae Choi a040b78a97
Update `pyodide create-zipfile` command to accept list of modules to exclude (#4723) 2024-05-01 19:20:07 +09:00
Gyeongjae Choi e3cf592ae4
Bump pytest-pyodide version to 0.57.0 (#4727) 2024-05-01 19:19:45 +09:00
Gyeongjae Choi d5fdf22aff
FIX Use response file for EXPORTED_FUNCTIONS (#4717)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2024-04-30 18:36:39 +09:00
Gyeongjae Choi 0e23252426
Fix url filename parsing again (#4722) 2024-04-28 19:48:25 +09:00
Gyeongjae Choi ed3b787b60
BLD Extract out package build configs from Makefile.envs (#4708) 2024-04-27 11:30:06 +09:00
Hood Chatham 4633a958da
Remove possible query string from tarballname (#4721)
For CoolProp, we are getting `tarballname` as `'CoolProp_sources.zip?viasf=1'` which then
crashes when we give it to `shutil.unpack_archive` with `Unknown archive format`.
2024-04-26 21:32:06 +02:00
Henry Schreiner b886ed2065
fix: support cmake command mode (#4705) 2024-04-22 12:12:44 +02:00
Gyeongjae Choi 6fb3d7340c
BLD Add a file holding cross build environment metadata (#4695) 2024-04-20 22:52:37 +09:00
Gyeongjae Choi 975565bc3f
BLD Prevent redundant xbuildenv installation if there is already a version in use (#4694) 2024-04-18 21:09:00 +09:00
Gyeongjae Choi 79a98b0e08
Add CrossBuildEnvManager class for managing xbuildenv (#4640) 2024-04-10 20:49:35 +09:00
Christian Clauss ee13a60fbc
Placate mypy with type: ignore (#4677) 2024-04-08 18:02:42 +09:00
pre-commit-ci[bot] 6f7ae21aa8
[pre-commit.ci] pre-commit autoupdate (#3736) 2024-04-04 09:21:19 +02:00
Gyeongjae Choi 7cb3ad8412
Fix build error on pypa/build >= 1.2.0 (#4653)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-31 15:31:28 +09:00
Hood Chatham ece8e95916 Back to development version 2024-03-14 08:53:16 +01:00
Hood Chatham 404305c232 v0.26.0a4 2024-03-14 08:52:21 +01:00
Hood Chatham 6c8888c070
Scipy 1.12.0 (#4499) 2024-03-08 14:10:14 -05:00
Hood Chatham c91684a7e7 Back to development version 2024-02-28 14:11:36 -08:00
Hood Chatham a6dc3e1140 Version 0.26.0a3 take 2 2024-02-28 14:10:23 -08:00
Hood Chatham e6e4750bff Revert "v0.26.0a4"
This reverts commit cb2a4d3cad.
2024-02-28 13:52:31 -08:00
Hood Chatham cb2a4d3cad v0.26.0a4 2024-02-28 13:48:33 -08:00
Hood Chatham 6e162830c0 Revert "v0.26.0a3"
This reverts commit 9ffb47fc44.
2024-02-28 10:46:13 -08:00
Hood Chatham 9ffb47fc44 v0.26.0a3 2024-02-28 09:57:34 -08:00
Gyeongjae Choi 7dd2c64639
Remove cython and tomli from pyodide-build dependency (#4528)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-24 11:05:11 +09:00
Agriya Khetarpal dc4cb1b78f
Replace `pkgconfig` with `pkg-config` for Meson configuration file (#4550)
Removes a depreciation warning
2024-02-23 03:33:08 -08:00
Hood Chatham 1bbebf3292 Put the version back to 0.26.0.dev0 2024-02-21 18:26:26 -08:00
Gyeongjae Choi f9d9fa85fc
Fix WASM_LIBRARY_DIR variable to be compatible for out-of-tree build (#4480) 2024-02-19 22:37:30 +09:00
Hood Chatham 7ca959f0f7
Put pyodide version into xbuildenv name (#4222)
This should reduce the likelihood of accidentally using an xbuildenv for the
wrong Pyodide version.
2024-02-17 12:45:32 -08:00
Hood Chatham 67906c3c84
MAINT Make search_pyodide_root return None instead of raising (#4520)
Every spot that we call it we have a try block to catch this exception, so
returning None makes the code more succinct
2024-02-16 13:11:32 -08:00
Hood Chatham 6537b03076 v0.26.0a2 2024-02-14 16:55:29 -08:00
Gyeongjae Choi 2c462a3aaa
Add recipe-maintainers section in meta.yaml (#4497)
This adds recipe-maintainers section in meta.yaml, inspired by conda-forge.

There is no automated usage for this section yet, but it suggests who we can ping if
something is wrong with a package. In the future, we may make a tool that automatically
notifies recipe maintainers.
2024-02-12 13:06:34 -08:00
Gyeongjae Choi e08ebf0e90
Update numpy to 1.26.4 and don't set MESON env variable (#4502)
From meson-python 0.15, $MESON env variable is used to overwrite the meson binary
path. We don't want that behavior.
2024-02-09 10:28:01 -08:00
Gyeongjae Choi 4a1c0ba55a
MAINT Minor pywasmcross optimizations (#4458)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-09 14:06:31 +09:00
Gyeongjae Choi 11ce02fb3d
BLD Run build/post script inside the unpacked wheel directory (#4481) 2024-02-08 20:15:47 +09:00
Hood Chatham cce1929b79
MAINT Factor GraphBuilder class out of the build_from_graph function (#4445)
This rewrites all of the closed-over state in build_from_graph into a separate
GraphBuilder class. Should make it easier to understand the code here.
2024-02-07 17:31:40 -08:00
Hood Chatham ad494f601d Back to 0.26.0.dev0 2024-02-07 14:36:00 -08:00
Hood Chatham 08aba2633d Version 0.26.0a1 (take 2) 2024-02-05 21:33:40 -08:00
Hood Chatham 4d2c3e85a5 Back to 0.26.0.dev0 2024-02-05 18:04:09 -08:00
Hood Chatham 6e6c3c97e8 Version 0.26.0a1 2024-02-05 17:08:04 -08:00
Gyeongjae Choi 3500c17468
MAINT Wrap buildpkg methods into a RecipeBuilder class (#4436)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-05 21:13:35 +09:00
Emil Nikolov 44107e8e78
Replace references to /bin/bash with /usr/bin/env bash (#4478) 2024-02-04 09:54:17 -08:00
Hood Chatham fb31fff09a
Upgrade to Python 3.12.1 (#4435) 2024-02-03 19:25:45 -08:00
Gyeongjae Choi 2824ffa523
Remove cramjam 2.8.1 monkeypatch and fix build issue (#4475)
There was a upstream fix: gyscos/zstd-rs#209, but was not applied to the latest zstd-rs release.
2024-02-03 13:52:26 -08:00
Hood Chatham 80fdd57b4c
Update cramjam to 2.8.1 (#4473)
Split off from #4468 / #4435 for visibility because it's a bit troublesome.

clang gives a weird error saying that qsort and memcmp were not declared.
This despite the fact that the file in question imported stdlib.h where they
are declared.
2024-02-02 18:59:30 -08:00
Gyeongjae Choi d1628de4ff
TST Move run_docker test outside of pyodide-build (#4463)
It is weird that test_run_docker is inside pyodide-build. This PR moves the
run_docker test file to tools directory. Maybe it is not the best place to put
this test file, but it is at least better than pyodide-build.
2024-02-02 10:46:04 -08:00
Hood Chatham ecd8daa093
MAINT Some changes to pyodide-build split from #4435 (#4469) 2024-02-02 17:34:03 +09:00
Hood Chatham 481e99070d
chore: fix pre-commit errors (#4466) 2024-02-01 15:31:20 -08:00
Matthias Köppe 17c300924c
pyodide_build.buildpkg: Do not copy dist/*.whl files from source trees (#4461)
When a meta.yaml uses source/path to build from some source tree, pyodide
build-recipes copies the source tree to the build directory before building.
When the source directory has some dist/*.whl files, they are copied as well,
which later causes "Exception: Unexpected number of wheels". Here we filter them
out.
2024-02-01 12:32:36 -08:00
Hood Chatham bd74ba5abf
build-recipes: Call search_pyodide_root to determine root (#4450) 2024-01-31 16:14:43 +09:00
Hood Chatham 7ec15b8d18
Split build-recipes and build-recipes-no-deps into separate commands (#4443)
There are a lot of options that are only implemented for one or the other of
these. We warn about some combinations of options that are ignored but skip a
lot of them. Seems best to turn them into separate commands so that the two
commands each only accept arguments that change their behavior.
2024-01-29 07:41:24 -08:00