Commit Graph

392 Commits

Author SHA1 Message Date
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
Hood Chatham b8287e42d9
chore: Update pre-commit (#4440)
I also reordered prettier to come last since it's the slowest. I switched from
using black to ruff-format which says its defaults are nearly the same as black.
2024-01-28 13:20:08 -08:00
Hood Chatham 5da4725830
FIX on buildall fail, print info after exiting rich context (#4441)
Otherwise the rich Live context will sometimes overwrite part of the failure message.
2024-01-28 13:16:03 -08:00
Gyeongjae Choi d4450d9ee3
Pin pytest < 8.0 and make s3 test compatible to moto 5.0 update (#4437)
pytest 8.0 and moto 5.0 were released a few hours ago, and
they seem to be breaking tests. This is a (temporary) fix.
2024-01-28 09:04:40 -08:00
Matthias Köppe e73abb8512
Fix package build failed message (#4404) 2024-01-26 18:07:23 -08:00
Matthias Köppe 9ca93345cf
`pyodide_build.buildpkg`: Build in `$PYODIDE_RECIPE_BUILD_DIR ` if set (#4405)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-24 21:27:41 +09:00
Matthias Köppe 5093db325f
Fix `pytest test_run_docker.py` when invoked from a subdirectory (#4414)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2024-01-24 21:19:56 +09:00
Hood Chatham 595f6b53d6
Monkey-patch platform.machine for pip in pyodide venv (#4412)
Without this fix, `pip install sqlalchemy>=2` fails trying to install greenlet.
2024-01-23 17:50:58 -08:00
Matthias Köppe 231b0de5fd
pyodide_build.logger: Do not use escape sequences when running under pytest (#4413) 2024-01-23 17:50:25 -08:00
Gyeongjae Choi 53f9faa9f2
BLD Drop `pyodide_build` entrypoint (#4368) 2024-01-23 22:35:31 +09:00
Matthias Köppe 056db73ff2
Monkey-patch `platform.system` for pip in pyodide venv (#4400)
Before this patch, pip cannot install emscripten platformed wheels on macos because
`platform.system` returns `"Darwin"` and so `platform_tags` returns Darwin tags:
https://github.com/pypa/packaging/blob/23.2/src/packaging/tags.py#L494-L503

By monkey patching platform.system to return something other than "Darwin", we get a
suitable list of tags.
2024-01-21 18:06:50 -08:00
Hood Chatham 61f4318eb6 0.26.0.dev0 2024-01-18 14:19:56 -08:00
Hood Chatham 6621b6bca7 v0.25.0 2024-01-18 11:00:33 -08:00
Gyeongjae Choi 8b0ae663a0
TST Use temporary directory when testing pyodide-build (#4369) 2024-01-13 20:02:55 +09:00
Gyeongjae Choi 06bbb38ee8
Remove version suffix from shared libraries (#4353) 2023-12-25 09:40:16 +01:00