Releases: conda/conda-build
Releases · conda/conda-build
25.3.1
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
Enhancements
- Add recipe option
build.python_version_independentto support building ABI3 for one CPython version and using the package in any later version. (#5456) - Add
cdt_archandcdt_nameas 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: trueas necessary. (#5571 via #5601) - Fixes transitive subpackage dependency resolution issue #3308. (#5603)
- Limit
patchelfto<0.18. (#5607) - Use the
CONDA_EXEas defined incontext.conda_exe_vars_dictinstead of defaulting to the one in thebaseenv. (#5637) - Fix LIEF>=0.15 compatibility. (#5626 via #5627)
Other
- Add
flakymarker to tests that fail randomly. (#5623)
Contributors
- @conda-bot
- @isuruf
- @jaimergp
- @jezdez
- @kenodegard
- @bernt-matthias made their first contribution in #5627
- @ForgottenProgramme
- @beckermr
- @travishathaway
- @vyasr made their first contribution in #5575
- @woutdenolf made their first contribution in #4977
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: 25.1.2...25.3.0
25.1.2
25.1.1
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
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
.condathe new default package format..tar.bz2files can still be generated with--package-format=1and/orconda_build.pkg_format: 1in your.condarcfile. (#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
CondaBuildUserErrorexceptions that were formallySystemExitexceptions
were not being caught properly. (#5538) - Fix a bug where bad match specs from intermediate parsing results would cause parsing to fail. (#5555)
- Fix
KeyErrorwhen an inconsistentbuild.pkg_typevalue is specified inmeta.yaml. (#5560)
Other
- Demote logging message about glob finding no matches from error to warning (#5472)
Contributors
- @conda-bot
- @carterbox
- @jaimergp
- @ForgottenProgramme
- @beckermr
- @tttc3
- @tkelman made their first contribution in #5565
- @ypradat made their first contribution in #5560
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: 24.11.2...25.1.0
24.11.2
Bug fixes
- Fix bug where
.copy()was used on a string instead ofcopy()when processing variants. (#5417)
Contributors
- @corneliusroemer made their first contribution in #5417
- @kenodegard
Full Changelog: 24.11.1...24.11.2
24.11.1
24.11.0
Enhancements
- Introduce
--package-formatas 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,.condaare all recognized and mapped appropriately. - Other options are rejected.
- This takes precedence over default value and
- Add support for CEP-17 that allows specifying the location of the site-packages directory with the
python_site_packages_pathbuild option for any packages namedpython. (#5502)
Bug fixes
- Fix regex for Jinja2
set/forstatements to be more specific. (#5514) - Fix
ruamel.yamlusage 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-formatandconda_pkg_formatwill become.condain 25.1. (#5534)
Docs
- Better document
run_test.r. (#5479) - Fix bug in docs build by pinning
conda-sphinx-themeversion to 0.2.2. (#5518)
Contributors
24.9.0
Enhancements
- Reduce render time when there is a large number of unused variants. (#5392)
Bug fixes
- Ensure variables mentioned in
script_envare undefined in the multi-output build environment
if they are undefined in the environment thatconda-buildis invoked from. (#5322) - Variables used in single-line jinja2
forandsetstatements 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.patchelfis an explicit conda-build dependency on Linux, so it will always be installed. (#5441) - Remove
conda_build.metadata._get_env_path. Useconda.base.context.locate_prefix_by_nameinstead. (#5441) - Remove
conda_build.build._construct_metadata_for_test_from_recipe. Test built packages instead, not recipes (e.g.,conda build --test packageinstead ofconda build --test recipe/). (#5478)
Contributors
- @beeankha
- @conda-bot
- @jameslamb
- @kenodegard
- @beckermr
- @msarahan
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: 24.7.1...24.9.0