Skip to content
Snippets Groups Projects

Bumped conda-build

Merged Tiago de Freitas Pereira requested to merge bump-conda-build into master
3 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
32 32 - click >=7
33 33 - click-plugins
34 34 - conda=4
35 - conda-build=3.16
35 - conda-build=3
  • added 1 commit

    • b9beb0c9 - Work around to conda-build work and ship the LICENSE

    Compare with previous version

  • added 1 commit

    • 512e0a2a - Work around to conda-build work and ship the LICENSE

    Compare with previous version

  • added 1 commit

    • 6a30f46d - Work around to conda-build work and ship the LICENSE

    Compare with previous version

  • added 1 commit

    • 45e2eff8 - Work around to conda-build work and ship the LICENSE

    Compare with previous version

  • The doc says the path to the license file is relative to the source directory. However, when you say:

    if you do license: LICENSE instead of license: ../LICENSE, it breaks

    It looks like the path is relative to the recipe directory?!

    Doesn't this look like a conda build bug?

    Edited by Amir MOHAMMADI
  • Now the issue is another thing.

    /scratch/builds/bob/bob.devtools/miniconda/lib/python3.7/site-packages/conda_build/environ.py:426: UserWarning: The environment variable 'DOCSERVER' is being passed through with value http://www.idiap.ch.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.
      UserWarning
    export PREFIX=/scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla
    export SRC_DIR=/scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/test_tmp
    import: 'bob.devtools'
    import: 'bob.devtools'
    + bdt -h
    /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/test_tmp/run_test.sh: /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/bin/bdt: /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_157008995652: bad interpreter: No such file or directory
    Tests failed for bob.devtools-2.0.1b0-py36h661208a_3.tar.bz2 - moving package to /scratch/builds/bob/bob.devtools/miniconda/conda-bld/broken
    WARNING conda_build.build:tests_failed(2230): Tests failed for bob.devtools-2.0.1b0-py36h661208a_3.tar.bz2 - moving package to /scratch/builds/bob/bob.devtools/miniconda/conda-bld/broken
    TESTS FAILED: bob.devtools-2.0.1b0-py36h661208a_3.tar.bz2

    The python interpreter set in /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/bin/bdt

    does not exist

    it is pointing to something like /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/_h_***** instead of ``/scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089956525/_test_env_placehold_`

  • How this thing can be so buggy with minor bumps?

  • we should move to matlab

  • mentioned in merge request beat/beat.core!99 (merged)

  • I need some light on this, I would be very thankful if someone has an idea on what's going on.

    Cheers

  • For some reason, at some point of the build, the file /scratch/builds/bob/bob.devtools/miniconda/conda-bld/bob.devtools_1570089934535/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol is deleted

  • @tiago.pereira most probably you are hitting a conda build bug. Try downgrading conda build and find out at which version of conda-build it stops working. Then, report it as an issue on conda-build.

  • @tiago.pereira I can build this locally without an error. Here is my conda info:

    conda info                                                                                                                                                                     :(
    
         active environment : base
        active env location : /home/amir/miniconda
                shell level : 1
           user config file : /home/amir/.condarc
     populated config files : /home/amir/miniconda/.condarc
                              /home/amir/.condarc
              conda version : 4.7.12
        conda-build version : 3.18.9
             python version : 3.6.9.final.0
           virtual packages : 
           base environment : /home/amir/miniconda  (writable)
               channel URLs : https://www.idiap.ch/software/bob/conda/linux-64
                              https://www.idiap.ch/software/bob/conda/noarch
                              https://repo.anaconda.com/pkgs/main/linux-64
                              https://repo.anaconda.com/pkgs/main/noarch
                              https://repo.anaconda.com/pkgs/r/linux-64
                              https://repo.anaconda.com/pkgs/r/noarch
              package cache : /home/amir/miniconda/pkgs
                              /home/amir/.conda/pkgs
           envs directories : /home/amir/miniconda/envs
                              /home/amir/.conda/envs
                   platform : linux-64
                 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.6.9 Linux/5.3.1-arch1-1-ARCH arch/rolling glibc/2.29
                    UID:GID : 1000:1000
                 netrc file : None
               offline mode : False

    and here is what I ran:

    cd bob.devtools
    conda build -m bob/devtools/data/conda_build_config.yaml conda
  • is this the master branch?

  • yes. let me try this branch too.

  • My container

    conda info

         active environment : base
        active env location : /build_scripts/bob.devtools/miniconda
                shell level : 1
           user config file : /root/.condarc
     populated config files : /build_scripts/bob.devtools/miniconda/condarc
                              /root/.condarc
              conda version : 4.7.12
        conda-build version : 3.18.9
             python version : 3.7.4.final.0
           virtual packages : 
           base environment : /build_scripts/bob.devtools/miniconda  (writable)
               channel URLs : https://conda.anaconda.org/c3i_test/linux-64
                              https://conda.anaconda.org/c3i_test/noarch
                              https://repo.anaconda.com/pkgs/main/linux-64
                              https://repo.anaconda.com/pkgs/main/noarch
              package cache : /build_scripts/bob.devtools/miniconda/pkgs
                              /root/.conda/pkgs
           envs directories : /build_scripts/bob.devtools/miniconda/envs
                              /root/.conda/envs
                   platform : linux-64
                 user-agent : conda/4.7.12 requests/2.21.0 CPython/3.7.4 Linux/4.9.125-linuxkit centos/6.9 glibc/2.12
                    UID:GID : 0:0
                 netrc file : None
               offline mode : False
  • @tiago.pereira this is what I added on the top of this branch:

    diff --git a/conda/meta.yaml b/conda/meta.yaml
    index 059b565..14b3b13 100644
    --- a/conda/meta.yaml
    +++ b/conda/meta.yaml
    @@ -48,9 +48,6 @@ requirements:
         - jinja2
         - termcolor
         - psutil
    -    # pin packaging temporarily until
    -    # https://github.com/ContinuumIO/anaconda-issues/issues/11236 is fixed.
    -    - packaging=19.0
     
     test:
       requires:

    and this is what I run:

    conda build -m bob/devtools/data/conda_build_config.yaml conda

    It worked for both py3.6 and py3.7

  • Downgrading to conda-build 3.17 it works

  • I need to leave. Have no idea what's going on. I can't make it work with conda-build>=3.18

  • Amir MOHAMMADI added 1 commit

    added 1 commit

    Compare with previous version

  • Amir MOHAMMADI added 1 commit

    added 1 commit

    • 5d2e572b - skip compilation of template files

    Compare with previous version

  • Amir MOHAMMADI added 1 commit

    added 1 commit

    Compare with previous version

  • Amir MOHAMMADI added 1 commit

    added 1 commit

    Compare with previous version

  • @tiago.pereira I added some test code to see what goes inside bin/bdt:

    #!$PREFIX/bin/python
    # EASY-INSTALL-ENTRY-SCRIPT: 'bob.devtools==2.0.1b0','console_scripts','bdt'
    __requires__ = 'bob.devtools==2.0.1b0'
    import re
    import sys
    from pkg_resources import load_entry_point
    
    if __name__ == '__main__':
        sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
        sys.exit(
            load_entry_point('bob.devtools==2.0.1b0', 'console_scripts', 'bdt')()
        )

    This definitely looks like a conda-build bug. Please report it upstream if you have the time.

  • added 1 commit

    Compare with previous version

  • Guys, I pinned conda-build to version 3.17

    I would like to see if this will solve the issue from https://gitlab.idiap.ch/bob/bob.nightlies/issues/52

    I'll open a new merge request to remove this pin as soon as we figure out what's going on

  • Tiago de Freitas Pereira unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Tiago de Freitas Pereira changed the description

    changed the description

  • mentioned in commit 5606e84b

  • mentioned in merge request !112 (merged)

  • Please register or sign in to reply
    Loading