jezdez on sphinx-sitemap
Add sphinx-sitemap to docs. Re… (compare)
pre-commit-ci[bot] on pre-commit-ci-update-config
[pre-commit.ci] pre-commit auto… (compare)
pip install --no-deps
with your build script (build.sh
and/or bld.bat
), but that's a not 100% reliable option.
conda
now, those are dhash
and pytest-cases
. So if I wanted to install those in my conda
built package, what would be the right way to do that. Would I include a script that does a pip install dhash --no-deps
or something like that?
gabm
I noticed that conda-build filters the .git folder from being packaged... I actually would like to package the whole .git folder along with the files present.. is there any way around that? https://github.com/conda/conda-build/blob/master/conda_build/utils.py#L1427
Hi everyone, I may have mentioned this problem before, but while I did get it to work briefly, I do not belief I found a proper solution. My problem is related to build variants in combination with multiple outputs in a recipe.
As an example, I created a minimal example recipe:
package:
name: outputvariants
version: "0.1"
build:
number: 0
requirements:
run:
- out_a
- out_b
outputs:
- name: out_a
script: install_A.sh # [unix]
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake >=3.10
host:
- boost-cpp {{ boostcpp }}
run:
- boost-cpp {{ boostcpp }}
- name: out_b
noarch: python
script: install_B.sh
requirements:
host:
- python
run:
- python
with minimal build scripts that only do `touch out[A|B]file.
If i setup my conda_build_config.yaml with at most 2 variants, e.g. as such:
boostcpp:
- 1.68
- 1.69
it builds as expected, but if I add more boost variants, or something else, liek so:
boostcpp:
- 1.68
- 1.69
- 1.70
- 1.71
python:
- 3.6
- 3.7
- 3.8
I only get a IndexError:
...
File "/Users/jpoeppel/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 2173, in _get_used_vars_meta_yaml_helper
apply_selectors=apply_selectors))
File "/Users/jpoeppel/miniconda3/lib/python3.7/site-packages/conda_build/metadata.py", line 1698, in extract_single_output_text
output = output_matches[output_index] if output_matches else ''
IndexError: list index out of range
Since I cannot imaging being the only one trying to have multiple outputs build with variants, I must be doing something wrong, but I do not quite get what the problem is. I would be happy about any help!
Since I cannot imaging being the only one trying to have multiple outputs build with variants
conda-canary
channel tomorrow. This release supports Python 2.7 but support for running conda-build in a Python 2.7 or <3.6 environments will be dropped in a 4.0.0 release in the near future. See conda/conda-build#4024 for more discussion.
target
in https://github.com/conda/conda-build/blob/7dac1cbad5195f719bde1eaeb0d5795186dc0eb0/tests/test-recipes/metadata/_cross_libgreeting/meta.yaml do?
ccache -s
to see some stats
ccache -s
. It can then report if using ccache actually did anything useful for your build or not so you can investigate that (maybe try the other methods, or modify bld.bat/build.sh etc)
tarcheck.py
works and what the inputs are