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 0.26.0 #10

Merged
merged 4 commits into from
Jun 7, 2024
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
7 changes: 0 additions & 7 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.12'
cdt_name:
- cos6
channel_sources:
Expand All @@ -10,6 +6,3 @@ channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
zip_keys:
- - c_stdlib_version
- cdt_name
4 changes: 2 additions & 2 deletions .gitattributes

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

24 changes: 8 additions & 16 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,62 +1,54 @@
{% set version = "0.25.1" %}
{% set version = "0.26.0" %}

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

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

build:
number: 0
noarch: python
entry_points:
- pyodide-build = pyodide_build.__main__:main
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- hatchling
- pip
- python >=3.10
- python >=3.12
run:
- auditwheel-emscripten >=0.0.9,<0.1.0
- cmake >=3.24
- cython <3.0
- loky
- packaging
- pydantic >=1.10.2,<2
- pydantic >=2,<3
- pyodide-cli >=0.2.1,<0.3.dev0
- python >=3.10
- python-build >=1.2.0,<1.3.dev0
- pyodide-lock ==0.1.0a4
- pyodide-lock ==0.1.0a6
- pyyaml
- requests
- resolvelib
- rich
- ruamel.yaml
- tomli
- typer
- types-requests
- unearth >=0.6,<1.dev0
- virtualenv
- wheel

test:
files:
- test_pyodide_cli.py
imports:
- pyodide_build
requires:
- pip
commands:
- pip check
# TODO: deprecated, but maybe figure out all the env vars needed for this to actually run
# - pyodide-build --help
- which pyodide-build || where pyodide-build
- pyodide build-recipes --help
- pyodide skeleton --help
- pyodide config --help
Expand Down