Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building more than one recipe fails #52

Closed
jakirkham opened this issue Jul 26, 2016 · 5 comments
Closed

Building more than one recipe fails #52

jakirkham opened this issue Jul 26, 2016 · 5 comments

Comments

@jakirkham
Copy link
Member

Seems conda-build-all has had a wrench thrown in it with the recent conda-build release (1.21.7). Not really sure what is causing it, but it seems to have some issues identifying where source should be extracted. See this comment for one example. Also here is another that springs up in this build. It would be nice to figure out why source extraction is getting messed up in these cases.

cc @jjhelmus @patricksnape @msarahan

@jakirkham jakirkham changed the title Trouble building two recipes at once Trouble building more than one recipes at once Jul 27, 2016
@jakirkham
Copy link
Member Author

Updated the title to be more accurate. In short, we seem to be losing the -all part of conda-build-all.

@jakirkham
Copy link
Member Author

Just a reminder about this one, @pelson and @msarahan.

@pelson pelson changed the title Trouble building more than one recipes at once Building more than one recipe at once fails Aug 4, 2016
@pelson
Copy link
Contributor

pelson commented Aug 4, 2016

I can't reproduce this @jakirkham.

find my_recipes -name meta.yaml -exec echo {} \; -exec cat {} \;
my_recipes/recipe_a/meta.yaml
package:
  name: recipe_a
  version: 2.4

requirements:
  run:
    - python
  build:
    - python

my_recipes/recipe_b/meta.yaml
package:
  name: recipe_b
  version: 3.2

requirements:
  build:
    - recipe_a
    - numpy x.x
  run:
    - recipe_a
    - python
    - numpy x.x

And

CONDA_NPY=10 conda build-all my_recipes --matrix-conditions 'python >=2.7'
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata .........
Resolving distributions from 2 recipes... 
Computed that there are 9 distributions from the 2 recipes:
Resolved dependencies, will be built in the following order: 
    recipe_a-2.4-py27_0 (will be built: True)
    recipe_a-2.4-py34_0 (will be built: True)
    recipe_a-2.4-py35_0 (will be built: True)
    recipe_b-3.2-np110py27_0 (will be built: True)
    recipe_b-3.2-np111py27_0 (will be built: True)
    recipe_b-3.2-np110py34_0 (will be built: True)
    recipe_b-3.2-np111py34_0 (will be built: True)
    recipe_b-3.2-np110py35_0 (will be built: True)
    recipe_b-3.2-np111py35_0 (will be built: True)
> conda info
Current conda install:

             platform : osx-64
        conda version : 4.1.9
    conda-env version : 2.5.2
  conda-build version : 1.21.5
       python version : 2.7.12.final.0
     requests version : 2.9.1
     root environment : /Users/pelson/miniconda  (writable)
  default environment : /Users/pelson/miniconda/envs/_dev_conda_build_all
     envs directories : /Users/pelson/miniconda/envs
        package cache : /Users/pelson/miniconda/pkgs
         channel URLs : https://conda.anaconda.org/t/<TOKEN>/conda-forge/osx-64/
                        https://conda.anaconda.org/t/<TOKEN>/conda-forge/noarch/
                        https://repo.continuum.io/pkgs/free/osx-64/
                        https://repo.continuum.io/pkgs/free/noarch/
                        https://repo.continuum.io/pkgs/pro/osx-64/
                        https://repo.continuum.io/pkgs/pro/noarch/
          config file : /Users/pelson/.condarc
         offline mode : False
    is foreign system : False

@pelson
Copy link
Contributor

pelson commented Aug 4, 2016

I'm just looking into why conda info isn't reflecting my local imported versions... 😞

@pelson
Copy link
Contributor

pelson commented Aug 4, 2016

OK, that seems to have done it. I am able to reproduce the problem now. Additionally, all of the unit tests are passing 😞 .

@pelson pelson changed the title Building more than one recipe at once fails Building more than one recipe fails Aug 4, 2016
@pelson pelson closed this as completed in #53 Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants