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')
instead. (#5299) - Remove
conda_build.environ._load_all_json
. (#5299) - Remove
conda_build.environ._load_json
. (#5299) - Remove
conda_build.environ.cached_actions
. (#5299) - Remove
conda_build.environ.Environment
. Useconda.core.prefix_data.PrefixData
instead. (#5299) - Remove
conda_build.environ.InvalidEnvironment
. (#5299) - Remove
conda_build.environ.LINK_ACTION
. (#5299) - Remove
conda_build.environ.PREFIX_ACTION
. (#5299) - Remove
conda_build.index._apply_instructions
. Useconda_index._apply_instructions
instead. (#5299) - Remove
conda_build.index.DummyExecutor
. (#5299) - Remove
conda_build.index.LOCK_TIMEOUT_SECS
. (#5299) - Remove
conda_build.index.LOCKFILE_NAME
. (#5299) - Remove
conda_build.index.MAX_THREADS_DEFAULT
. (#5299)
Other
- Enable CodSpeed benchmarks for select tests. (#5233)
Contributors
- @beeankha
- @conda-bot
- @jaimergp
- @Callek made their first contribution in #5252
- @kenodegard
- @mbargull
- @Tobias-Fischer made their first contribution in #5202
- @ytausch made their first contribution in #5214
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: 24.3.0...24.5.0