Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Apr 14 17:54
    h-vetinari commented #4090
  • Apr 10 11:32
    h-vetinari commented #3910
  • Apr 09 21:57
    mingwandroid commented #4220
  • Apr 09 21:56
    mingwandroid commented #4220
  • Apr 09 21:49
    pseudoyim assigned #4220
  • Apr 09 21:49
    pseudoyim labeled #4220
  • Apr 09 21:49
    pseudoyim opened #4220
  • Apr 08 18:35
    xhochy commented #4219
  • Apr 08 18:33
    xhochy opened #4219
  • Apr 01 14:18
    DanVev edited #4218
  • Apr 01 14:17
    DanVev edited #4218
  • Apr 01 14:15
    DanVev opened #4218
  • Mar 30 02:34
    lambdalisue closed #2387
  • Mar 29 06:52
    mingwandroid assigned #4217
  • Mar 29 02:19
    raybellwaves opened #4217
  • Mar 27 00:53
    jakirkham opened #4216
  • Mar 25 05:00
    tholam opened #4215
  • Mar 23 22:38
    nderrick commented #3955
  • Mar 23 16:09
    bryevdv commented #4207
  • Mar 23 08:36

    marcelotrevisani on master

    Document build/script_env and s… (compare)

Benjamin Bertrand
Ray Donnelly
Recipe looks ok from initial eyeballing
Benjamin Bertrand

Looking at the warning above:

WARNING conda_build.metadata:_get_used_vars_output_script(2312): Not detecting used variables in output script /home/conda/staged-recipes/build_artifacts/taurus_1611351737826/_h_env_placehold_..._placehold_plac/bin/python -m pip install . --no-deps -vv;
conda-build only knows how to search .sh and .bat files right now.

And reading the documentation again:

Scripts that create or move files into the build prefix can be any kind of script. Known script types need only specify the script name.

It sounds like in outputs, script has to be a file. It can't be a command. Or I'm missing something?

Jaime Rodríguez-Guerra
Yep that issue sounds familiar.
Ray Donnelly
Ah yeahh
     - echo blah
Faustin Carter
I'm running into a scenario where installing my freshly built package doesn't install all the deps
        - python
        - pip
        - setuptools
        - knobs
        - pywin32
        - typer
knobs is a package I also built
And installing the package built with the above requirements list refuses to install knobs
Rather, it installs just fine, without any complaints, even if knobs doesn't exist!
The knobs package is just a generic package with some files in it, which builds just fine.
And is sitting in my local channel
Faustin Carter
knobs installs just fine, btw
Faustin Carter
Also, is there a way to suppress the inclusion of about.json in the resulting package?
We encode API keys for our channel URLs into our condarc file, and those API keys are getting stored in the package metadata which is not cool
Benjamin Bertrand
Are you installing from a channel or using the package filename? Using a filename implies the --no-deps option.
Faustin Carter
Using the local channel (after building both)
conda install -c local mypkg
Faustin Carter
OK, I sorted it out
I had to do conda build purge-all
And rebuild everything from scratch
Faustin Carter
I think there is some kind of bug
Shouldn't conda build be totally ignoring the local channel unless I'm passing --use-local to it?
Cheng H. Lee
In general, it should, unless you've configured otherwise. Use conda config --show channels use_local to check.
Note that conda-build may implicitly use local.
Faustin Carter
Yeah, use_local is false
So conda-build must be including it implicitly
It would be nice if there was a --no-local flag or something...
Christopher Barber
Is there any way to build just one subpackage (with no dependencies on other subpackages) from a multiple-output recipe?
Hi everyone, I have a package that I have been building with conda-smithy, which needs to target linux,mac and windows. I've gotten it almost entirely worky, but for some reason when installing on windows, it tryies to pull in the # [unix] dependencies still. I think I may be creating the windows package incorreectly though. I'm using conda convert ... -p win-64 which outputs the package, but seemingly the contents of that still seem to mention that it requires the unix dependency. Any suggestiosn where I'm going wrong?
Benjamin Bertrand
I don't think conda convert is made for this use case. It will take the same dependencies as the package given in input. If you have specific OS dependencies, you should build your package on each platform.
Thanks, I ended up doing just that. Misunderstanding with how conda convert worked. Thanks!
Antoine Prouvost
How can I skip a whole output for windows ? Do I have to add # [not win] to all the lines?
3 replies
Or maybe soemthing with Jinja?
{% if false %}  # [win]
{% if true %}  # [not win]
Marcelo Duarte Trevisani

How can I skip a whole output for windows ? Do I have to add # [not win] to all the lines?

inside of the output you can add a :

    skip: True  # [win]
1 reply
George Breyiannis

Hi all. I have an issue with my package. The name is "pyPoseidon" which creates an issue with

       - pyPoseidon

ModuleNotFoundError: No module named 'pyPoseidon'
Anyway to overcome this or do I need to change the package's name to all lowercase?