Skip to content
Draft
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 emci/rattler_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def build_with_rattler(recipe=None, recipes_dir=None, target_platform=None, skip
"-c", "bioconda"
])

# disable strict priority
cmd.append("--channel-priority disabled")

# pass existing env vars to subprocess
print(f"Running rattler-build with command: {cmd}")

Expand Down
2 changes: 1 addition & 1 deletion recipes/recipes_native/pytester/bin/pytester
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
echo "Preparing tests:"

echo " - playwright install (chromium) "
PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=120000 npx playwright install chromium
playwright install chromium

# playwright install 2>&1 > /dev/null
echo "Run tests:"
Expand Down
7 changes: 6 additions & 1 deletion recipes/recipes_native/pytester/pytester/main_mount/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
if __name__ == "__main__":

try:
retcode = pytest.main(["-s"])
args = [
"-s",
"-vvv",
"-p", "no:faulthandler"
]
retcode = pytest.main(args)
except Exception as e:
print(f"pytest failed with exception: {e}")
# get backtrace
Expand Down
4 changes: 2 additions & 2 deletions recipes/recipes_native/pytester/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
context:
version: '1.6.0'
build_number: 3
build_number: 6

source:
- path: bin
Expand All @@ -27,7 +27,7 @@ outputs:
run:
- python
- microsoft::playwright
- conda-forge::pyjs_code_runner
- pyjs_code_runner

tests:
- package_contents:
Expand Down
24 changes: 13 additions & 11 deletions recipes/recipes_wasm/numpy/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ context:
cross_target_plattform: emscripten-wasm32
target_plattform: emscripten-wasm32
default_abi_level: 2.2
build_number: 1

package:
name: numpy
Expand All @@ -11,7 +12,7 @@ source:
url: https://github.com/numpy/numpy/releases/download/v${{ version }}/numpy-${{ version }}.tar.gz
sha256: d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860
build:
number: 0
number: ${{ build_number }}

files:
exclude:
Expand All @@ -35,7 +36,7 @@ requirements:
- pkg-config
- python
host:
- libpython-static
- python-dev
run_exports:
- numpy >=${{ default_abi_level }},<3
tests:
Expand All @@ -44,15 +45,16 @@ tests:
requirements:
build:
- generic-testing
# - script: pytester
# requirements:
# build:
# - pytester
# run:
# - pytester-run
# files:
# recipe:
# - test_numpy.py
- script: pytester
requirements:
build:
- microsoft::playwright
- pytester
run:
- pytester-run
files:
recipe:
- test_numpy.py

about:
homepage: http://numpy.org/
Expand Down