Releases: conda/conda-build
Releases · conda/conda-build
24.9.0
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 thatconda-build
is invoked from. (#5322) - Variables used in single-line jinja2
for
andset
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
. Useconda.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 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
24.7.1
24.7.0
Enhancements
- Skip generating
repodata.json.bz2
for local index; generaterepodata.json
only; requireconda-package-handling >=2.2.0
matching conda. (#5231) - Add new include/exclude sections for glob expressions in multi-output
outputs/files
. (#4196 via #5216) - Increase performance by using
pickle
instead ofcopy.deepcopy
. (#5281) - Report fully rendered recipe to stdout before the build process starts. (#3798 via #5344)
- Validate
run_constrained
dependencies to prevent faulty specs reaching final repodata. (#5047 via #5359) PIP_*
env variables are set when building outputs in multi-output recipes. (#3993 via #5368)- Reduce performance overhead of logging. (#5384)
Bug fixes
- Include file path in addition to the content when generating the file hash to avoid unwanted caching during linkage analysis. (#4821)
- Error handling when
LIEF
fails is now consistent withpatchelf
. (#5176) - Ensure cross-building recipes select the correct noarch package variants. (#5341 via #5350)
- On Linux platforms, prefer the sysroot matching the target_platform when cross-compiling (#5403).
Deprecations
- Mark
conda_build.build._construct_metadata_for_test_from_recipe
as deprecated. Test built packages instead, not recipes (e.g.,conda build --test package
instead ofconda build --test recipe/
). (#3192 via #5352) - Mark
conda_build.build.check_external
for deprecation.patchelf
is an explicit conda-build dependency on Linux so it will always be installed. (#5355) - Remove the following deprecations:
conda_build.config.Config.override_channels
(useconda.base.context.context.channels
instead). (#5333)conda_build.config.noarch_python_build_age_default
. (#5333)conda_build.conda_interface.add_parser_channels
(useconda.cli.helpers.add_parser_channels
instead). (#5333)conda_build.conda_interface.add_parser_prefix
(useconda.cli.helpers.add_parser_prefix
instead). (#5333)conda_build.conda_interface.ArgumentParser
(useconda.cli.conda_argparse.ArgumentParser
instead). (#5333)conda_build.conda_interface.binstar_upload
(useconda.base.context.context.binstar_upload
instead). (#5333)conda_build.conda_interface.cc_conda_build
(useconda.base.context.context.conda_build
instead). (#5333)conda_build.conda_interface.cc_platform
(useconda.base.context.context.platform
instead). (#5333)conda_build.conda_interface.Channel
(useconda.models.channel.Channel
instead). (#5333)conda_build.conda_interface.Completer
. (#5333)conda_build.conda_interface.configparser
(useconfigparser
instead). (#5333)conda_build.conda_interface.CondaError
(useconda.exceptions.CondaError
instead). (#5333)conda_build.conda_interface.CondaHTTPError
(useconda.exceptions.CondaHTTPError
instead). (#5333)conda_build.conda_interface.CondaSession
(useconda.gateways.connection.session.CondaSession
instead). (#5333)conda_build.conda_interface.CONDA_VERSION
(useconda.__version__
instead). (#5333)conda_build.conda_interface.context
(useconda.base.context.context
instead). (#5333)conda_build.conda_interface.create_default_packages
(useconda.base.context.context.create_default_packages
instead). (#5333)conda_build.conda_interface.default_python
(useconda.base.context.context.default_python
instead). (#5333)conda_build.conda_interface.determine_target_prefix
(useconda.base.context.determine_target_prefix
instead). (#5333)conda_build.conda_interface.download
(useconda.gateways.connection.download.download
instead). (#5333)conda_build.conda_interface.env_path_backup_var_exists
. (#5333)conda_build.conda_interface.envs_dirs
(useconda.base.context.context.envs_dirs
instead). (#5333)conda_build.conda_interface.EntityEncoder
(useconda.auxlib.entity.EntityEncoder
instead). (#5333)conda_build.conda_interface.FileMode
(useconda.models.enums.FileMode
instead). (#5333)conda_build.conda_interface.get_conda_build_local_url
(useconda.models.channel.get_conda_build_local_url
instead). (#5333)conda_build.conda_interface.get_conda_channel
(useconda.models.channel.Channel.from_value
instead). (#5333)conda_build.conda_interface.get_prefix
(useconda.base.context.context.target_prefix
instead). (#5333)conda_build.conda_interface.get_rc_urls
(useconda.base.context.context.channels
instead). (#5333)conda_build.conda_interface.human_bytes
(useconda.utils.human_bytes
instead). (#5333)conda_build.conda_interface.import_module
(useimportlib.import_module
instead). (#5333)conda_build.conda_interface.input
(useinput
instead). (#5333)conda_build.conda_interface.InstalledPackages
. (#5333)conda_build.conda_interface.lchmod
(useconda.gateways.disk.link.lchmod
instead). (#5333)conda_build.conda_interface.LinkError
(useconda.exceptions.LinkError
instead). (#5333)conda_build.conda_interface.LockError
(useconda.exceptions.LockError
instead). (#5333)conda_build.conda_interface.MatchSpec
(useconda.models.match_spec.MatchSpec
instead). (#5333)conda_build.conda_interface.non_x86_linux_machines
(useconda.base.context.non_x86_machines
instead). (#5333)conda_build.conda_interface.NoPackagesFound
(useconda.exceptions.ResolvePackageNotFound
instead). (#5333)conda_build.conda_interface.NoPackagesFoundError
(useconda.exceptions.NoPackagesFoundError
instead). (#5333)conda_build.conda_interface.normalized_version
(useconda.models.version.normalized_version
instead). (#5333)conda_build.conda_interface.os
(useos
instead). (#5333)conda_build.conda_interface.PackageRecord
(useconda.models.records.PackageRecord
instead). (#5333)conda_build.conda_interface.PaddingError
(useconda.exceptions.PaddingError
instead). (#5333)conda_build.conda_interface.partial
(usefunctools.partial
instead). (#5333)conda_build.conda_interface.PathType
(useconda.models.enums.PathType
instead). (#5333)conda_build.conda_interface.pkgs_dirs
(useconda.base.context.context.pkgs_dirs
instead). (#5333)conda_build.conda_interface.prefix_placeholder
(useconda.base.constants.PREFIX_PLACEHOLDER
instead). (#5333)conda_build.conda_interface.ProgressiveFetchExtract
(useconda.core.package_cache_data.ProgressiveFetchExtract
instead). (#5333)conda_build.conda_interface.reset_context
(useconda.base.context.reset_context
instead). (#5333)conda_build.conda_interface.Resolve
(useconda.resolve.Resolve
instead). (#5333)conda_build.conda_interface.rm_rf
(useconda_build.utils.rm_rf
instead). (#5333)conda_build.conda_interface.root_dir
(useconda.base.context.context.root_prefix
instead). (#5333)conda_build.conda_interface.root_writable
(useconda.base.context.context.root_writable
instead). (#5333)conda_build.conda_interface.spec_from_line
(useconda.cli.common.spec_from_line
instead). (#5333)conda_build.conda_interface.specs_from_args
(useconda.cli.common.specs_from_args
instead). (#5333)conda_build.conda_interface.specs_from_url
(useconda.cli.common.specs_from_url
instead). (#5333)conda_build.conda_interface.StringIO
(useio.StringIO
instead). (#5333)conda_build.conda_interface.subdir
(useconda.base.context.context.subdir
instead). (#5333)conda_build.conda_interface.symlink_conda
. (#5333)conda_build.conda_interface.TemporaryDirectory
(useconda.gateways.disk.create.TemporaryDirectory
instead). (#5333)conda_build.conda_interface.TmpDownload
(useconda.gateways.connection.download.TmpDownload
instead). (#5333)conda_build.conda_interface._toposort
(useconda.common.toposort._toposort
instead). (#5333)conda_build.conda_interface.unix_path_to_win
(useconda.utils.unix_path_to_win
instead). (#5333)conda_build.conda_interface.untracked
(useconda.misc.untracked
instead). (#5333)conda_build.conda_interface.Unsatisfiable
(useconda.exceptions.UnsatisfiableError
instead). (#5333)conda_build.conda_interface.UnsatisfiableError
(useconda.exceptions.UnsatisfiableError
instead). (#5333)conda_build.conda_interface.url_path
(useconda.utils.url_path
instead). (#5333)conda_build.conda_interface.VersionOrder
(useconda.models.version.VersionOrder
instead). (#5333)conda_build.conda_interface.walk_prefix
(useconda.misc.walk_prefix
instead). (#5333)conda_build.conda_interface.win_path_to_unix
(useconda.common.path.win_path_to_unix
instead). (#5333)conda_build.index.channel_data
;conda_build.index.get_build_index
return value forchannel_data
is now alwaysNone
. (#5333)conda_build.metadata.check_circular_dependencies
(useconda_build.metadata._check_circular_dependencies
instead). (#5406)conda_build.metadata.toposort
(useconda_build.metadata.toposort_outputs
instead). (#5406)conda_build.utils._convert_lists_to_sets
(usefrozendict.deepfreeze
instead). (#5333)conda_build.utils.HashableDict
(usefrozendict.deepfreeze
instead). (#5333)conda_build.utils.represent_hashabledict
(usefrozendict.deepfreeze
instead). (#5333)conda_build.utils.rm_rf(config)
. (#5333)conda_build.variants.get_vars(loop_only)
. (#5333)
Other
- Do not generate conda error reports for common exceptions. (#5264)
- Add
CondaBuildUserError
exception to replacesys.exit
calls. (#5353) - Updated the CI to download the MacOSX 10.15 SDK. (#5387)
Contributors
- @beeankha
- @conda-bot
- @carterbox made their first contribution in #5216
- @dholth
- @isuruf
- @jaimergp
- @kenodegard
- @zklaus made their fi...
24.5.1
Bug fixes
- Fix issue with modifying a
frozendict
when specifyingoutputs/files
inmeta.yaml
. (#5342 via #5345) - Fix excessive memory use in
inspect_linkages_lief
. (#5267 via #5348)
Deprecations
- Mark
conda_build.metadata.toposort
as deprecated. Useconda_build.metadata.toposort_outputs
instead. (#5342 via #5345) - Mark
conda_build.metadata.check_circular_dependencies
as deprecated. Useconda_build.metadata._check_circular_dependencies
instead. (#5342 via #5345)
Contributors
Full Changelog: 24.5.0...24.5.1
24.5.0
Enhancements
- Only fetch
lfs
files for specificgit_ref
. (#5202) - Add
conda_build.metadata._split_line_selector
to cache line-selector parsed text. (#5237) - Add
conda_build.render.open_recipe
context manager to detect the recipe type (file/meta.yaml
, directory/recipe, or tarball/package) and properly handling any exit/close behavior. (#5238) - For Windows users, the stub executables used for Python entrypoints in packages are now codesigned. (#5252)
- Require
conda >=23.7.0
. (#5271)
Bug fixes
- Fix all CLI arguments to properly initialize
conda.base.context.context
with parsed arguments. Fixes issue with arguments not being processed (e.g.,--override-channels
was previously ignored). (#3693 via #5271)
Deprecations
- Deprecate
conda_build.conda_interface.CONDA_VERSION
constant. Useconda.__version__
instead. (#5222) - Deprecate
conda_build.conda_interface.binstar_upload
constant. Useconda.base.context.context.binstar_upload
instead. (#5222) - Deprecate
conda_build.conda_interface.default_python
constant. Useconda.base.context.context.default_python
instead. (#5222) - Deprecate
conda_build.conda_interface.envs_dirs
constant. Useconda.base.context.context.envs_dirs
instead. (#5222) - Deprecate
conda_build.conda_interface.pkgs_dirs
constant. Useconda.base.context.context.pkgs_dirs
instead. (#5222) - Deprecate
conda_build.conda_interface.cc_platform
constant. Useconda.base.context.context.platform
instead. (#5222) - Deprecate
conda_build.conda_interface.root_dir
constant. Useconda.base.context.context.root_prefix
instead. (#5222) - Deprecate
conda_build.conda_interface.root_writable
constant. Useconda.base.context.context.root_writable
instead. (#5222) - Deprecate
conda_build.conda_interface.subdir
constant. Useconda.base.context.context.subdir
instead. (#5222) - Deprecate
conda_build.conda_interface.create_default_packages
constant. Useconda.base.context.context.create_default_packages
instead. (#5222) - Deprecate
conda_build.conda_interface.get_rc_urls
function. Useconda.base.context.context.channels
instead. (#5222) - Deprecate
conda_build.conda_interface.get_prefix
function. Useconda.base.context.context.target_prefix
instead. (#5222) - Deprecate
conda_build.conda_interface.get_conda_channel
function. Useconda.models.channel.Channel.from_value
instead. (#5222) - Deprecate
conda_build.conda_interface.reset_context
function. Useconda.base.context.reset_context
instead. (#5222) - Deprecate
conda_build.conda_interface.context
singleton. Useconda.base.context.context
instead. (#5251) - Deprecate
conda_build.conda_interface.configparser
module. Useconfigparser
instead. (#5251) - Deprecate
conda_build.conda_interface.os
module. Useos
instead. (#5251) - Deprecate
conda_build.conda_interface.partial
function. Usefunctools.partial
instead. (#5251) - Deprecate
conda_build.conda_interface.import_module
function. Useimportlib.import_module
instead. (#5251) - Deprecate
conda_build.conda_interface.determine_target_prefix
function. Useconda.base.context.determine_target_prefix
instead. (#5251) - Deprecate
conda_build.conda_interface.non_x86_linux_machines
constant. Useconda.base.context.non_x86_machines
instead. (#5251) - Deprecate
conda_build.conda_interface.ProgressiveFetchExtract
class. Useconda.core.package_cache.ProgressiveFetchExtract
instead. (#5251) - Deprecate
conda_build.conda_interface.CondaError
class. Useconda.exceptions.CondaError
instead. (#5251) - Deprecate
conda_build.conda_interface.CondaHTTPError
class. Useconda.exceptions.CondaHTTPError
instead. (#5251) - Deprecate
conda_build.conda_interface.LinkError
class. Useconda.exceptions.LinkError
instead. (#5251) - Deprecate
conda_build.conda_interface.LockError
class. Useconda.exceptions.LockError
instead. (#5251) - Deprecate
conda_build.conda_interface.NoPackagesFoundError
class. Useconda.exceptions.NoPackagesFoundError
instead. (#5251) - Deprecate
conda_build.conda_interface.PaddingError
class. Useconda.exceptions.PaddingError
instead. (#5251) - Deprecate
conda_build.conda_interface.UnsatisfiableError
class. Useconda.exceptions.UnsatisfiableError
instead. (#5251) - Deprecate
conda_build.conda_interface.get_conda_build_local_url
class. Useconda.models.channel.get_conda_build_local_url
instead. (#5251) - Deprecate
conda_build.config.Config.override_channels
. Defer toconda.base.context.context.channels
instead. (#5271, #5324) - Deprecate
conda_build.conda_interface._toposort
. Useconda.common.toposort._toposort
instead. (#5276) - Deprecate
conda_build.conda_interface.add_parser_channels
. Useconda.cli.helpers.add_parser_channels
instead. (#5276) - Deprecate
conda_build.conda_interface.add_parser_prefix
. Useconda.cli.helpers.add_parser_prefix
instead. (#5276) - Deprecate
conda_build.conda_interface.ArgumentParser
. Useconda.cli.conda_argparse.ArgumentParser
instead. (#5276) - Deprecate
conda_build.conda_interface.cc_conda_build
. Useconda.base.context.context.conda_build
instead. (#5276) - Deprecate
conda_build.conda_interface.Channel
. Useconda.models.channel.Channel
instead. (#5276) - Deprecate
conda_build.conda_interface.Completer
. Unused. (#5276) - Deprecate
conda_build.conda_interface.CondaSession
. Useconda.gateways.connection.session.CondaSession
instead. (#5276) - Deprecate
conda_build.conda_interface.download
. Useconda.gateways.connection.download.download
instead. (#5276) - Deprecate
conda_build.conda_interface.EntityEncoder
. Useconda.auxlib.entity.EntityEncoder
instead. (#5276) - Deprecate
conda_build.conda_interface.env_path_backup_var_exists
. Unused. (#5276) - Deprecate
conda_build.conda_interface.FileMode
. Useconda.models.enums.FileMode
instead. (#5276) - Deprecate
conda_build.conda_interface.human_bytes
. Useconda.utils.human_bytes
instead. (#5276) - Deprecate
conda_build.conda_interface.input
. Useinput
instead. (#5276) - Deprecate
conda_build.conda_interface.InstalledPackages
. Unused. (#5276) - Deprecate
conda_build.conda_interface.lchmod
. Useconda.gateways.disk.link.lchmod
instead. (#5276) - Deprecate
conda_build.conda_interface.MatchSpec
. Useconda.models.match_spec.MatchSpec
instead. (#5276) - Deprecate
conda_build.conda_interface.NoPackagesFound
. Useconda.exceptions.ResolvePackageNotFound
instead. (#5276) - Deprecate
conda_build.conda_interface.normalized_version
. Useconda.models.version.normalized_version
instead. (#5276) - Deprecate
conda_build.conda_interface.PackageRecord
. Useconda.models.records.PackageRecord
instead. (#5276) - Deprecate
conda_build.conda_interface.PathType
. Useconda.models.enums.PathType
instead. (#5276) - Deprecate
conda_build.conda_interface.prefix_placeholder
. Useconda.base.constants.PREFIX_PLACEHOLDER
instead. (#5276) - Deprecate
conda_build.conda_interface.Resolve
. Useconda.resolve.Resolve
instead. (#5276) - Deprecate
conda_build.conda_interface.rm_rf
. Useconda_build.utils.rm_rf
instead. (#5276) - Deprecate
conda_build.conda_interface.spec_from_line
. Useconda.cli.common.spec_from_line
instead. (#5276) - Deprecate
conda_build.conda_interface.specs_from_args
. Useconda.cli.common.specs_from_args
instead. (#5276) - Deprecate
conda_build.conda_interface.specs_from_url
. Useconda.cli.common.specs_from_url
instead. (#5276) - Deprecate
conda_build.conda_interface.StringIO
. Useio.StringIO
instead. (#5276) - Deprecate
conda_build.conda_interface.symlink_conda
. Unused. (#5276) - Deprecate
conda_build.conda_interface.TempDirectory
. Useconda.gateways.disk.create.TemporaryDirectory
instead. (#5276) - Deprecate
conda_build.conda_interface.TmpDownload
. Useconda.gateways.connection.download.TmpDownload
instead. (#5276) - Deprecate
conda_build.conda_interface.unix_path_to_win
. Useconda.utils.unix_path_to_win
instead. (#5276) - Deprecate
conda_build.conda_interface.Unsatisfiable
. Useconda.exceptions.UnsatisfiableError
instead. (#5276) - Deprecate
conda_build.conda_interface.untracked
. Useconda.misc.untracked
instead. (#5276) - Deprecate
conda_build.conda_interface.url_path
. Useconda.utils.url_path
instead. (#5276) - Deprecate
conda_build.conda_interface.VersionOrder
. Useconda.models.version.VersionOrder
instead. (#5276) - Deprecate
conda_build.conda_interface.walk_prefix
. Useconda.misc.walk_prefix
instead. (#5276) - Deprecate
conda_build.conda_interface.win_path_to_unix
. Useconda.common.path.win_path_to_unix
instead. (#5276) - Deprecate
conda_build.variants.get_vars(loop_only)
. (#5280) - Deprecate
conda_build.utils.HashableDict
. Usefrozendict.deepfreeze
instead. (#5284) - Deprecate
conda_build.utils._convert_lists_to_sets
. Usefrozendict.deepfreeze
instead. (#5284) - Deprecate
conda_build.utils.represent_hashabledict
. Usefrozendict.deepfreeze
instead. (#5284) - Deprecate
conda_build.config.noarch_python_build_age_default
. (#5298) - Postpone
conda_build.index.channel_data
deprecation. (#5299) - Remove
conda_build.api.get_output_file_path
. Useconda_build.api.get_output_file_paths
instead. (#5299) - Remove
conda_build.bdist_conda
. (#5299) - Remove
conda_build.build.have_prefix_files
. (#5299) - Remove
conda_build.conda_interface.get_index
. Useconda.core.index.get_index
instead. (#5299) - Remove
conda_build.conda_interface.get_version_from_git_tag
. Useconda_build.environ.get_version_from_git_tag
instead. (#5299) - Remove
conda_build.conda_interface.handle_proxy_407
. Handled byconda.gateways.connection.session.CondaSession
. (#5299) - Remove
conda_build.conda_interface.hashsum_file
. Useconda.gateways.disk.read.compute_sum
instead. (#5299) - Remove
conda_build.conda_interface.md5_file
. Useconda.gateways.disk.read.compute_sum(path, 'md5')
ins...
24.3.0
Enhancements
Bug fixes
Deprecations
- Mark
conda_build.bdist_conda
module as pending deprecation. (#5196) - Mark
conda_build.build.have_prefix_files
as deprecated. (#5199) - Mark
conda_build.conda_interface.handle_proxy_407
as deprecated. Handled byconda.gateways.connection.session.CondaSession
. (#5203) - Mark
conda_build.conda_interface.hashsum_file
as deprecated. Useconda.gateways.disk.read.compute_sum
instead. (#5203) - Mark
conda_build.conda_interface.md5_file
as deprecated. Useconda.gateways.disk.read.compute_sum(path, 'md5')
instead. (#5203) - Mark
conda_build.environ.PREFIX_ACTION
as deprecated. (#5203) - Mark
conda_build.environ.LINK_ACTION
as deprecated. (#5203) - Mark
conda_build.environ.cache_actions
as deprecated. (#5203) - Mark
conda_build.index.DummyExecutor
as deprecated. (#5203) - Mark
conda_build.index.MAX_THREADS_DEFAULT
as deprecated. (#5203) - Mark
conda_build.index.LOCK_TIMEOUT_SECS
as deprecated. (#5203) - Mark
conda_build.index.LOCKFILE_NAME
as deprecated. (#5203) - Postpone
conda_build.index.channel_data
deprecation. (#5203) - Rename
conda_build.environ.create_env('specs_or_actions' -> 'specs_or_precs')
. (#5203) - Rename `conda_build.environ._execute_actions('actions' -> 'precs'). (#5203)
- Rename `conda_build.environ._display_actions('actions' -> 'precs'). (#5203)
- Rename
conda_build.inspect.check_install('platform' -> 'subdir')
. (#5203) - Rename
conda_build.render.execute_download_actions('actions' -> 'precs')
. (#5203) - Rename
conda_build.render.get_upstream_pins('actions' -> 'precs')
. (#5203) - Remove
conda_build.cli.main_render.execute(print_results)
. (#5203) - Remove
conda_build.conda_interface.Dist
. (#5203) - Remove
conda_build.conda_interface.display_actions
. (#5203) - Remove
conda_build.conda_interface.execute_actions
. (#5203) - Remove
conda_build.conda_interface.execute_plan
. (#5203) - Remove
conda_build.conda_interface.install_actions
. (#5203) - Remove
conda_build.conda_interface.linked
. (#5203) - Remove
conda_build.conda_interface.linked_data
. (#5203) - Remove
conda_build.conda_interface.package_cache
. (#5203) - Remove
conda_build.environ.get_install_actions
. Useconda_build.environ.get_package_records
instead. (#5203) - Remove
conda_build.index._determine_namespace
. (#5203) - Remove
conda_build.index._make_seconds
. (#5203) - Remove
conda_build.index.REPODATA_VERSION
. (#5203) - Remove
conda_build.index.CHANNELDATA_VERSION
. (#5203) - Remove
conda_build.index.REPODATA_JSON_FN
. (#5203) - Remove
conda_build.index.REPODATA_FROM_PKGS_JSON_FN
. (#5203) - Remove
conda_build.index.CHANNELDATA_FIELDS
. (#5203) - Remove
conda_build.index._clear_newline_chars
. (#5203) - Remove
conda_build.index._get_jinja2_environment
. (#5203) - Remove
conda_build.index._maybe_write
. (#5203) - Remove
conda_build.index._make_build_string
. (#5203) - Remove
conda_build.index._warn_on_missing_dependencies
. (#5203) - Remove
conda_build.index._cache_post_install_details
. (#5203) - Remove
conda_build.index._cache_recipe
. (#5203) - Remove
conda_build.index._cache_run_exports
. (#5203) - Remove
conda_build.index._cache_icon
. (#5203) - Remove
conda_build.index._make_subdir_index_html
. (#5203) - Remove
conda_build.index._make_channeldata_index_html
. (#5203) - Remove
conda_build.index._get_source_repo_git_info
. (#5203) - Remove
conda_build.index._cache_info_file
. (#5203) - Remove
conda_build.index._alternate_file_extension
. (#5203) - Remove
conda_build.index._get_resolve_object
. (#5203) - Remove
conda_build.index._get_newest_versions
. (#5203) - Remove
conda_build.index._add_missing_deps
. (#5203) - Remove
conda_build.index._add_prev_ver_for_features
. (#5203) - Remove
conda_build.index._shard_newest_packages
. (#5203) - Remove
conda_build.index._build_current_repodata
. (#5203) - Remove
conda_build.index.ChannelIndex
. (#5203) - Remove
conda_build.inspect.check_install('prepend')
. (#5203) - Remove
conda_build.inspect.check_install('minimal_hint')
. (#5203) - Remove
conda_build.noarch_python.ISWIN
. Useconda_build.utils.on_win
instead. (#5203) - Remove
conda_build.noarch_python._force_dir
. Useos.makedirs(exist_ok=True)
instead. (#5203) - Remove
conda_build.noarch_python._error_exit
. (#5203) - Remove
conda_build.render.actions_to_pins
. (#5203) - Remove
conda_build.utils.linked_data_no_multichannels
. (#5203) - Mark
conda_build.api.get_output_file_path
as deprecated. Useconda_build.api.get_output_file_paths
instead. (#5208) - Mark
conda_build.environ.Environment
as deprecated. Useconda.core.prefix_data.PrefixData
instead. (#5219) - Mark
conda_build.conda_interface.get_version_from_git_tag
as deprecated. Useconda_build.environ.get_version_from_git_tag
instead. (#5221)
Docs
- Update advice for installing conda-build into base environment. (#5223)
Other
- Add a check to print an additional warning and return an empty string when bits is "arm64" in
msvc_env_cmd
. (#4867)
Contributors
- @beeankha
- @conda-bot
- @dholth
- @finnagin made their first contribution in #4867
- @kathatherine
- @kenodegard
- @mbargull
- @minrk
- @ryanskeith
- @travishathaway
- @pre-commit-ci[bot]
24.1.2
24.1.1
24.1.0
Enhancements
- Update
conda inspect channels
to use updated solver/transaction logic. (#5033) - Relax
script_env
error in outputs when variable referenced inscript_env
is not defined.
This unifies current behavior with the top-level build. (#5105) - Add support for Python 3.12. (#4997 via #4998)
- Adopt calender versioning (CalVer) per CEP-8 for consistency with conda. (#4975)
- Adopt expedited CEP-9 deprecation policy. (#5064)
Deprecations
- Mark
conda inspect channels --test-installable
as pending deprecation. (#5033) - Mark
conda_build.inspect_pkg.check_install(package)
as pending deprecation in favor ofconda_build.inspect_pkg.check_install(subdir)
. (#5033) - Mark
conda_build.inspect_pkg.check_install(prepend)
as pending deprecation. (#5033) - Mark
conda_build.inspect_pkg.check_install(minimal_hint)
as pending deprecation. (#5033) - Mark
conda_build.conda_interface.Dist
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.display_actions
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.execute_actions
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.execute_plan
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.get_index
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.install_actions
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.linked
as pending deprecation. (#5074) - Mark
conda_build.conda_interface.linked_data
as pending deprecation. (#5074) - Mark
conda_build.utils.linked_data_no_multichannels
as pending deprecation. (#5074) - Mark
conda_build.environ.get_install_actions
as pending deprecation in favor ofconda_build.environ.get_package_records
. (#5152) - Mark
conda_build.environ.create_env(specs_or_actions)
as pending deprecation in favor ofconda_build.environ.create_env(specs_or_precs)
. (#5152) - Mark
conda_build.index.channel_data
as pending deprecation. (#5152) - Mark
conda_build.index._determine_namespace
as pending deprecation. (#5152) - Mark
conda_build.index._make_seconds
as pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_VERSION
as pending deprecation. (#5152) - Mark
conda_build.index.CHANNELDATA_VERSION
as pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_JSON_FN
as pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_FROM_PKGS_JSON_FN
as pending deprecation. (#5152) - Mark
conda_build.index.CHANNELDATA_FIELDS
as pending deprecation. (#5152) - Mark
conda_build.index._clear_newline_chars
as pending deprecation. (#5152) - Mark
conda_build.index._apply_instructions
as pending deprecation. (#5152) - Mark
conda_build.index._get_jinja2_environment
as pending deprecation. (#5152) - Mark
conda_build.index._maybe_write
as pending deprecation. (#5152) - Mark
conda_build.index._maybe_build_string
as pending deprecation. (#5152) - Mark
conda_build.index._warn_on_missing_dependencies
as pending deprecation. (#5152) - Mark
conda_build.index._cache_post_install_details
as pending deprecation. (#5152) - Mark
conda_build.index._cache_recipe
as pending deprecation. (#5152) - Mark
conda_build.index._cache_run_exports
as pending deprecation. (#5152) - Mark
conda_build.index._cache_icon
as pending deprecation. (#5152) - Mark
conda_build.index._make_subdir_index_html
as pending deprecation. (#5152) - Mark
conda_build.index._make_channeldata_index_html
as pending deprecation. (#5152) - Mark
conda_build.index._get_source_repo_git_info
as pending deprecation. (#5152) - Mark
conda_build.index._cache_info_file
as pending deprecation. (#5152) - Mark
conda_build.index._alternate_file_extension
as pending deprecation. (#5152) - Mark
conda_build.index._get_resolve_object
as pending deprecation. (#5152) - Mark
conda_build.index._get_newest_versions
as pending deprecation. (#5152) - Mark
conda_build.index._add_missing_deps
as pending deprecation. (#5152) - Mark
conda_build.index._add_prev_ver_for_features
as pending deprecation. (#5152) - Mark
conda_build.index._shard_newest_packages
as pending deprecation. (#5152) - Mark
conda_build.index._build_current_repodata
as pending deprecation. (#5152) - Mark
conda_build.index.ChannelIndex
as pending deprecation. (#5152) - Mark
conda_build.render.actions_to_pins
as pending deprecation. (#5152) - Mark
conda_build.render.execute_download_actions(actions)
as pending deprecation in favor ofconda_build.render.execute_download_actions(precs)
. (#5152) - Mark
conda_build.render.get_upstream_pins(actions)
as pending deprecation in favor ofconda_build.render.get_upstream_pins(precs)
. (#5152) - Remove
conda_build.api.update_index
. (#5151) - Remove
conda_build.cli.main_build.main
. (#5151) - Remove
conda_build.cli.main_convert.main
. (#5151) - Remove
conda_build.cli.main_debug.main
. (#5151) - Remove
conda_build.cli.main_develop.main
. (#5151) - Remove
conda_build.cli.main_index
. (#5151) - Remove
conda_build.cli.main_inspect.main
. (#5151) - Remove
conda_build.cli.main_metapackage.main
. (#5151) - Remove
conda_build.cli.main_render.main
. (#5151) - Remove
conda_build.cli.main_skeleton.main
. (#5151) - Remove
conda_build.conda_interface.IndexRecord
. (#5151) - Remove
conda_build.conda_interface.CrossPlatformStLink
. (#5151) - Remove
conda_build.conda_interface.SignatureError
. (#5151) - Remove
conda_build.conda_interface.which_package
. (#5151) - Remove
conda_build.conda_interface.which_prefix
. (#5151) - Remove
conda_build.conda_interface.get_installed_version
. (#5151) - Remove
conda_build.config.python2_fs_encode
. (#5151) - Remove
conda_build.config._ensure_dir
. (#5151) - Remove
conda_build.config.Config.CONDA_LUA
. (#5151) - Remove
conda_build.config.Config.CONDA_PY
. (#5151) - Remove
conda_build.config.Config.CONDA_NPY
. (#5151) - Remove
conda_build.config.Config.CONDA_PERL
. (#5151) - Remove
conda_build.config.Config.CONDA_R
. (#5151) - Remove
conda_build.environ.clean_pkg_cache
. (#5151) - Remove
conda_build.index.update_index
. (#5151) - Remove
conda_build.inspect_pkg.dist_files
. (#5151) - Remove
conda_build.inspect_pkg.which_package(avoid_canonical_channel_name)
. (#5151) - Remove
conda_build.inspect_pkg._installed
. (#5151) - Remove
conda_build.metadata.Metadata.name(fail_ok)
. (#5151) - Remove
conda_build.os_utils.ldd.get_package_files
. (#5151) - Remove
conda_build.os_utils.liefldd.is_string
. (#5151) - Remove
conda_build.os_utils.liefldd.codefile_type_liefldd
. (#5151) - Remove
conda_build.os_utils.liefldd.codefile_type_pyldd
. (#5151) - Remove
conda_build.os_utils.liefldd.codefile_type
. (#5151) - Remove
conda_build.os_utils.pyldd.mach_o_change
. (#5151) - Remove
conda_build.os_utils.pyldd.is_codefile
. (#5151) - Remove
conda_build.os_utils.pyldd.codefile_type
. (#5151) - Remove
conda_build.os_utils.pyldd.inspect_rpaths
. (#5151) - Remove
conda_build.os_utils.pyldd.get_runpaths
. (#5151) - Remove
conda_build.os_utils.pyldd.otool_sys
. (#5151) - Remove
conda_build.os_utils.pyldd.ldd_sys
. (#5151) - Remove
conda_build.plugin.index
. (#5151) - Remove
conda_build.post.determine_package_nature
. (#5151) - Remove
conda_build.post.library_nature(subdir)
. (#5151) - Remove
conda_build.post.library_nature(bldpkgs_dirs)
. (#5151) - Remove
conda_build.post.library_nature(output_folder)
. (#5151) - Remove
conda_build.post.library_nature(channel_urls)
. (#5151) - Remove
conda_build.post.dists_from_names
. (#5151) - Remove
conda_build.post.FakeDist
. (#5151) - Remove
conda_build.post._get_fake_pkg_dist
. (#5151) - Remove
conda_build.utils.relative
. (#5151) - Remove
conda_build.utils.samefile
. (#5151)
Docs
- Add GoatCounter (https://www.goatcounter.com/) as an analytics tool. (#5093)
Other
- Remove unused Allure test report collection. (#5113)
- Remove dependency on
conda.plan
. (#5074) - Remove almost all dependency on
conda.models.dist
. (#5074) - Replace usage of legacy
conda.models.dist.Dist
withconda.models.records.PackageRecord
. (#5074)
Contributors
Full Changelog: 3.28.4...24.1.0
3.28.4
Bug fixes
- Fix linking check regressions by restoring pre-3.28 behavior for
conda_build.inspect_pkg.which_package
. (#5141)
Contributors
Full Changelog: 3.28.3...3.28.4