Skip to content

Releases: conda/conda-build

25.3.1

28 Mar 18:21
d49d2f2

Choose a tag to compare

Enhancements

Bug fixes

  • Revert #5603 to avoid rendering regressions in multi-output recipes. (#5644, #5645 via #5647)
  • Use more adequate permissions for temporary build scripts written to $SRC_DIR.

Contributors

Full Changelog: 25.3.0...25.3.1

25.3.0

19 Mar 16:39
e77c4c6

Choose a tag to compare

Enhancements

  • Add recipe option build.python_version_independent to support building ABI3 for one CPython version and using the package in any later version. (#5456)
  • Add cdt_arch and cdt_name as used vars when cdt jinja is used. (#5599)

Bug fixes

  • Fix subdirectory check for conda_build.utils.merge_tree. (#4976 via #4977)
  • Perform build string pin compatibility checks with glob matching instead of strict string equality. (#5600)
  • Warn about parsed and raw output block mismatches. This can cause issues with custom build strings, among others. The recommendation is to avoid Jinja flow control to build the output list. Use skip: true as necessary. (#5571 via #5601)
  • Fixes transitive subpackage dependency resolution issue #3308. (#5603)
  • Limit patchelf to <0.18. (#5607)
  • Use the CONDA_EXE as defined in context.conda_exe_vars_dict instead of defaulting to the one in the base env. (#5637)
  • Fix LIEF>=0.15 compatibility. (#5626 via #5627)

Other

  • Add flaky marker to tests that fail randomly. (#5623)

Contributors

Full Changelog: 25.1.2...25.3.0

25.1.2

05 Feb 17:10
a54844e

Choose a tag to compare

Enhancements

Contributors

Full Changelog: 25.1.1...25.1.2

25.1.1

15 Jan 08:37
6873259

Choose a tag to compare

Deprecations

  • Remove conda_build.exceptions.UnableToParseMissingJinja2. (#5587)
  • Remove conda_build.index.get_build_index(locking). (#5587)
  • Remove conda_build.index.get_build_index(timeout). (#5587)

Contributors

Note

The previous release (25.1.0) had some deprecated code that wasn't deleted as scheduled leading to DeprecatedError showing up. This is now resolved in 25.1.1.

Full Changelog: 25.1.0...25.1.1

25.1.0

14 Jan 16:26
b713677

Choose a tag to compare

Enhancements

  • Add SHA224, SHA384 and SHA512 support for validating downloaded sources. (#4793)
  • Add new hashing methods (content_sha256, content_sha384, content_sha512) to calculate the
    checksum of the extracted contents of the downloaded source artifacts. (#4821 via #5277)
  • Make .conda the new default package format. .tar.bz2 files can still be generated with --package-format=1 and/or conda_build.pkg_format: 1 in your .condarc file. (#5183 via #5527)
  • Add compatibility for LIEF=0.15. (#5564 via #5565)

Bug fixes

  • Verify all source hashes when multiple are defined (not just the first one). (#4793)
  • Fix a bug where some CondaBuildUserError exceptions that were formally SystemExit exceptions
    were not being caught properly. (#5538)
  • Fix a bug where bad match specs from intermediate parsing results would cause parsing to fail. (#5555)
  • Fix KeyError when an inconsistent build.pkg_type value is specified in meta.yaml. (#5560)

Other

  • Demote logging message about glob finding no matches from error to warning (#5472)

Contributors

Full Changelog: 24.11.2...25.1.0

24.11.2

26 Nov 22:18
07a10e2

Choose a tag to compare

Bug fixes

  • Fix bug where .copy() was used on a string instead of copy() when processing variants. (#5417)

Contributors

Full Changelog: 24.11.1...24.11.2

24.11.1

22 Nov 02:38
1d4235a

Choose a tag to compare

Bug fixes

  • Fix TypeError when no CLI arguments are passed. (#5549 via #5550)

Contributors

24.11.0

20 Nov 14:51
e70a6d0

Choose a tag to compare

Enhancements

  • Introduce --package-format as a command line argument. (#4890 via #5209)
    • This takes precedence over default value and condarc.
    • Normalization occurs so 1, "1", tar.bz2,.tar.bz2, 2, "2", conda, .conda are all recognized and mapped appropriately.
    • Other options are rejected.
  • Add support for CEP-17 that allows specifying the location of the site-packages directory with the python_site_packages_path build option for any packages named python. (#5502)

Bug fixes

  • Fix regex for Jinja2 set / for statements to be more specific. (#5514)
  • Fix ruamel.yaml usage to use supported APIs. (#5517)
  • Fix bug variant variables were not defined for the first parsing pass of a recipe. (#5528)
  • Fix a bug where variants were incorrectly found as being used when they matched a leading substring of
    another variant. (#5535)
  • Fix a bug where variants were not found when variables were used in pin_* statements. (#5535)

Deprecations

  • Deprecate conda_build.exceptions.UnableToParseMissingJinja2. (#5497)
  • Deprecate conda_build.index.get_build_index(locking). (#5508)
  • Deprecate conda_build.index.get_build_index(timeout). (#5508)
  • Require Python 3.9 or greater. (#5525)
  • The default value for --package-format and conda_pkg_format will become .conda in 25.1. (#5534)

Docs

  • Better document run_test.r. (#5479)
  • Fix bug in docs build by pinning conda-sphinx-theme version to 0.2.2. (#5518)

Contributors

24.9.0

18 Sep 16:09
9133820

Choose a tag to compare

Enhancements

  • Reduce render time when there is a large number of unused variants. (#5392)

Bug fixes

  • Ensure variables mentioned in script_env are undefined in the multi-output build environment
    if they are undefined in the environment that conda-build is invoked from. (#5322)
  • Variables used in single-line jinja2 for and set statements are now properly included in the variant
    matrix for some edge cases. (#5447)
  • Allow undefined jinja variables when a particular metadata block evaluates as skipped. (#5458)

Deprecations

  • Remove conda_build.build.check_external. patchelf is an explicit conda-build dependency on Linux, so it will always be installed. (#5441)
  • Remove conda_build.metadata._get_env_path. Use conda.base.context.locate_prefix_by_name instead. (#5441)
  • Remove conda_build.build._construct_metadata_for_test_from_recipe. Test built packages instead, not recipes (e.g., conda build --test package instead of conda build --test recipe/). (#5478)

Contributors

Full Changelog: 24.7.1...24.9.0

24.7.1

30 Jul 13:30
e0944e8

Choose a tag to compare

Bug fixes

  • Check for WSL existence before calling os.stat. (#5433 via #5434)

Contributors

Full Changelog: 24.7.0...24.7.1