Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 13:00
    mbargull ready_for_review #4221
  • 13:00
    mbargull edited #4221
  • 12:41
    mbargull synchronize #4221
  • 12:38
    mbargull synchronize #4221
  • 12:35
    anaconda-issue-bot labeled #4221
  • 12:35
    mbargull opened #4221
  • 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
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?