Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyodide-build v0.29.3 #24

Merged
merged 4 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 10 additions & 14 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
github:
branch_name: main
tooling_branch_name: main
bot:
inspection: hint-all
conda_build:
error_overlinking: true
conda_build_tool: rattler-build
conda_forge_output_validation: true
bot:
inspection: hint-all
github:
branch_name: main
tooling_branch_name: main
68 changes: 0 additions & 68 deletions recipe/meta.yaml

This file was deleted.

71 changes: 71 additions & 0 deletions recipe/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
schema_version: 1

context:
version: 0.29.3

package:
name: pyodide-build
version: ${{ version }}

source:
url: https://pypi.org/packages/source/p/pyodide-build/pyodide_build-${{ version }}.tar.gz
sha256: 7da6e59dbf8d7bce2b98d85417afe742d3d712df77fea415d352f646ed44207e
patches:
# this _should_ fail if the version of cmake changes below
- 0000-no-cmake-from-pip.patch

build:
number: 0
noarch: python
script:
- ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation --disable-pip-version-check

requirements:
host:
- hatch-vcs
- hatchling
- pip
- python ${{ python_min }}.*
run:
- auditwheel-emscripten >=0.0.9,<0.1.0
- cmake >=3.24
- packaging
- pydantic >=2,<3
- pyodide-cli >=0.2.1,<0.3.dev0
- python >=${{ python_min }}
- python-build >=1.2.0,<1.3.dev0
- pyodide-lock ==0.1.0a7
- requests
- resolvelib
- rich
- ruamel.yaml
- typer
- unearth >=0.6,<1.dev0
- virtualenv
- wheel

tests:
- python:
python_version: ${{ python_min }}.*
pip_check: true
imports: pyodide_build
- requirements:
run:
- python ${{ python_min }}.*
script:
- pyodide build-recipes --help
- pyodide skeleton --help
- pyodide config --help
- python -c "v = __import__('pyodide_build').__version__; print(v); assert v == '${{ version }}'"

about:
summary: Tools for building Pyodide
license: MPL-2.0
license_file: LICENSE
homepage: https://github.com/pyodide/pyodide-build

extra:
recipe-maintainers:
- agriyakhetarpal
- bollwyvl