Skip to content

Releases: conda/conda-build

1.21.2

24 Jun 19:17
Compare
Choose a tag to compare

Bug fixes / Improvements:

  • revert some MSVC activation logic to still call vcvarsall directly in build script
  • fix Windows testing for binary prefix replacement (not done on win)
  • Add a warning message when conda-build can't create an environment due to unsatisfiable dependencies
  • Improve notion of whether a recipe uses a VCS in its metadata, or in its build

Known issues:

  • Environment activation on Windows will not work until Conda 4.1.4 is released. The activate.bat script does not look in the right place for the activate.d folder.
  • The test suite on Linux and Mac fails the python-build, python-run, and python-build-run tests, because an errant __conda-version__.txt file is somehow present. It is not clear where it comes from, and each of these tests pass when run individually. If you have mysterious issues, and you use __conda-version__.txt or files like it, please file an issue.

Contributors:

1.21.1

22 Jun 19:51
Compare
Choose a tag to compare

Bug fixes / Improvements:

  • Simplify MSVC activation, using distutil's existing logic #1036
  • Correctly interpret paths returned from git on windows, trying cygpath, falling back to conda regex #1037
  • Fix ability to disable anaconda upload in condarc #1043
  • Change environment activation to call activation in scripts, rather than having Python store variables #1044

Contributors:

1.21.0

15 Jun 19:49
Compare
Choose a tag to compare

New stuff:

  • Add FEATURE_ environment variables for MKL, opt and debugging #978
  • add info/about.json file that contains the "about" section of meta.yaml #941
  • allow --dirty flag to be passed to conda build command. Skips
    download, and provides DIRTY environment variable in build scripts. #973
  • Add msys2 paths to build and test environments #979
  • add new x86 and x86_64 selectors for Intel platforms #986
  • keep original meta.yaml in recipe folder of package; create meta.yaml.rendered in recipe folder. Neither exist when recipe not included. #1004
  • add ignore_prefix_files key to build in meta.yaml. Can ignore list of files,
    or True to ignore all prefix files. #1008 #1009
  • Automatically determine patch strip level #1011

Bug fixes/Improvements:

  • Lightened requirement that x.x be defined in both build and runtime sections. #650
  • Remove info/recipe.json from build conda packages. Superseded by info/recipe/meta.yaml.rendered. #781
  • Search for single and double backslashes when finding files that need prefix replacement #962
  • Track undefined jinja variables and use them to decide whether to download source #964
  • handle patches with p0 or p1 #969, #1011, #1020
  • only set os.environ for non-None variables #981
  • Don't use long prefixes on windows #985
  • Fix missing encoding argument #987
  • Respect proxy variables more appropriately #989
  • Search packages on PyPI, rather than listing them all. Should avoid some timeout errors there. #991
  • Fix unix-style paths returned from git on Windows preventing relative paths from providing Jinja2 metadata #995
  • improve logic handling "dirty" downloading. Always download when not dirty. #995
  • Fix post-build variables when no build section existed in original meta.yaml #999
  • Activate _build and _test environments approriately, rather than manipulating PATH directly #1002
  • Don't clone git submodules until after first checkout #1025
  • Move check_install over from conda.install #1027

Deprecations:

  • __conda_version__.txt and other post-build methods of altering the build
    string are marked as deprecated. Prefer Jinja2 templates where possible.
    Create issues if this breaks your work.

Contributors:

1.21.0beta

07 Jun 19:04
Compare
Choose a tag to compare
1.21.0beta Pre-release
Pre-release

This is a re-release of the 2.0.0beta release, without the change of the prefix length from 80 to 255.

Bug fixes/Improvements:

  • Respect proxy variables more appropriately #989
  • Fix post-build variables when no build section existed in original meta.yaml #999
  • Fix unix-style paths returned from git on Windows preventing relative paths from providing Jinja2 metadata #995
  • improve logic handling "dirty" downloading. Always download when not dirty. #995
  • Search packages on PyPI, rather than listing them all. Should avoid some timeout errors there. #991
  • Lightened requirement that x.x be defined in both build and runtime sections. #650
  • Search for single and double backslashes when finding files that need prefix replacement #962
  • Fix missing encoding argument #987
  • Don't use long prefixes on windows #985
  • only set os.environ for non-None variables #981
  • Track undefined jinja variables and use them to decide whether to download source #964
  • handle patches with p0 or p1 #969
  • keep original meta.yaml in recipe folder of package; create meta.yaml.rendered in recipe folder. Neither exist when recipe not included. #1004

New stuff:

  • Add FEATURE_ environment variables for MKL, opt and debugging #978
  • add new x86 and x86_64 selectors for Intel platforms #986
  • add info/about.json file that contains the "about" section of meta.yaml #941
  • Add msys2 paths to build and test environments #979
  • allow --dirty flag to be passed to conda build command. Skips download, and provides DIRTY environment variable in build scripts. #973
  • add ignore_prefix_files key to build in meta.yaml. Can ignore list of files, or True to ignore all prefix files. #1008

Contributors:

2.0.0beta

06 Jun 02:49
Compare
Choose a tag to compare
2.0.0beta Pre-release
Pre-release

Compatibility breaks:

  • Increase placeholder path to 255 bytes (affects only Linux/Mac. Packages need to be rebuilt to support longer embedded paths) #877

Bug fixes/Improvements:

  • Respect proxy variables more appropriately #989
  • Fix post-build variables when no build section existed in original meta.yaml #999
  • Fix unix-style paths returned from git on Windows preventing relative paths from providing Jinja2 metadata #995
  • improve logic handling "dirty" downloading. Always download when not dirty. #995
  • Search packages on PyPI, rather than listing them all. Should avoid some timeout errors there. #991
  • Lightened requirement that x.x be defined in both build and runtime sections. #650
  • Search for single and double backslashes when finding files that need prefix replacement #962
  • Fix missing encoding argument #987
  • Don't use long prefixes on windows #985
  • only set os.environ for non-None variables #981
  • Track undefined jinja variables and use them to decide whether to download source #964
  • handle patches with p0 or p1 #969

New stuff:

  • Add FEATURE_ environment variables for MKL, opt and debugging #978
  • add new x86 and x86_64 selectors for Intel platforms #986
  • add info/about.json file that contains the "about" section of meta.yaml #941
  • Add msys2 paths to build and test environments #979
  • allow --dirty flag to be passed to conda build command. Skips download, and provides DIRTY environment variable in build scripts. #973

Contributors:

1.20.3

18 May 16:39
Compare
Choose a tag to compare

2016-05-13 1.20.3:

Features:

  • use posix metapackage for cran skeleton packaging (#956)

Bug fixes:

  • fix output of package paths (extra output was breaking tools). Add tests. (#950, #960)
  • change default of no_download_source in build.py (for compatibility with conda-build-all) (#950)
  • fix regression in [] being confused for selectors (#957)

Contributors:

1.20.3beta

18 May 02:30
Compare
Choose a tag to compare
1.20.3beta Pre-release
Pre-release

2016-05-13 1.20.3:

Features:

  • use posix metapackage for cran skeleton packaging (#956)

Bug fixes:

  • fix output of package paths (extra output was breaking tools). Add tests. (#950, #960)
  • change default of no_download_source in build.py (for compatibility with conda-build-all) (#950)
  • fix regression in [] being confused for selectors (#957)

Contributors:

1.20.2

13 May 13:27
Compare
Choose a tag to compare

Features:

  • added --token and --user flags to pass corresponding information to anaconda upload (#921)
  • added conda render command that outputs a fully-rendered meta.yaml to either stdout, or to file (with --file) (#908)
  • support source checkout tools specified in meta.yaml. If source checkout fails at the rendering phase, source checkout
    and rendering are re-done after the build environment is created. (#843, #946)
  • fn is now optional when a URL specifies a filename. (#942)
  • CRAN skeleton generator now uses MSYS2 for Windows support (#942)
  • conda build & conda render both recursively look for meta.yaml (support conda-forge feedstock submodules) (#908)
  • Whitelist MAKEFLAGS environment variable. Setting this outside conda build should take effect in your build.
    Parallelize on *nix by adding -j here, instead of -j${CPU_COUNT} in your build.sh. This
    helps on CI's, where CPU_COUNT is not always well-behaved. (#917)
  • Run python_d executable on windows when debug feature is active (#724)
  • add conda build flag --keep-old-work that temporarily moves your last build, then moves it back after completion.
    For debugging, when more than one package is involved. (#833)
  • Allow selectors in imported jinja templates (#739)

Bug fixes:

  • fixed several instances wherein --skip-existing did not work (#897, #945)
  • Fully render recipe before outputting build string - fixes empty spots where GIT_* info should have been (#923)
  • Add MSYS2 path conversion filters to avoid issues with Win 7.1 SDK (#900)
  • Address PyPI's change of URL format (#922,
  • Fix invalid gcc "-m 32" flag (#916)
  • Fix empty section (due to selectors) handling regression (#919)
  • Fix regression in handling of VS2008 Pro (not Express + VC for Python 2.7). It is important to at least try to run vcvarsall.bat. (#913)
  • Fix CPAN skeleton generator (handle missing sections better) (#912)
  • Make test/requires versions match build/requires without additional pinning (#907)
  • Remove hard-coded CYGWIN path from conda-build's custom PATH (#903)
  • Source is downloaded before testing, fixing an issue where if build machine and some other test machine had different source, strange things happened. (#946)
  • Fix regression with Python 3.x fixing shebangs (#892)
  • Fix conda inspect crashes by using conda-meta info rather than filenames or dist names for package info (#947)

Miscellany:

  • restore AppVeyor testing for Windows builds (#864)
  • Build py3.5 on Appveyor (#938)
  • PEP8 cleanup; use flake8 rather than pyflakes (#938)
  • limited scope of project locking to avoid lock conflicts between build and rendering (#923)
  • set up anaconda.org build infrastructure (#924)
  • on Windows, environment variables are written to the temporary bld.bat in the source work folder. (#933)

Contributors:

1.20.2beta

07 May 00:05
Compare
Choose a tag to compare
1.20.2beta Pre-release
Pre-release
Merge pull request #900 from msarahan/fix_win_vs2010