3.28.0
Special announcement
In the upcoming January 2024 release of conda-build, significant changes are underway. We're set to transition to the CalVer versioning system. Additionally, we'll be formally embracing CEP 8 to manage our release schedule. Moreover, an expedited version of CEP 9 will be adopted for deprecation handling, omitting the pending deprecation phase and streamlining the period from deprecation to removal to a mere 2 months.
Enhancements
- Add
stblib
jinja function similar tocompiler
to explicitly define sysroot dependencies. (#4999) - Utilize conda-known subdirs for selector definitions, enabling conda_build to support new architectures with only an updated conda version. New OS support requires additional information for proper conda_build functionality, including UNIX-like platform designation, shared library prefix, and binary archive format for the platform. (#5009)
- Eliminate unnecessary cache clearing from
conda_build.build.test
. (#5031) - Consolidate
which_package
implementations and replaceconda.models.dist.Dist
usage withconda.models.records.PrefixRecords
. (#5041)
Bug fixes
- Display package file name in
get_hash_input
. (#5021) - Fall back to solved record filename to locate the downloaded tarball in
get_upstream_pins
. (#4991 via #5037) - Prevent overwriting of variants in high priority cbc.yaml entries when absent in lower priority cbc.yamls. (#5039)
- Correct the check for a missing anaconda-client to display a useful error message. (#5050)
- Fix conda_index.index verbose DEBUG/INFO message logging. (#5066)
Deprecations
- Mark
conda_build.environ.clean_pkg_cache
for pending deprecation. (#5031) - Mark
conda_build.conda_interface.IndexRecord
for pending deprecation. Useconda.models.records.PackageRecord
instead. (#5032) - Mark
conda_build.os_utils.pyldd.is_string
for pending deprecation. Useisinstance(value, str)
instead. (#5040) - Mark
conda_build.os_utils.pyldd.is_codefile
for pending deprecation. Useconda_build.os_utils.pyldd.codefile_class
instead. (#5040) - Mark
conda_build.os_utils.pyldd.codefile_type
for pending deprecation. Useconda_build.os_utils.pyldd.codefile_class
instead. (#5040) - Mark
conda_build.inspect_pkg.dist_files
for pending deprecation. (#5041) - Mark
conda_build.inspect_pkg.which_package(avoid_canonical_channel_name)
for pending deprecation. (#5041) - Mark
conda_build.inspect_pkg._installed
for pending deprecation. (#5041) - Mark
conda_build.os_utils.ldd.get_package_files
for pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.mach_o_change
for pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.inspect_rpath
for pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.get_runpaths
for pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.otool_sys
for pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.ldd_sys
for pending deprecation. (#5041) - Mark
conda_build.post.determine_package_nature
for pending deprecation. Useconda_build.post.get_dsos
andconda_build.post.get_run_exports
instead. (#5041) - Mark
conda_build.post.library_nature(subdir, bldpkgs_dirs, output_folder, channel_urls)
for pending deprecation. (#5041) - Mark
conda_build.post.dist_from_names
for pending deprecation. Queryconda.core.prefix_data.PrefixData
instead. (#5041) - Mark
conda_build.post.FakeDist
for pending deprecation. Useconda.models.records.PrefixRecord
instead. (#5041) - Mark
conda_build.post._get_fake_pkg_dist
for pending deprecation. Useconda.models.records.PrefixRecord
instead. (#5041) - Mark
conda_build.utils.relative
for pending deprecation. Useos.path.relpath
orpathlib.Path.relative_to
instead. (#5042)
Docs
- Incorporate the conda-sphinx-theme into conda-build documentation. (#5067)
- Update certain pages to remove redundant TOC entries. (#5067)
Other
- Implement Ruff linter in pre-commit configuration. (#5015)
- Replace
black
withruff format
in pre-commit setup. (#5052) - Identify Unicode tests as incompatible with
libmamba
. (#5059)
Contributors
- @conda-bot
- @danpetry made their first contribution in #5039
- @duncanmmacleod
- @h-vetinari made their first contribution in #4999
- @isuruf
- @jaimergp
- @jakirkham
- @kenodegard
- @mbargull
- @travishathaway
- @pre-commit-ci[bot]
Full Changelog: 3.27.0...3.28.0