Skip to content

Releases: conda/conda-build

3.7.0

05 Mar 15:00
Compare
Choose a tag to compare

Enhancements:

  • raise ValueError when pin_subpackage is used, but no matching output is found #2720
  • Add new optional CLI argument, --extra-deps, to add test-time dependencies dynamically when splitting build and test phases (can't apply variants when phases are split) #2724

Bug fixes:

  • fix cran skeleton py2 invalid list copy syntax #2720
  • reconfigure TravisCI to test against conda master #2720
  • fix inaccurately raised problems with pin_subpackage #2720
  • coerce boolean values in conda_build_config.yaml to booleans (value.lower() == "true") #2723
  • change r skeleton cran test to a different package (nmf -> acs); nmf got removed
  • fix selectors being applied before variable detection, leading to variables in selectors never being detected #2723
  • add filesize calculation to converted script files #2727

Contributors:

3.6.0

28 Feb 22:50
Compare
Choose a tag to compare

Enhancements:

  • Allow per-output {pre,post}-{un,}link scripts #2712
  • support mro as part of the build string #2711
  • improve interpreter guessing for running output packaging scripts #2709
  • improve library overlinkage check, add support for whitelists of always-ok
    libraries to ignore. #2708
  • add support for noarch: generic recipes in cran skeleton generator #2710
  • add support for using Rtools on windows when building a package from source #2710
  • add support for binary repackaging of CRAN/MRAN artifacts #2710
  • add support for cran recipes from source tarballs #2710
  • template cran_mirror variable in generated cran output recipes. This allows
    CRAN and MRAN to easily be switched out. Default is MRAN. #2710

Bug fixes:

  • Reverse build/host activation order, to give build executables higher
    priority. Necessary to support proper R packaging. Includes better errors for
    empty packages caused by build env python being used to install python
    packages. #2686
  • Fix test scripts from subpackage outputs not being detected #2703
  • Fix sha in scripts in conversion from linux to windows packages (was not
    correctly handling hashbang addition/removal). #2713
  • Speed up stat gathering, restrict it more to only build, packaging, and test
    steps (not arbitrary subprocess calls) #2714
  • Check for incomplete files when inspecting links. Some files that looked like
    ELF files, but weren't, would trip up pyldd and kill the build. #2718

Contributors:

3.5.1

22 Feb 20:03
Compare
Choose a tag to compare

Enhancements:

  • Add relative path support for load_setup_py_data jinja2 function #2700

Bug fixes:

  • fix hoisting of archives containing folders named same as top-level folder. These subfolders were being removed inappropriately. #2692
  • Fall back gracefully when psutil fails to import. Disk and total time stats still available; memory and CPU time are not when psutil is unavailable. #2693
  • Fix directory size computation not being recursive, use scandir for walk operations on py27 #2699

Contributors:

3.5.0

20 Feb 21:01
Compare
Choose a tag to compare

Enhancements:

  • Print resource statistics for each step, as well as whole. CPU time, memory usage, disk usage. #2685
  • Record resource statistics to JSON file when --stats-file <output_file_path> argument is provided #2685

Bug fixes:

  • save complete parent recipe in info/recipe/parent for packages that are only outputs of a top-level package #2687

Contributors:

3.4.2

15 Feb 19:46
Compare
Choose a tag to compare

Enhancements:

  • allow trimming of skipped metadata in rendering to be optional (for sake of
    conda-forge rendering readme's on platforms that are skipped) #2680
  • rename the build prefix prior to the test phase. This will precipitate
    failures when packages embed paths to the build prefix, which conda does not
    replace at install time. Fixing these instances is specific enough to packages
    that we do not attempt to handle it in conda-build. #2681
  • add conda_interface.get_install_version function that facilitates checking if
    a pkg is in an env, and if so, what its version is #2682

Bug fixes:

  • use lookaheads in extraction regexes to avoid capturing unwanted text #2679

Contributors:

3.4.1

08 Feb 19:30
Compare
Choose a tag to compare

Bug fixes:

  • fix interpretation of zip_keys when testing pkgs (ignore empty values) #2673

Contributors:

3.4.0

01 Feb 03:46
Compare
Choose a tag to compare

Enhancements:

  • implement "--exclusive-config-file" CLI flag to render & build. This file
    bypasses detection of config files in $HOME and cwd, but respects any config
    files in recipe folders. #2661
  • Activate output scripts in meta.yaml ( #2667 ), but only when:
    • output has a build/script entry
    • output uses {{ compiler() }} jinja2 function in its requirements AND output extension is either .sh or .bat
    • output has build/activate_in_script key in meta.yaml set to a truthy value AND output extension is either .sh or .bat

Bug fixes:

  • fix AttributeError in overlinking check #2650 #2651
  • reorder mmap operations to fix problem with WSL #2655
  • fix numpy detection as "used" variable when using pin_compatible jinja2 #2659
  • silence conda KeyError warnings when indexing legacy packages that don't have newer metadata files #2656
  • replace "which" with "type -P" in conda-build's internal recipe. This avoids issues on PowerPC and with long paths. #2664
  • Error out when version computation fails in conda-build's setup.py. This will
    help prevent conda-build packages going out without valid internal versions
    being recorded (for example, when git is not installed on a build worker).
    #2665
  • ignore tarcheck errors for files in the info folder that don't appear in info/files file. Fixes inclusion of arbitrarily named readme files. #2668
  • clean up host prefix in between skeletons when using pypi's --recursive mode. Conda otherwise throws errors on the 2nd recipe. #2669

Contributors:

3.3.0

23 Jan 22:39
Compare
Choose a tag to compare

Enhancements:

  • Issue template created for github repo #2632
  • Detect overlinking (usage of libraries that are not present in listed dependencies).
    Warn by default. Error out with --error-overlinking flag. Conda-build 4.0 will
    error by default. #2635 #2647

Bug fixes:

  • fix merge_build_host to always be used in CRAN skeletons #2635
  • fix macho filename attribute error #2641
  • reorder search through files for compatibility bounds for speed #2638
  • cache used vars based also on recipe path, to avoid overly caching results #2643
  • normalize slashes in file glob lists for explicit output file lists #2644
  • silence conda 4.4 better when using quiet operations, such as --output #2645
  • fix pypi_url not affecting the url of the actual skeleton output from conda skeleton pypi #2646
  • fix overly broad string matching of "None" that caused problems where None may appear
    as part of a string in meta.yaml #2649

Contributors:

3.2.2

12 Jan 21:50
Compare
Choose a tag to compare

2018-01-12 3.2.2:

Enhancements:

  • Add CLI flag (--merge-build-host) to restore pre-3.1.4 behavior with merging build and host envs #26260

Bug fixes:

  • Check recipe/metadata skip status in more places, rather than strictly at the top-level #2617
  • fix unnecessary conforming of zip keys when distributing variants #2618
  • fix matching of unrendered output names when matching rendered names #2618
  • fix matching of partial (only used parts) of variants when lining up subpackages #2618
  • fix handling of outputs with same name as top level when considering used vars #2618
  • exclude top-level run_exports from applying to all outputs #2618
  • Fix linking compiler runtimes from build to host prefix (was broken by build/host prefix split in 3.1.4) #2621
  • Fix logic errors around merging build/host envs #2623
  • fix run_exports in outputs being overwritten #2623

Contributors:

3.2.1

03 Jan 03:05
Compare
Choose a tag to compare

Enhancements:

  • Improve "BUILD" environment variable value (especially on powerpc) #2615
  • Implement CentOS 7 ppc64le distro for conda skeleton rpm #2615
  • Improve handling of outputs that use the build/skip key to skip building #2616

Bug fixes:

  • Don't loop in all zipped keys when collecting used vars. Leave it to consumers to decide what to do. #2612
  • Fix run_exports using pin_subpackage not applying versioning for the implicit top-level output #2613
  • Fix run_exports not applying to build-time environment creation for top-level recipe (as opposed to outputs) #2613
  • Fix CRAN skeleton to better use host/build envs appropriately #2614
  • fix outputs not loading hash input info from files at test time correctly, leading to incorrect hashes and unresolved packages. #2616

Contributors: