Comments (3)
fyi. @pavelzw
from rattler-build.
This is a stripped down failing example that doesn't require a source:
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
context:
name: rattler-build-demo
version: 1
build_variant: ${{ 'unix' if unix else 'win' }}
build_number: 0
outputs:
- package:
name: ${{ name }}
version: ${{ version }}
build:
noarch: generic
number: ${{ build_number }}
string: ${{ build_variant }}_${{ hash }}_${{ build_number }}
requirements:
run:
- ${{ "__unix" if unix }}
- ${{ "__win" if win }}
- package:
name: ${{ name }}-subpackage
version: ${{ version }}
build:
noarch: generic
number: ${{ build_number }}
string: ${{ build_variant }}_${{ hash }}_${{ build_number }}
requirements:
run:
- ${{ pin_subpackage('rattler-build-demo', exact=True) }}
❯ rattler-build build -r recipe/recipe.yaml --render-only
Target platform: osx-arm64
╭─ Finding outputs from recipe
│ Found 2 variants
│ Build variant: rattler-build-demo-1-win_4616a5c_0
│
│ ╭─────────────────┬─────────╮
│ │ Variant ┆ Version │
│ ╞═════════════════╪═════════╡
│ │ target_platform ┆ noarch │
│ ╰─────────────────┴─────────╯
│ Build variant: rattler-build-demo-subpackage-1-win_b28fc4d_0
│
│ ╭────────────────────┬─────────────────╮
│ │ Variant ┆ Version │
│ ╞════════════════════╪═════════════════╡
│ │ rattler-build-demo ┆ 1 win_4616a5c_0 │
│ │ target_platform ┆ noarch │
│ ╰────────────────────┴─────────────────╯
│
╰─────────────────── (took 0 seconds)
╭─ Resolving environments
│
│ Finalized run dependencies:
│ ╭─────────┬──────╮
│ │ Name ┆ Spec │
│ ╞═════════╪══════╡
│ │ Depends ┆ │
│ │ __unix ┆ │
│ ╰─────────┴──────╯
│
╰─────────────────── (took 0 seconds)
╭─ Resolving environments
│
│ Finalized run dependencies:
│ ╭────────────────────┬─────────────────────────╮
│ │ Name ┆ Spec │
│ ╞════════════════════╪═════════════════════════╡
│ │ Depends ┆ │
│ │ rattler-build-demo ┆ ==1 unix_4616a5c_0 (PS) │
│ ╰────────────────────┴─────────────────────────╯
│
╰─────────────────── (took 0 seconds)
# ...
from rattler-build.
Related Issues (20)
- Error message when missing patchelf is not great HOT 1
- Add documentation for how to build header-only libraries
- Add example for `noarch: python` in combination with version selectors
- Can't force a dependency to come from a particular channel HOT 2
- Building from source on a git repository do not use selected tag on first run HOT 2
- rattler-build doesn't fail when no license file was found HOT 4
- rattler-build license warnings are not in warnings summary
- rattler-build should fail if the output directory is part of the recipe dir
- rattler-build prints wrong error messages
- Make GitHub error messages prettier
- rattler-build error when using --target-platform linux-64 on osx-arm64 HOT 5
- Make rattler-build use configuration from pixi configuration file
- Make rattler-build build --render-only output more parsing friendly HOT 1
- Expected behaviour when rendering recipe for win64 using c_compiler HOT 2
- Ability to pipe a recipe file into `rattler-build build` command HOT 1
- Remove TODO in windows/env.rs for `cygwin` support
- Retry on anaconda.org connection errors HOT 1
- Use `run_constraints` instead of `run_constrained` in all docs HOT 3
- `PKG_VERSION` not set during test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rattler-build.