Skip to content

Releases: conda/conda-build

2.0.0

29 Aug 14:15
Compare
Choose a tag to compare

Notes here are a consolidation of all changes between 1.21.14 and 2.0.0.

Enhancements:

  • Increase placeholder path to 255 bytes (affects only Linux/Mac. Packages need to be rebuilt to support longer embedded paths) #877
  • Configuration is local, passed via config argument. No more global config. #953
  • Created Python API in conda_build/api.py #953
  • Separate build folders per-build to allow parallelism #953
  • Add locking to allow safe parallelism #953
  • Add build flag to turn off separate build folders (--no-build-id) #953
  • Much greater test coverage across all modules #953
  • Add CONDA_BUILD_STATE variable that reflects RENDER, BUILD, or TEST state of build #1232
  • Add support for HG_ variables in meta.yaml templates (for hg repos) #207 #1234
  • Add source_files test argument in meta.yaml to copy files from source into test #1237
  • add a numpy.distutils patch to jinja templating, so that fortran projects using numpy can also use jinja2 (thanks @bladwig1) #1252
  • Ensure that the build environment is on PATH during all tooling and testing #1256
  • Make failure due to pip requirements in meta.yaml clearer #1279
  • Allow API to accept either paths to meta.yaml files or MetaData objects, for better compatibility #1281
  • Implement tests to verify api stability #1283
  • Add build/noarch to recipe metadata. Use for truly platform independent packages - same folder in every install. #1285

Bug fixes:

  • Fix error converting linux to win packages due to python version mismatch #481
  • Fix infinite loop that occurred with circular dependencies being built #953
  • Improve test data structures to allow profiling with pytest-profiling #953
  • Fix version sorting in pypi skeleton generator #1238
  • improve backwards compatibility* prefix build and test envs with _, so that conda can be installed in them #1242
  • fix bdist_conda; add smoke test for it to Travis #1243
  • fix windows entry points (duplicate bad logic) #1246
  • fix inspect entry point in embedded conda.recipe #1251
  • create build environment before looking for VCS in it. #1253
  • fix a deadlock with recursive environment creation on encountering packages with short prefixes #1257
    with conda commands #1259
  • only compile pyc files if python is in the build prefix # 1261
  • remove exception catch-all in build CLI, to show actual errors more #1262
  • specify full paths to activate scripts to avoid PATH conflicts with virtualenv #1266
  • clean up remnants of pipbuild #1267
  • remove pyc files from any source_files arguments to test in meta.yaml (avoid file errors) #1272
  • copy files and folders when breaking hardlinks (rather than renaming) to avoid cross-filesystem errors #1273
  • add Scripts folder to prepended binary paths searched on Windows #1276
  • update MACOSX_DEPLOYMENT_TARGET hard-coded value to 10.7 (better fix soon) #1278
  • disallow backslashes in meta.yaml fields describing paths (e.g. always_include_files) #1280
  • prevent GIT_* env vars from containing newlines #1282
  • restore prefix-lengths inspect command (lost in merging) #1283

Restructuring:

  • CLI scripts have been gutted and moved to conda_build/cli. Content from them is in
    conda_build, in scripts without main_ prefix. #953
  • Skeleton generators have been broken out of main_skeleton.py, and consolidated into
    conda_build/skeletons. The contents of this folder are examined at runtime for pluggability. #953

Contributors:

Testers:

2.0.0beta4

27 Aug 00:57
Compare
Choose a tag to compare
2.0.0beta4 Pre-release
Pre-release

Bug fixes:

  • improve backwards compatibility with conda commands #1259
  • only compile pyc files if python is in the build prefix #1261
  • remove exception catch-all in build CLI, to show actual errors more #1262
  • specify full paths to activate scripts to avoid PATH conflicts with virtualenv #1266
  • clean up remnants of pipbuild #1267
  • remove pyc files from any source_files arguments to test in meta.yaml (avoid file errors) #1272
  • copy files and folders when breaking hardlinks (rather than renaming) to avoid cross-filesystem errors #1273
  • add Scripts folder to prepended binary paths searched on Windows #1276
  • update MACOSX_DEPLOYMENT_TARGET hard-coded value to 10.7 (better fix soon) #1278

Contributors:

2.0.0beta3

24 Aug 02:44
Compare
Choose a tag to compare
2.0.0beta3 Pre-release
Pre-release

Enhancements:

  • add a numpy.distutils patch to jinja templating, so that fortran projects using numpy can also use jinja2 (thanks @bladwig1) #1252

Bug fixes:

  • prefix build and test envs with _, so that conda can be installed in them #1242
  • fix bdist_conda; add smoke test for it to Travis #1243
  • fix windows entry points (duplicate bad logic) #1246
  • fix inspect entry point in embedded conda.recipe #1251
  • create build environment before looking for VCS in it. #1253
  • fix a deadlock with recursive environment creation on encountering packages with short prefixes #1257

Contributors:

2.0.0beta2

22 Aug 20:39
Compare
Choose a tag to compare
2.0.0beta2 Pre-release
Pre-release

This release includes all current (1.21.14) changes made to the 1.21.x series.

Enhancements:

  • Configuration is local, passed via config argument. No more global config. #953
  • Created Python API in conda_build/api.py #953
  • Separate build folders per-build to allow parallelism #953
  • Add locking to allow safe parallelism #953
  • Add build flag to turn off separate build folders (--no-build-id) #953
  • Much greater test coverage across all modules #953
  • Add CONDA_BUILD_STATE variable that reflects RENDER, BUILD, or TEST state of build #1232
  • Add support for HG_ variables in meta.yaml templates (for hg repos) #207 #1234
  • Add source_files test argument in meta.yaml to copy files from source into test #1237

Bug fixes:

  • Fix error converting linux to win packages due to python version mismatch #481
  • Fix infinite loop that occurred with circular dependencies being built #953
  • Improve test data structures to allow profiling with pytest-profiling #953
  • Fix version sorting in pypi skeleton generator #1238

Restructuring:

  • CLI scripts have been gutted and moved to conda_build/cli. Content from them is in
    conda_build, in scripts without main_ prefix. #953
  • Skeleton generators have been broken out of main_skeleton.py, and consolidated into
    conda_build/skeletons. The contents of this folder are examined at runtime for pluggability. #953

Contributors:

1.21.14

18 Aug 20:45
Compare
Choose a tag to compare

Bug fixes:

  • fix pyc compilation when egg files/folders are present #1225

Contributors:

1.21.13

18 Aug 18:00
Compare
Choose a tag to compare

Enhancements:

  • use git -am when applying git patches, so that patches better retain git history #1222
  • allow relatively pathed git submodules #1222
  • add guess_license_family to pypi skeleton generator #1222

Bug fixes:

  • fix typo in convert.py

Contributors:

1.21.12

17 Aug 21:11
Compare
Choose a tag to compare

Enhancements:

  • Whitelist the CPU_COUNT environment variable. #1149
  • Add tool for examining prefix length in existing packages #1195
  • Add a conda interface layer for better compatibility with conda 4.2 #1200 #1203 #1206
  • Document how to run tests #1205
  • Update default versions for R (3.3.1) and Perl (5.20.3) builds #1220

Bug fixes:

  • Don't compile .py files in executable locations. Compile one at a time. #1186
  • Don't force download if vcs is used as a source #1212
  • Break hardlinks as a post-install step. Hard links can cause problems at package install time. #1215
  • Make environment variables used by conda in environment creation always be bytestrings #1216 #1219

Contributors:

1.21.11

06 Aug 16:35
Compare
Choose a tag to compare

Bug fixes:

  • Correct logic for printout of meta.dist determination #1174
  • Attempt to use src_dir instead of WORK_DIR for directory creation #1175
  • Fix escaping problem with PY_VCRUNTIME_REDIST setting #1172
  • Set build prefix for win by path, not name #1172
  • Quote INCLUDE and LIB env var settings for win better #1172
  • Fix pypi skeleton package search #1181

Contributors:

1.21.10

03 Aug 02:12
Compare
Choose a tag to compare

Bug fixes:

  • Compile files ending with .py, not py. #1163
  • Move root logger to entry points, to not interfere with conda #1164 #1166
  • Use setuptools entry points, rather than pre-defined scripts #1165
  • Always use the long build prefix to avoid confusion #1168

Contributors:

1.21.9

01 Aug 19:50
Compare
Choose a tag to compare

Bug fixes:

  • Add debug option that shows conda output during build. Hide output otherwise. #1159
  • Add regression test for conda metapackage command, fix missing token and user args. #1160
  • Create croot (conda-bld) folder if missing before locking in render and skeleton. #1161

Contributors: