Skip to content

Releases: conda/conda-build

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:

3.0.30

16 Nov 01:05
Compare
Choose a tag to compare

Bug fixes:

  • write all 'about' metadata fields out, not just select few #2488
  • fix lists getting nested during merging of configs, leading to TypeErrors #2494
  • make always_include_files act on host_prefix, not build_prefix #2497
  • warn users when script_env passes env vars through #2502
  • fix build string pyXY being just pyX when input didn't have full python version #2504

Contributors:

3.0.29

10 Nov 22:15
Compare
Choose a tag to compare

Enhancements:

  • interpret ~= in pypi skeletons, map to compatible expressions #2427
  • add arm and ppc architectures to conda convert #2472, #2474
  • add indentation to index.json and hash_input.json for easier reading #2476
  • check arch in index.json for platforms other than linux, mac, win #2478
  • update cran skeletonizer for new compilers, add flags for updating, rather than replacing recipe. #2481

Bug fixes:

  • fix implicit pinning not taking effect in outputs, fix incorrect matching of hashed subpackages #2455
  • exclude python from build requirements for purposes of hash computation. This was causing recipes that used python as a build tool to build too many similar packages. #2455
  • Support GIT_* vars even when source folders are specified #2477
  • silence warnings about .* being added to vc deps #2483
  • fix non-finalized recipe being used for creating build env, resulting in too few variants in output #2485

Contributors:

3.0.28

02 Nov 20:16
Compare
Choose a tag to compare

Enhancements:

  • Implement "subspace selection" - so you can reduce a larger central set of variants to some smaller subset. Fixes --python=X.Y on windows, with its zip_keys. #2466
  • Update cpan skeleton #2156
  • Pass through VSXY0COMNTOOLS env vars, so they're available in activate scripts called from outputs #2453
  • Add additional index-related files for Anaconda Navigator to use #2463
  • Add back CONDA_PY, CONDA_NPY, and friends, for backcompat with conda-build-all #2469

Bug fixes:

  • Fix build_folder selection in dirty envs #2445
  • Fix an os.rename back to copy_into for cross-volume compatibility #2451
  • Clean up leftovers created by utils.get_recipe_abspath #2459
  • fix path globbing and filtering replacing prefix not at start of path, which broke file copying #2468
  • Don't recreate envs unnecessarily for recipes with no outputs section #2470

Contributors:

3.0.27

17 Oct 17:50
Compare
Choose a tag to compare

Enhancements:

  • For windows error checks, assert that the errorlevel is 0, rather than GEQ 1. Makes negative return codes fail builds. #2442
  • allow channels to be passed to the metapackage command. Note that channels are not recorded to the package, and need to be passed at package install time, as well as metapackage creation time. #2443

Bug fixes:

  • Fix windows bits dictionary indexing incorrect type #2441

Contributors:

3.0.26

16 Oct 15:59
Compare
Choose a tag to compare

Enhancements:

  • Conda index now generates html index pages in addition to repodata.json #2395
  • make bash verbosity (-x flag) depend on setting of --debug flag #2426
  • pass test and build sections in any outputs through wholesale, rather than picking out individual fields from them. #2429
  • make conda-verify opt-in, rather than opt-out. Use --verify cli argument or verify keyword to api. #2436
  • implement requires_features and provides_features, for compatibility with conda 4.4's new key-value feature #2440

Bug fixes:

  • fix FEATURE_* variables not working due to a type error #2428
  • fix misleading error when download_url present but empty #2434
  • check HTTP status code of PyPI pkg manifest request before decoding it, to improve error message #2435
  • fix 64-bit exe's showing up in 32-bit win packages due to not accounting for host_arch with script files #2439
  • fix hardlink-breaking bug where path was being copied instead of specific file. Use better tempdir. #2437

Contributors:

3.0.25

06 Oct 20:54
Compare
Choose a tag to compare

Bug fixes:

  • unify usage of conda_43, learn to let the tests run. #2424

Contributors:

3.0.24

06 Oct 19:09
Compare
Choose a tag to compare

Enhancements:

  • add get_used_loop_vars() function to MetaData object, to show which loop variables are actually used by recipe #2410
  • Allow multiple file extensions for pypi skeletons, not just .tar.gz #2412

Bug fixes:

  • make build reqs equivalent to host when cross-compiling and no host section present (helps reduce need to modify python-only recipes) #2406
  • reduce logging output from filelock and conda #2418 #2422
  • Don't strip files in noarch: python when they are not known file types #2420
  • fix infinite loop when trying to build dep from found recipe, but that recipe is wrong version #2423
  • update perl used on appveyor for testing to 5.26

Contributors: