Skip to content

Releases: conda/conda-build

3.2.0

21 Dec 15:10
Compare
Choose a tag to compare

This release bumps the minor version to reflect the change in splitting the
build and host folders originally introduced by 3.1.4. That change has proven to
be disruptive to many users, and we felt it necessary to bump a minor version to
indicate that people should pay attention to this change. There's more info in
our docs at
https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#host

Enhancements:

  • Add log messages for each source of variants, so that you know where values are coming from #2597

Bug fixes:

  • remove unnecessary looped rm_rf when cleaning out prefixes between outputs #2587
  • fix meta.yaml not found errors when trying to test packages built with --no-include-recipe #2590
  • fix zipped key group with single entry causing a list to be passed later for single string values #2596
  • fix incomplete change to splitting build and host envs #2595
  • fix merging of top-level requirements and output reqs when output named same as top-level #2595
  • fix handling of outputs with templates in their name (they were losing their requirements) #2595
  • fix test file copying to avoid re-provisioning source during tests #2595
  • tweak requirements regex to avoid misinterpreting python executable usage in test commands as usage of the python variant #2595

Contributors:

3.1.6

15 Dec 22:55
Compare
Choose a tag to compare

Bug fixes:

  • fix test files in outputs (was losing reference to absolute path of recipe) #2584
  • fix several incorrect references to build_prefix that needed to be host_prefix #2584

Contributors:

3.1.5

15 Dec 17:21
Compare
Choose a tag to compare

Enhancements:

  • detect "used" variables in selectors #2581

Bug fixes:

  • Cache used variables for a given output on a given target platform to avoid
    recomputing this too often. This dramatically speeds up operations relative to
    3.1.4. #2581
  • fix used variable treatment of target_platform #2581

Contributors:

3.1.4

15 Dec 02:58
Compare
Choose a tag to compare

Enhancements:

  • detect "used" variables in build.sh, bld.bat and any output scripts, in
    addition to what already existed in meta.yaml. Used variables end up in the
    hash. #2576
  • don't merge build and host prefixes. We used to do this when host subdir ==
    build subdir. Keep them separate, so that build tools in build prefix won't
    ever interfere with software installed to host, to be packaged. #2579

Bug fixes:

  • exclude grouped keys from zip_keys when computing hashes. Only direct dependencies affect the hash. #2573
  • fix always_include_files usage omitting other ordinarily installed files #2580

Contributors:

3.1.3

13 Dec 16:27
Compare
Choose a tag to compare

Enhancements:

  • support environment variable expansion in path-related condarc settings #2563
  • speed up "fixing linking" on MacOS by ~98% #2564
  • Allow build/script and build/script_env entries in outputs, for simple scripts
    and for passing env vars into output scripts #2572

Bug fixes:

  • fix run_exports from build section not applying to host early enough and causing conflicts #2560
  • order outputs based on build, host, and run dependencies, not just run #2561
  • fix always_include_files when used in output sections #2569
  • add jinja2 to dependencies in setup.py (not just in conda.recipe) #2570

Contributors:

3.1.2

10 Dec 02:31
Compare
Choose a tag to compare

Bug fixes:

  • fix copying of relative paths with source_files in test section #2551
  • fix handling of too many x's in max_pin field. If more x's than actual places were present, the incrementing broke. #2552
  • refactor upstream pinning, fix extraction of outputs so that run_exports and pin_compatible work with them #2556
  • fix bug that occurred when an output had the same name as the top level recipe. Ended up extracting wrong part of recipe with wrong regex. #2556
  • fix copying of recipe losing folder structure in the destination copy of the recipe #2557

Contributors:

3.1.1

07 Dec 02:48
Compare
Choose a tag to compare

Bug fixes:

  • fix info files filters on windows #2542
  • fix icon.png files that needed to be included in the app section of recipes, for usage with Navigator #2545
  • fix package matching regex for packages with - in them (regex should find either - or _) #2546
  • fix detection of used variant variables within jinja2 conditionals #2547
  • fix output extraction regex (was picking up whole outputs section, not just one
    output). Also, fix top-level variables not being carried into later outputs. #2549

Contributors:

3.1.0

05 Dec 21:27
Compare
Choose a tag to compare

Enhancements:

  • Speed up package inspection by optimizing package file lookup #2535

  • Simplify hashing scheme. A hash will be added if all of these are true for any dependency:

    • package is an explicit dependency in build, host, or run deps
    • package has a matching entry in conda_build_config.yaml which is a pin to a specific version, not a lower bound
    • that package is not ignored by ignore_version

    OR

    • package uses {{ compiler() }} jinja2 function

    All other packages will no longer have hashes. The takeaway message is that
    hashes will appear when binary compatibility matters, but not when it doesn't. #2537

Bug fixes:

  • Allow packages to store files in info folder #2538
  • Fix source_files not working correctly when using test files in packages #2539

Contributors:

3.0.31

30 Nov 20:01
Compare
Choose a tag to compare

Enhancements:

  • expose time and datetime modules in jinja2 context, for use in meta.yaml #2513
  • jinja: permit recipes to check for existence of a variable without erroring #2529
  • add method for getting all variant values used by a recipe, not just those variants with more than one value. #2531

Bug fixes:

  • allow SSL_NO_PROXY env var to disable SSL checking on proxied connections #2505
  • Fix source hoisting issues (incorrectly flattening directory structure of extracted archives) #2507
  • Fix build env for output getting lost when output name == top-level name #2511
  • add global pin_run_as_build for R (x.x.x) to keep legacy R pinning behavior #2518
  • Fix path conversion issues going from windows to unix #2522
  • only insert variant versions when testing runtime availability for packages that are also present in build (not just run) #2527

Contributors:

2.1.18

28 Nov 16:28
Compare
Choose a tag to compare

NOTE: This release is not actively supported. You should strongly prefer the 3.x release series.

Bug fixes:

  • add SSL_CERT_FILE and REQUESTS_CA_BUNDLE to build env pass-through variables
  • allow blank values for certain keys in cran-skeleton #2153
  • Ignore feature records in index for conda inspect #2253
  • backport relax entry_points syntax from #1894 #2348
  • delete "cc" (conda config instance) only after all usage #2365
  • backport "only set env vars in build scripts that actually have values" from #2259; #2528

Contributors: