Recent Releases of https://github.com/conda/conda-build
https://github.com/conda/conda-build - 25.7.0
25.7.0 (2025-07-31)
Deprecations
- Remove
conda_build.render._MetaYaml. (#5755) - Remove
conda_build.render._represent_omap. (#5755) - Remove
conda_build.render._unicode_representer. (#5755) - Remove
conda_build.render._IndentDumperaccording to deprecation policy. Useconda_build.render.CustomDumperinstead. (#5755)
Contributors
- @nicoddemus
- @emmanuel-ferdman
- @jaimergp
- @jezdez
- @jakirkham
- @kathatherine
- @kenodegard
- @beckermr
- @ryanskeith
- @soapy1
- @travishathaway
- @dependabot[bot]
- @pre-commit-ci[bot]
- Python
Published by travishathaway 11 months ago
https://github.com/conda/conda-build - 25.5.0
Bug fixes
- Validate menuinst JSON documents using the included
$schemavalue. (#5569) - Require
conda-libmamba-solver25.4 or greater to fix issues with spaces inCONDA_BLD_PATH. This bumps the minimumcondarequirement to 24.11. (#5675) - Fix warning formatting in liefldd. (#5683)
- Fix regression so
os.pathsepworks in Jinja expressions. (#5705) - Fix bug where recipe outputs lists was modified during parsing. This caused false-positive warnings about inconsistent recipe outputs due to jinja2 structures and crashes when getting the recipe text. (#5711)
- Restore
isandis notoperators to selector minilanguage. (#5720 via #5721) - Remove usage of the
schannelattribute which is deprecated inconda. (#5722)
Deprecations
- Deprecate
conda_build.render._IndentDumper. Useconda_build.render.CustomDumperinstead. (#5282) - Deprecate
conda_build.render._MetaYaml. Unused. (#5282) - Deprecate
conda_build.render._represent_omap. Unused. (#5282) - Deprecate
conda_build.render._unicode_representer. Unused. (#5282) - Menuinst validation warnings will be raised as errors in 25.11. (#5569)
- Remove
conda_build.utils.root_script_dir(#5726)
Other
menuinstis no longer a dependency. (#5569)- Add
.mdextension to news entries. (#5705)
Contributors
- @emmanuel-ferdman
- @jaimergp
- @jezdez
- @jakirkham
- @kenodegard
- @beckermr
- @travishathaway
- @dependabot[bot]
- @pre-commit-ci[bot]
New Contributors
- @emmanuel-ferdman made their first contribution in https://github.com/conda/conda-build/pull/5683
- Python
Published by travishathaway about 1 year ago
https://github.com/conda/conda-build - 25.4.2
Bug fixes
- Added
len,replace,float, andjoinfunctions/methods for selectors. (#5695) - Added
os.septo allowed attributes for jinja2 and selectors. (#5695)
Contributors
- @beckermr
- Python
Published by beckermr about 1 year ago
https://github.com/conda/conda-build - 25.4.1
Bug fixes
- Fix bug where selectors with lists, tuples, or dicts could not be processed. (#5690)
Contributors
- @beckermr
Full Changelog: https://github.com/conda/conda-build/compare/25.4.0...25.4.1
- Python
Published by kenodegard about 1 year ago
https://github.com/conda/conda-build - 25.4.0
Enhancements
- Use
evalidateto evaluate selector logic. This restricts which operations are allowed as part of a selector. In particular, onlyos.getenvandos.environare now allowed in theosmodule. (#5482) - Ignore runexports of python from other packages when building with `pythonversion_independent: true`. (#5654)
Bug fixes
- Fix
get_conda_operation_lockscall to use correct arguments. (#4215 via #5259) - Use
conda_build.utils.tar_xfeverywhere to avoid blind usage oftar.extractallinconda renderandconda convert. - Fix release upload workflow to use GitHub event tag names. (#5686)
Docs
- Add recommendation to append build number to build string when overwriting build string. (#5676)
Other
- Remove
--no-deps,--no-build-isolation, and--ignore-installedpip installoptions in example recipes asconda-buildwill enforce all requiredpip installoptions itself at build time. (#5541)
Contributors
- @conda-bot
- @isuruf
- @jaimergp
- @kenodegard
- @hombit made their first contribution in https://github.com/conda/conda-build/pull/5656
- @matthewfeickert made their first contribution in https://github.com/conda/conda-build/pull/5541
- @beckermr
- @soapy1
- @tl-hbk made their first contribution in https://github.com/conda/conda-build/pull/5259
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/25.3.2...25.4.0
- Python
Published by kenodegard about 1 year ago
https://github.com/conda/conda-build - 25.4.0
Enhancements
- Use
evalidateto evaluate selector logic. This restricts which operations are allowed as part of a selector. In particular, onlyos.getenvandos.environare now allowed in theosmodule. (#5482) - Ignore runexports of python from other packages when building with `pythonversion_independent: true`. (#5654)
Bug fixes
- Fix
get_conda_operation_lockscall to use correct arguments. (#4215 via #5259) - Use
conda_build.utils.tar_xfeverywhere to avoid blind usage oftar.extractallinconda renderandconda convert.
Docs
- Add recommendation to append build number to build string when overwriting build string. (#5676)
Other
- Remove
--no-deps,--no-build-isolation, and--ignore-installedpip installoptions in example recipes asconda-buildwill enforce all requiredpip installoptions itself at build time. (#5541)
Contributors
- @conda-bot
- @isuruf
- @jaimergp
- @kenodegard
- @hombit made their first contribution in https://github.com/conda/conda-build/pull/5656
- @matthewfeickert made their first contribution in https://github.com/conda/conda-build/pull/5541
- @beckermr
- @soapy1
- @tl-hbk made their first contribution in https://github.com/conda/conda-build/pull/5259
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/25.3.2...25.4.0
- Python
Published by kenodegard about 1 year ago
https://github.com/conda/conda-build - 25.3.2
Enhancements
- Ignore
run_exportsof Python from other packages when building withpython_version_independent: true. (#5654)
Bug fixes
- Handle variants for transitive subpackage resolution. (#5644 & #5645 via #5651)
Contributors
- @isuruf
Full Changelog: https://github.com/conda/conda-build/compare/25.3.1...25.3.2
- Python
Published by kenodegard about 1 year ago
https://github.com/conda/conda-build - 25.3.1
Enhancements
- Add regression tests for issues #5644 and #5645. (#5648)
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
- @jaimergp
- @kenodegard
- @beckermr
Full Changelog: https://github.com/conda/conda-build/compare/25.3.0...25.3.1
- Python
Published by kenodegard about 1 year ago
https://github.com/conda/conda-build - 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 https://github.com/conda/conda-build/pull/5627
- @ForgottenProgramme
- @beckermr
- @travishathaway
- @vyasr made their first contribution in https://github.com/conda/conda-build/pull/5575
- @woutdenolf made their first contribution in https://github.com/conda/conda-build/pull/4977
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/25.1.2...25.3.0
- Python
Published by kenodegard over 1 year ago
https://github.com/conda/conda-build - 25.1.2
Enhancements
- Fix LIEF>=0.15 compatibility. (#5594 via #5595)
Contributors
- @tkelman
Full Changelog: https://github.com/conda/conda-build/compare/25.1.1...25.1.2
- Python
Published by ForgottenProgramme over 1 year ago
https://github.com/conda/conda-build - 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
- @kenodegard
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: https://github.com/conda/conda-build/compare/25.1.0...25.1.1
- Python
Published by ForgottenProgramme over 1 year ago
https://github.com/conda/conda-build - 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 https://github.com/conda/conda-build/pull/5565
- @ypradat made their first contribution in https://github.com/conda/conda-build/pull/5560
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/24.11.2...25.1.0
- Python
Published by ForgottenProgramme over 1 year ago
https://github.com/conda/conda-build - 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 https://github.com/conda/conda-build/pull/5417
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/24.11.1...24.11.2
- Python
Published by kenodegard over 1 year ago
https://github.com/conda/conda-build - 24.11.1
Bug fixes
- Fix
TypeErrorwhen no CLI arguments are passed. (#5549 via #5550)
Contributors
- @beeankha
- @kenodegard
- Python
Published by beeankha over 1 year ago
https://github.com/conda/conda-build - 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
- @beeankha
- @conda-bot
- @jaimergp
- @jezdez
- @jdblischak
- @jjhelmus
- @kenodegard
- @zklaus
- @beckermr
- @ryanskeith
- @dependabot[bot]
- @pre-commit-ci[bot]
- Python
Published by beeankha over 1 year ago
https://github.com/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_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: https://github.com/conda/conda-build/compare/24.7.1...24.9.0
- Python
Published by beeankha almost 2 years ago
https://github.com/conda/conda-build - 24.7.1
Bug fixes
- Check for WSL existence before calling
os.stat. (#5433 via #5434)
Contributors
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/24.7.0...24.7.1
- Python
Published by kenodegard almost 2 years ago
https://github.com/conda/conda-build - 24.7.0
Enhancements
- Skip generating
repodata.json.bz2for local index; generaterepodata.jsononly; requireconda-package-handling >=2.2.0matching conda. (#5231) - Add new include/exclude sections for glob expressions in multi-output
outputs/files. (#4196 via #5216) - Increase performance by using
pickleinstead ofcopy.deepcopy. (#5281) - Report fully rendered recipe to stdout before the build process starts. (#3798 via #5344)
- Validate
run_constraineddependencies 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
LIEFfails 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_recipeas deprecated. Test built packages instead, not recipes (e.g.,conda build --test packageinstead ofconda build --test recipe/). (#3192 via #5352) - Mark
conda_build.build.check_externalfor deprecation.patchelfis 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.channelsinstead). (#5333)conda_build.config.noarch_python_build_age_default. (#5333)conda_build.conda_interface.add_parser_channels(useconda.cli.helpers.add_parser_channelsinstead). (#5333)conda_build.conda_interface.add_parser_prefix(useconda.cli.helpers.add_parser_prefixinstead). (#5333)conda_build.conda_interface.ArgumentParser(useconda.cli.conda_argparse.ArgumentParserinstead). (#5333)conda_build.conda_interface.binstar_upload(useconda.base.context.context.binstar_uploadinstead). (#5333)conda_build.conda_interface.cc_conda_build(useconda.base.context.context.conda_buildinstead). (#5333)conda_build.conda_interface.cc_platform(useconda.base.context.context.platforminstead). (#5333)conda_build.conda_interface.Channel(useconda.models.channel.Channelinstead). (#5333)conda_build.conda_interface.Completer. (#5333)conda_build.conda_interface.configparser(useconfigparserinstead). (#5333)conda_build.conda_interface.CondaError(useconda.exceptions.CondaErrorinstead). (#5333)conda_build.conda_interface.CondaHTTPError(useconda.exceptions.CondaHTTPErrorinstead). (#5333)conda_build.conda_interface.CondaSession(useconda.gateways.connection.session.CondaSessioninstead). (#5333)conda_build.conda_interface.CONDA_VERSION(useconda.__version__instead). (#5333)conda_build.conda_interface.context(useconda.base.context.contextinstead). (#5333)conda_build.conda_interface.create_default_packages(useconda.base.context.context.create_default_packagesinstead). (#5333)conda_build.conda_interface.default_python(useconda.base.context.context.default_pythoninstead). (#5333)conda_build.conda_interface.determine_target_prefix(useconda.base.context.determine_target_prefixinstead). (#5333)conda_build.conda_interface.download(useconda.gateways.connection.download.downloadinstead). (#5333)conda_build.conda_interface.env_path_backup_var_exists. (#5333)conda_build.conda_interface.envs_dirs(useconda.base.context.context.envs_dirsinstead). (#5333)conda_build.conda_interface.EntityEncoder(useconda.auxlib.entity.EntityEncoderinstead). (#5333)conda_build.conda_interface.FileMode(useconda.models.enums.FileModeinstead). (#5333)conda_build.conda_interface.get_conda_build_local_url(useconda.models.channel.get_conda_build_local_urlinstead). (#5333)conda_build.conda_interface.get_conda_channel(useconda.models.channel.Channel.from_valueinstead). (#5333)conda_build.conda_interface.get_prefix(useconda.base.context.context.target_prefixinstead). (#5333)conda_build.conda_interface.get_rc_urls(useconda.base.context.context.channelsinstead). (#5333)conda_build.conda_interface.human_bytes(useconda.utils.human_bytesinstead). (#5333)conda_build.conda_interface.import_module(useimportlib.import_moduleinstead). (#5333)conda_build.conda_interface.input(useinputinstead). (#5333)conda_build.conda_interface.InstalledPackages. (#5333)conda_build.conda_interface.lchmod(useconda.gateways.disk.link.lchmodinstead). (#5333)conda_build.conda_interface.LinkError(useconda.exceptions.LinkErrorinstead). (#5333)conda_build.conda_interface.LockError(useconda.exceptions.LockErrorinstead). (#5333)conda_build.conda_interface.MatchSpec(useconda.models.match_spec.MatchSpecinstead). (#5333)conda_build.conda_interface.non_x86_linux_machines(useconda.base.context.non_x86_machinesinstead). (#5333)conda_build.conda_interface.NoPackagesFound(useconda.exceptions.ResolvePackageNotFoundinstead). (#5333)conda_build.conda_interface.NoPackagesFoundError(useconda.exceptions.NoPackagesFoundErrorinstead). (#5333)conda_build.conda_interface.normalized_version(useconda.models.version.normalized_versioninstead). (#5333)conda_build.conda_interface.os(useosinstead). (#5333)conda_build.conda_interface.PackageRecord(useconda.models.records.PackageRecordinstead). (#5333)conda_build.conda_interface.PaddingError(useconda.exceptions.PaddingErrorinstead). (#5333)conda_build.conda_interface.partial(usefunctools.partialinstead). (#5333)conda_build.conda_interface.PathType(useconda.models.enums.PathTypeinstead). (#5333)conda_build.conda_interface.pkgs_dirs(useconda.base.context.context.pkgs_dirsinstead). (#5333)conda_build.conda_interface.prefix_placeholder(useconda.base.constants.PREFIX_PLACEHOLDERinstead). (#5333)conda_build.conda_interface.ProgressiveFetchExtract(useconda.core.package_cache_data.ProgressiveFetchExtractinstead). (#5333)conda_build.conda_interface.reset_context(useconda.base.context.reset_contextinstead). (#5333)conda_build.conda_interface.Resolve(useconda.resolve.Resolveinstead). (#5333)conda_build.conda_interface.rm_rf(useconda_build.utils.rm_rfinstead). (#5333)conda_build.conda_interface.root_dir(useconda.base.context.context.root_prefixinstead). (#5333)conda_build.conda_interface.root_writable(useconda.base.context.context.root_writableinstead). (#5333)conda_build.conda_interface.spec_from_line(useconda.cli.common.spec_from_lineinstead). (#5333)conda_build.conda_interface.specs_from_args(useconda.cli.common.specs_from_argsinstead). (#5333)conda_build.conda_interface.specs_from_url(useconda.cli.common.specs_from_urlinstead). (#5333)conda_build.conda_interface.StringIO(useio.StringIOinstead). (#5333)conda_build.conda_interface.subdir(useconda.base.context.context.subdirinstead). (#5333)conda_build.conda_interface.symlink_conda. (#5333)conda_build.conda_interface.TemporaryDirectory(useconda.gateways.disk.create.TemporaryDirectoryinstead). (#5333)conda_build.conda_interface.TmpDownload(useconda.gateways.connection.download.TmpDownloadinstead). (#5333)conda_build.conda_interface._toposort(useconda.common.toposort._toposortinstead). (#5333)conda_build.conda_interface.unix_path_to_win(useconda.utils.unix_path_to_wininstead). (#5333)conda_build.conda_interface.untracked(useconda.misc.untrackedinstead). (#5333)conda_build.conda_interface.Unsatisfiable(useconda.exceptions.UnsatisfiableErrorinstead). (#5333)conda_build.conda_interface.UnsatisfiableError(useconda.exceptions.UnsatisfiableErrorinstead). (#5333)conda_build.conda_interface.url_path(useconda.utils.url_pathinstead). (#5333)conda_build.conda_interface.VersionOrder(useconda.models.version.VersionOrderinstead). (#5333)conda_build.conda_interface.walk_prefix(useconda.misc.walk_prefixinstead). (#5333)conda_build.conda_interface.win_path_to_unix(useconda.common.path.win_path_to_unixinstead). (#5333)conda_build.index.channel_data;conda_build.index.get_build_indexreturn value forchannel_datais now alwaysNone. (#5333)conda_build.metadata.check_circular_dependencies(useconda_build.metadata._check_circular_dependenciesinstead). (#5406)conda_build.metadata.toposort(useconda_build.metadata.toposort_outputsinstead). (#5406)conda_build.utils._convert_lists_to_sets(usefrozendict.deepfreezeinstead). (#5333)conda_build.utils.HashableDict(usefrozendict.deepfreezeinstead). (#5333)conda_build.utils.represent_hashabledict(usefrozendict.deepfreezeinstead). (#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
CondaBuildUserErrorexception to replacesys.exitcalls. (#5353) - Updated the CI to download the MacOSX 10.15 SDK. (#5387)
Contributors
- @beeankha
- @conda-bot
- @carterbox made their first contribution in https://github.com/conda/conda-build/pull/5216
- @dholth
- @isuruf
- @jaimergp
- @kenodegard
- @zklaus made their first contribution in https://github.com/conda/conda-build/pull/5364
- @beckermr
- @minrk
- @timkpaine made their first contribution in https://github.com/conda/conda-build/pull/4821
- @dependabot[bot]
- @pre-commit-ci[bot]
- Python
Published by beeankha almost 2 years ago
https://github.com/conda/conda-build - 24.5.1
Bug fixes
- Fix issue with modifying a
frozendictwhen specifyingoutputs/filesinmeta.yaml. (#5342 via #5345) - Fix excessive memory use in
inspect_linkages_lief. (#5267 via #5348)
Deprecations
- Mark
conda_build.metadata.toposortas deprecated. Useconda_build.metadata.toposort_outputsinstead. (#5342 via #5345) - Mark
conda_build.metadata.check_circular_dependenciesas deprecated. Useconda_build.metadata._check_circular_dependenciesinstead. (#5342 via #5345)
Contributors
- @beeankha
- @kenodegard
- @mbargull
Full Changelog: https://github.com/conda/conda-build/compare/24.5.0...24.5.1
- Python
Published by beeankha about 2 years ago
https://github.com/conda/conda-build - 24.5.0
Enhancements
- Only fetch
lfsfiles for specificgit_ref. (#5202) - Add
conda_build.metadata._split_line_selectorto cache line-selector parsed text. (#5237) - Add
conda_build.render.open_recipecontext 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.contextwith parsed arguments. Fixes issue with arguments not being processed (e.g.,--override-channelswas previously ignored). (#3693 via #5271)
Deprecations
- Deprecate
conda_build.conda_interface.CONDA_VERSIONconstant. Useconda.__version__instead. (#5222) - Deprecate
conda_build.conda_interface.binstar_uploadconstant. Useconda.base.context.context.binstar_uploadinstead. (#5222) - Deprecate
conda_build.conda_interface.default_pythonconstant. Useconda.base.context.context.default_pythoninstead. (#5222) - Deprecate
conda_build.conda_interface.envs_dirsconstant. Useconda.base.context.context.envs_dirsinstead. (#5222) - Deprecate
conda_build.conda_interface.pkgs_dirsconstant. Useconda.base.context.context.pkgs_dirsinstead. (#5222) - Deprecate
conda_build.conda_interface.cc_platformconstant. Useconda.base.context.context.platforminstead. (#5222) - Deprecate
conda_build.conda_interface.root_dirconstant. Useconda.base.context.context.root_prefixinstead. (#5222) - Deprecate
conda_build.conda_interface.root_writableconstant. Useconda.base.context.context.root_writableinstead. (#5222) - Deprecate
conda_build.conda_interface.subdirconstant. Useconda.base.context.context.subdirinstead. (#5222) - Deprecate
conda_build.conda_interface.create_default_packagesconstant. Useconda.base.context.context.create_default_packagesinstead. (#5222) - Deprecate
conda_build.conda_interface.get_rc_urlsfunction. Useconda.base.context.context.channelsinstead. (#5222) - Deprecate
conda_build.conda_interface.get_prefixfunction. Useconda.base.context.context.target_prefixinstead. (#5222) - Deprecate
conda_build.conda_interface.get_conda_channelfunction. Useconda.models.channel.Channel.from_valueinstead. (#5222) - Deprecate
conda_build.conda_interface.reset_contextfunction. Useconda.base.context.reset_contextinstead. (#5222) - Deprecate
conda_build.conda_interface.contextsingleton. Useconda.base.context.contextinstead. (#5251) - Deprecate
conda_build.conda_interface.configparsermodule. Useconfigparserinstead. (#5251) - Deprecate
conda_build.conda_interface.osmodule. Useosinstead. (#5251) - Deprecate
conda_build.conda_interface.partialfunction. Usefunctools.partialinstead. (#5251) - Deprecate
conda_build.conda_interface.import_modulefunction. Useimportlib.import_moduleinstead. (#5251) - Deprecate
conda_build.conda_interface.determine_target_prefixfunction. Useconda.base.context.determine_target_prefixinstead. (#5251) - Deprecate
conda_build.conda_interface.non_x86_linux_machinesconstant. Useconda.base.context.non_x86_machinesinstead. (#5251) - Deprecate
conda_build.conda_interface.ProgressiveFetchExtractclass. Useconda.core.package_cache.ProgressiveFetchExtractinstead. (#5251) - Deprecate
conda_build.conda_interface.CondaErrorclass. Useconda.exceptions.CondaErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.CondaHTTPErrorclass. Useconda.exceptions.CondaHTTPErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.LinkErrorclass. Useconda.exceptions.LinkErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.LockErrorclass. Useconda.exceptions.LockErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.NoPackagesFoundErrorclass. Useconda.exceptions.NoPackagesFoundErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.PaddingErrorclass. Useconda.exceptions.PaddingErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.UnsatisfiableErrorclass. Useconda.exceptions.UnsatisfiableErrorinstead. (#5251) - Deprecate
conda_build.conda_interface.get_conda_build_local_urlclass. Useconda.models.channel.get_conda_build_local_urlinstead. (#5251) - Deprecate
conda_build.config.Config.override_channels. Defer toconda.base.context.context.channelsinstead. (#5271, #5324) - Deprecate
conda_build.conda_interface._toposort. Useconda.common.toposort._toposortinstead. (#5276) - Deprecate
conda_build.conda_interface.add_parser_channels. Useconda.cli.helpers.add_parser_channelsinstead. (#5276) - Deprecate
conda_build.conda_interface.add_parser_prefix. Useconda.cli.helpers.add_parser_prefixinstead. (#5276) - Deprecate
conda_build.conda_interface.ArgumentParser. Useconda.cli.conda_argparse.ArgumentParserinstead. (#5276) - Deprecate
conda_build.conda_interface.cc_conda_build. Useconda.base.context.context.conda_buildinstead. (#5276) - Deprecate
conda_build.conda_interface.Channel. Useconda.models.channel.Channelinstead. (#5276) - Deprecate
conda_build.conda_interface.Completer. Unused. (#5276) - Deprecate
conda_build.conda_interface.CondaSession. Useconda.gateways.connection.session.CondaSessioninstead. (#5276) - Deprecate
conda_build.conda_interface.download. Useconda.gateways.connection.download.downloadinstead. (#5276) - Deprecate
conda_build.conda_interface.EntityEncoder. Useconda.auxlib.entity.EntityEncoderinstead. (#5276) - Deprecate
conda_build.conda_interface.env_path_backup_var_exists. Unused. (#5276) - Deprecate
conda_build.conda_interface.FileMode. Useconda.models.enums.FileModeinstead. (#5276) - Deprecate
conda_build.conda_interface.human_bytes. Useconda.utils.human_bytesinstead. (#5276) - Deprecate
conda_build.conda_interface.input. Useinputinstead. (#5276) - Deprecate
conda_build.conda_interface.InstalledPackages. Unused. (#5276) - Deprecate
conda_build.conda_interface.lchmod. Useconda.gateways.disk.link.lchmodinstead. (#5276) - Deprecate
conda_build.conda_interface.MatchSpec. Useconda.models.match_spec.MatchSpecinstead. (#5276) - Deprecate
conda_build.conda_interface.NoPackagesFound. Useconda.exceptions.ResolvePackageNotFoundinstead. (#5276) - Deprecate
conda_build.conda_interface.normalized_version. Useconda.models.version.normalized_versioninstead. (#5276) - Deprecate
conda_build.conda_interface.PackageRecord. Useconda.models.records.PackageRecordinstead. (#5276) - Deprecate
conda_build.conda_interface.PathType. Useconda.models.enums.PathTypeinstead. (#5276) - Deprecate
conda_build.conda_interface.prefix_placeholder. Useconda.base.constants.PREFIX_PLACEHOLDERinstead. (#5276) - Deprecate
conda_build.conda_interface.Resolve. Useconda.resolve.Resolveinstead. (#5276) - Deprecate
conda_build.conda_interface.rm_rf. Useconda_build.utils.rm_rfinstead. (#5276) - Deprecate
conda_build.conda_interface.spec_from_line. Useconda.cli.common.spec_from_lineinstead. (#5276) - Deprecate
conda_build.conda_interface.specs_from_args. Useconda.cli.common.specs_from_argsinstead. (#5276) - Deprecate
conda_build.conda_interface.specs_from_url. Useconda.cli.common.specs_from_urlinstead. (#5276) - Deprecate
conda_build.conda_interface.StringIO. Useio.StringIOinstead. (#5276) - Deprecate
conda_build.conda_interface.symlink_conda. Unused. (#5276) - Deprecate
conda_build.conda_interface.TempDirectory. Useconda.gateways.disk.create.TemporaryDirectoryinstead. (#5276) - Deprecate
conda_build.conda_interface.TmpDownload. Useconda.gateways.connection.download.TmpDownloadinstead. (#5276) - Deprecate
conda_build.conda_interface.unix_path_to_win. Useconda.utils.unix_path_to_wininstead. (#5276) - Deprecate
conda_build.conda_interface.Unsatisfiable. Useconda.exceptions.UnsatisfiableErrorinstead. (#5276) - Deprecate
conda_build.conda_interface.untracked. Useconda.misc.untrackedinstead. (#5276) - Deprecate
conda_build.conda_interface.url_path. Useconda.utils.url_pathinstead. (#5276) - Deprecate
conda_build.conda_interface.VersionOrder. Useconda.models.version.VersionOrderinstead. (#5276) - Deprecate
conda_build.conda_interface.walk_prefix. Useconda.misc.walk_prefixinstead. (#5276) - Deprecate
conda_build.conda_interface.win_path_to_unix. Useconda.common.path.win_path_to_unixinstead. (#5276) - Deprecate
conda_build.variants.get_vars(loop_only). (#5280) - Deprecate
conda_build.utils.HashableDict. Usefrozendict.deepfreezeinstead. (#5284) - Deprecate
conda_build.utils._convert_lists_to_sets. Usefrozendict.deepfreezeinstead. (#5284) - Deprecate
conda_build.utils.represent_hashabledict. Usefrozendict.deepfreezeinstead. (#5284) - Deprecate
conda_build.config.noarch_python_build_age_default. (#5298) - Postpone
conda_build.index.channel_datadeprecation. (#5299) - Remove
conda_build.api.get_output_file_path. Useconda_build.api.get_output_file_pathsinstead. (#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_indexinstead. (#5299) - Remove
conda_build.conda_interface.get_version_from_git_tag. Useconda_build.environ.get_version_from_git_taginstead. (#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_suminstead. (#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.PrefixDatainstead. (#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_instructionsinstead. (#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 https://github.com/conda/conda-build/pull/5252
- @kenodegard
- @mbargull
- @Tobias-Fischer made their first contribution in https://github.com/conda/conda-build/pull/5202
- @ytausch made their first contribution in https://github.com/conda/conda-build/pull/5214
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/24.3.0...24.5.0
- Python
Published by beeankha about 2 years ago
https://github.com/conda/conda-build - 24.3.0
Enhancements
- Add compatibility for
LIEF=0.14. (#5227 via #5228)
Bug fixes
- Fix
stdlibbeing recognized in variant hash inputs. (#5190 via #5195)
Deprecations
- Mark
conda_build.bdist_condamodule as pending deprecation. (#5196) - Mark
conda_build.build.have_prefix_filesas deprecated. (#5199) - Mark
conda_build.conda_interface.handle_proxy_407as deprecated. Handled byconda.gateways.connection.session.CondaSession. (#5203) - Mark
conda_build.conda_interface.hashsum_fileas deprecated. Useconda.gateways.disk.read.compute_suminstead. (#5203) - Mark
conda_build.conda_interface.md5_fileas deprecated. Useconda.gateways.disk.read.compute_sum(path, 'md5')instead. (#5203) - Mark
conda_build.environ.PREFIX_ACTIONas deprecated. (#5203) - Mark
conda_build.environ.LINK_ACTIONas deprecated. (#5203) - Mark
conda_build.environ.cache_actionsas deprecated. (#5203) - Mark
conda_build.index.DummyExecutoras deprecated. (#5203) - Mark
conda_build.index.MAX_THREADS_DEFAULTas deprecated. (#5203) - Mark
conda_build.index.LOCK_TIMEOUT_SECSas deprecated. (#5203) - Mark
conda_build.index.LOCKFILE_NAMEas deprecated. (#5203) - Postpone
conda_build.index.channel_datadeprecation. (#5203) - Rename
conda_build.environ.create_env('specs_or_actions' -> 'specs_or_precs'). (#5203) - Rename `condabuild.environ.execute_actions('actions' -> 'precs'). (#5203)
- Rename `condabuild.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_recordsinstead. (#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_wininstead. (#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_pathas deprecated. Useconda_build.api.get_output_file_pathsinstead. (#5208) - Mark
conda_build.environ.Environmentas deprecated. Useconda.core.prefix_data.PrefixDatainstead. (#5219) - Mark
conda_build.conda_interface.get_version_from_git_tagas deprecated. Useconda_build.environ.get_version_from_git_taginstead. (#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 https://github.com/conda/conda-build/pull/4867
- @kathatherine
- @kenodegard
- @mbargull
- @minrk
- @ryanskeith
- @travishathaway
- @pre-commit-ci[bot]
- Python
Published by beeankha over 2 years ago
https://github.com/conda/conda-build - 24.1.2
Bug fixes
- Fix rpaths patcher being run on symbolic links. (#5179 via #5181)
- Fix corrupted package cache for outputs in subpackage tests. (#5184)
Contributors
- @mbargull
Full Changelog: https://github.com/conda/conda-build/compare/24.1.1...24.1.2
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 24.1.1
Bug fixes
- Fix nonzero exitcode on success. (#5167 via #5169)
Contributors
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/24.1.0...24.1.1
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 24.1.0
Enhancements
- Update
conda inspect channelsto use updated solver/transaction logic. (#5033) - Relax
script_enverror in outputs when variable referenced inscript_envis 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-installableas 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.Distas pending deprecation. (#5074) - Mark
conda_build.conda_interface.display_actionsas pending deprecation. (#5074) - Mark
conda_build.conda_interface.execute_actionsas pending deprecation. (#5074) - Mark
conda_build.conda_interface.execute_planas pending deprecation. (#5074) - Mark
conda_build.conda_interface.get_indexas pending deprecation. (#5074) - Mark
conda_build.conda_interface.install_actionsas pending deprecation. (#5074) - Mark
conda_build.conda_interface.linkedas pending deprecation. (#5074) - Mark
conda_build.conda_interface.linked_dataas pending deprecation. (#5074) - Mark
conda_build.utils.linked_data_no_multichannelsas pending deprecation. (#5074) - Mark
conda_build.environ.get_install_actionsas 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_dataas pending deprecation. (#5152) - Mark
conda_build.index._determine_namespaceas pending deprecation. (#5152) - Mark
conda_build.index._make_secondsas pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_VERSIONas pending deprecation. (#5152) - Mark
conda_build.index.CHANNELDATA_VERSIONas pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_JSON_FNas pending deprecation. (#5152) - Mark
conda_build.index.REPODATA_FROM_PKGS_JSON_FNas pending deprecation. (#5152) - Mark
conda_build.index.CHANNELDATA_FIELDSas pending deprecation. (#5152) - Mark
conda_build.index._clear_newline_charsas pending deprecation. (#5152) - Mark
conda_build.index._apply_instructionsas pending deprecation. (#5152) - Mark
conda_build.index._get_jinja2_environmentas pending deprecation. (#5152) - Mark
conda_build.index._maybe_writeas pending deprecation. (#5152) - Mark
conda_build.index._maybe_build_stringas pending deprecation. (#5152) - Mark
conda_build.index._warn_on_missing_dependenciesas pending deprecation. (#5152) - Mark
conda_build.index._cache_post_install_detailsas pending deprecation. (#5152) - Mark
conda_build.index._cache_recipeas pending deprecation. (#5152) - Mark
conda_build.index._cache_run_exportsas pending deprecation. (#5152) - Mark
conda_build.index._cache_iconas pending deprecation. (#5152) - Mark
conda_build.index._make_subdir_index_htmlas pending deprecation. (#5152) - Mark
conda_build.index._make_channeldata_index_htmlas pending deprecation. (#5152) - Mark
conda_build.index._get_source_repo_git_infoas pending deprecation. (#5152) - Mark
conda_build.index._cache_info_fileas pending deprecation. (#5152) - Mark
conda_build.index._alternate_file_extensionas pending deprecation. (#5152) - Mark
conda_build.index._get_resolve_objectas pending deprecation. (#5152) - Mark
conda_build.index._get_newest_versionsas pending deprecation. (#5152) - Mark
conda_build.index._add_missing_depsas pending deprecation. (#5152) - Mark
conda_build.index._add_prev_ver_for_featuresas pending deprecation. (#5152) - Mark
conda_build.index._shard_newest_packagesas pending deprecation. (#5152) - Mark
conda_build.index._build_current_repodataas pending deprecation. (#5152) - Mark
conda_build.index.ChannelIndexas pending deprecation. (#5152) - Mark
conda_build.render.actions_to_pinsas 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.Distwithconda.models.records.PackageRecord. (#5074)
Contributors
- @conda-bot
- @dholth
- @jaimergp
- @jezdez
- @johnnynunez
- @kenodegard
- @msarahan
- @travishathaway
Full Changelog: https://github.com/conda/conda-build/compare/3.28.4...24.1.0
- Python
Published by jezdez over 2 years ago
https://github.com/conda/conda-build - 3.28.4
Bug fixes
- Fix linking check regressions by restoring pre-3.28 behavior for
conda_build.inspect_pkg.which_package. (#5141)
Contributors
- @mbargull
Full Changelog: https://github.com/conda/conda-build/compare/3.28.3...3.28.4
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 3.28.3
Bug fixes
- Update
conda_build.os_utils.liefldd.ensure_binaryto handleNoneinputs. (#5123 via #5124) - Update
conda_build.inspect_pkg.which_packageto use a cached mapping of paths to packages (first call:O(n), subsequent calls:O(1)) instead of relying onPath.samefilecomparisons (O(n * m)). (#5126 via #5130)
Contributors
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/3.28.2...3.28.3
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 3.28.2
Enhancements
- Update
conda_build.metadata.MetaData.get_sectionto consistently return lists for "source" and "outputs". (#5111 via #5112)
Bug fixes
- Resolve duplicate package record issue in
conda_build.inspect_pkg.which_package. (#5106 via #5108) - Ensure
conda_build.post._lookup_in_prefix_packagesdisplaysstr(PackageRecord)instead ofrepr(PackageRecord). (#5106 via #5108) - Fix finalization of recipes with multiple sources. (#5111 via #5112)
- Improve handling by catching the more general
ImportErrorinstead ofModuleNotFoundErrorto cover cases involvingmenuinst 1.x. (#5116)
Contributors
- @jaimergp
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/3.28.1...3.28.2
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 3.28.1
Bug fixes
- Relax
conda_build.metadata.MetaData.versionchecks whenoutputshave been defined. (#5096) - Remove
lieffrompyproject.tomlsince it causespip checkto fail. To be re-added in the future after an update topy-liefpackage. (#5099)
Contributors
- @dholth
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/3.28.0...3.28.1
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 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
stblibjinja function similar tocompilerto explicitly define sysroot dependencies. (#4999) - Utilize conda-known subdirs for selector definitions, enabling condabuild to support new architectures with only an updated conda version. New OS support requires additional information for proper condabuild 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_packageimplementations and replaceconda.models.dist.Distusage 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_cachefor pending deprecation. (#5031) - Mark
conda_build.conda_interface.IndexRecordfor pending deprecation. Useconda.models.records.PackageRecordinstead. (#5032) - Mark
conda_build.os_utils.pyldd.is_stringfor pending deprecation. Useisinstance(value, str)instead. (#5040) - Mark
conda_build.os_utils.pyldd.is_codefilefor pending deprecation. Useconda_build.os_utils.pyldd.codefile_classinstead. (#5040) - Mark
conda_build.os_utils.pyldd.codefile_typefor pending deprecation. Useconda_build.os_utils.pyldd.codefile_classinstead. (#5040) - Mark
conda_build.inspect_pkg.dist_filesfor pending deprecation. (#5041) - Mark
conda_build.inspect_pkg.which_package(avoid_canonical_channel_name)for pending deprecation. (#5041) - Mark
conda_build.inspect_pkg._installedfor pending deprecation. (#5041) - Mark
conda_build.os_utils.ldd.get_package_filesfor pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.mach_o_changefor pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.inspect_rpathfor pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.get_runpathsfor pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.otool_sysfor pending deprecation. (#5041) - Mark
conda_build.os_utils.pyldd.ldd_sysfor pending deprecation. (#5041) - Mark
conda_build.post.determine_package_naturefor pending deprecation. Useconda_build.post.get_dsosandconda_build.post.get_run_exportsinstead. (#5041) - Mark
conda_build.post.library_nature(subdir, bldpkgs_dirs, output_folder, channel_urls)for pending deprecation. (#5041) - Mark
conda_build.post.dist_from_namesfor pending deprecation. Queryconda.core.prefix_data.PrefixDatainstead. (#5041) - Mark
conda_build.post.FakeDistfor pending deprecation. Useconda.models.records.PrefixRecordinstead. (#5041) - Mark
conda_build.post._get_fake_pkg_distfor pending deprecation. Useconda.models.records.PrefixRecordinstead. (#5041) - Mark
conda_build.utils.relativefor pending deprecation. Useos.path.relpathorpathlib.Path.relative_toinstead. (#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
blackwithruff formatin pre-commit setup. (#5052) - Identify Unicode tests as incompatible with
libmamba. (#5059)
Contributors
- @conda-bot
- @danpetry made their first contribution in https://github.com/conda/conda-build/pull/5039
- @duncanmmacleod
- @h-vetinari made their first contribution in https://github.com/conda/conda-build/pull/4999
- @isuruf
- @jaimergp
- @jakirkham
- @kenodegard
- @mbargull
- @travishathaway
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/3.27.0...3.28.0
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 3.27.0
Enhancements
- Remove
glob2dependency. As of Python 3.5, the '**', operator was available toglobwhen usingrecursive=True. Builtin glob is also much faster. (#5005) - Handle
emscripten-wasm32andwasi-wasm32platforms. (#4813)
Bug fixes
- Delay imports in conda command plugin until the command is used, avoiding import-time side effects. (#4949)
Deprecations
- When templating new recipes from a PyPI package, the build script
{{ PYTHON }} -m pip install . -vvis deprecated in favor of{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation. (#4960)
Docs
- Document
~=(compatibility release) match spec. (#4553) - Clarify that the
buildprefix is activated after thehostprefix. (#4942) - Add explanation that conda-build should be run from the base environment. (#4995)
Contributors
- @beeankha
- @conda-bot
- @dholth
- @DaveKaretnyk made their first contribution in https://github.com/conda/conda-build/pull/5004
- @boldorider4 made their first contribution in https://github.com/conda/conda-build/pull/4960
- @jaimergp
- @jezdez
- @jugmac00
- @kenodegard
- @ryanskeith
- @scdub made their first contribution in https://github.com/conda/conda-build/pull/4965
- @wolfv made their first contribution in https://github.com/conda/conda-build/pull/4813
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/3.26.1...3.27.0
- Python
Published by kenodegard over 2 years ago
https://github.com/conda/conda-build - 3.26.1
What's Changed
- Build ePub, PDF and zipped HTML docs as well. by @jezdez in https://github.com/conda/conda-build/pull/4946
- Delay imports in command plugin to improve logging output by @dholth in https://github.com/conda/conda-build/pull/4953
Full Changelog: https://github.com/conda/conda-build/compare/3.26.0...3.26.1
- Python
Published by jezdez almost 3 years ago
https://github.com/conda/conda-build - 3.26.0
Enhancements
- Add
piptoenv-doc makecommand so function works correctly (pipis no longer added by default with the python conda package). (#4633) - Log extra-meta data to make it easier to verify that the right extra-meta data is burned into packages (also helps to co-relate packages and their build-log). The feature was first introduced in #4303 and is now improved via the logging call. (#4901)
- Implement subcommands as conda plugins. (#4921)
Bug fixes
- Fix handling of unknown binaries with newer
(py)liefversions. (#4900) - Disable
LIEFlogging to remove "Unknown format" warning message. (#4850) - Revert
enable_staticdefault value inconda_build.configto remove "Failed to getstaticlib_exports" warning messages. (#4850) - Avoid duplicate logging by not propagating the top-level conda-build logger. (#4903)
- Fix git cloning for repositories with submodules containing local relative paths. (#4914)
Deprecations
- Mark executable invocations (e.g.,
conda-build) as pending deprecation. (#4921) - Mark module based invocations (e.g.,
python -m conda_build.cli.main_build) as pending deprecation. (#4921)
Docs
- Update
pkg-specdocs to mention.condapackage format. (#4633) - Drop unnecessary Jinja package name variables from
variants.rstdocs file. (#4834)
Other
- Drop duplicate
get_summarycall inconda_build.skeletons.pypi. (#3998) - Fix failing
resolved_packagestest due to recent OpenSSL 3.0.8 release to defaults. (#4912)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @jaimergp
- @jakirkham
- @josegonzalez made their first contribution in https://github.com/conda/conda-build/pull/3998
- @katietz
- @kenodegard
- @rfezzani made their first contribution in https://github.com/conda/conda-build/pull/4850
- @ryanskeith
- @sven6002
- @dependabot[bot]
- @pre-commit-ci[bot]
- Python
Published by beeankha almost 3 years ago
https://github.com/conda/conda-build - 3.25.0
Enhancements
- Noarch packages that use virtual packages have the virtual packages added to the hash contents of the package. This facilitates the building of noarch packages multiple times for different platforms with platform specific dependencies. (#4606)
- Add support for
svnsource credentials (svn_usernameandsvn_password). (#4692) - Depend on standalone
conda-indexinstead of bundled indexing code. (#4828) - Switch from
setup.pytopyproject.tomland use Hatchling for our build system. (#4840) - Add Python 3.11 support. (#4852)
Bug fixes
- Ensure
tests/commandsare also run in the presence ofrun_test.*(#4429) - Require the source when rendering a recipe that uses the
load_file_datafunction. (#4817) - Download packages during build into the correct
subdirfolder. (#4832) - Use a unique
subdirvariable name when rebuilding the index for multi-output builds. (#4862)
Deprecations
- Inline
conda indexlogic is pending deprecation.conda-buildstill providesconda-indexa.k.a.conda indexCLI, but uses standaloneconda-indexduring builds. (#4828) - Prefer the standalone conda-index package, instead of
conda-build indexorconda index, to use faster indexing code. (#4828) - Mark
conda_build.metadata.ns_cfgas pending deprecation. Useconda_build.get_selectors.get_selectorsinstead. (#4837) - Mark
conda_build.config.python2_fs_encodeas pending deprecation. (#4843) - Mark
conda_build.config._ensure_diras pending deprecation. Usestdlib'spathlib.Path.mkdir(exist_ok=True)oros.makedirs(exist_ok=True)instead. (#4843)
Other
- Format with
blackand replaced pre-commit'sdarkerhook withblack. (#4836) - Format with
isortand add pre-commitisorthook. (#4836) - Minor code simplification for
conda_build.index.ChannelIndex._ensuredirs. (#4843) - Enable
xattrtest on macOS. (#4845)
Contributors
- @beeankha
- @conda-bot
- @dholth
- @duncanmmacleod
- @ffirmanff made their first contribution in https://github.com/conda/conda-build/pull/4692
- @isuruf
- @jezdez
- @jakirkham
- @jjhelmus
- @kenodegard
- @rishabh11336 made their first contribution in https://github.com/conda/conda-build/pull/4782
- @ryanskeith made their first contribution in https://github.com/conda/conda-build/pull/4843
- @pre-commit-ci[bot]
- Python
Published by kenodegard about 3 years ago
https://github.com/conda/conda-build - 3.24.0
Bug fixes
- Fix the failing
git clonewhen source has LFS files. (#4318) - Fix many false-positives during the detection of Perl core modules in
conda skeleton cpan. (#4592) conda skeleton cpannow correctly adds a C compiler as dependency if the distribution contains an.xsfile. (#4599)- Install downstream packages in correct subdir. (#4763, #4803)
- Update supported Python version in setup.py. (#4804)
Deprecations
- Removed conda <4.13 logic. (#4677)
conda_build.conda_interface.CrossPlatformStLinkis pending deprecation in favor of usingos.stat().st_nlink. (#4728)- Drop Python 3.7 support. (#4796)
Docs
- Updated broken links to example conda recipes and updated link to the now archived conda-recipes, with additional links to AnacondaRecipes aggregated feedstocks and conda-forge feedstocks. (#4580)
- Replaced two instances of "Anaconda Cloud" with "anaconda.org". (#4719)
Other
- Update test matrix to run tests on all supported Python versions on Linux. Only run tests on lower & upper Python bounds for Windows and macOS. (#4691)
- Re-enable code coverage reporting to
codecov. (#4767) - Eliminate test setup's manual clone of https://github.com/conda/condabuildtest_recipe in favor of a session fixture. (#4781)
- Use
tomllib(Python 3.11+) ortomlifor.tomlsupport. (#4783)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @dholth
- @ernstluring made their first contribution in https://github.com/conda/conda-build/pull/4318
- @xileF1337 made their first contribution in https://github.com/conda/conda-build/pull/4592
- @jezdez
- @jakirkham
- @johnnynunez made their first contribution in https://github.com/conda/conda-build/pull/4804
- @kathatherine
- @kenodegard
- @minrk
- @peetw made their first contribution in https://github.com/conda/conda-build/pull/4662
- @sven6002 made their first contribution in https://github.com/conda/conda-build/pull/4621
- @tttc3 made their first contribution in https://github.com/conda/conda-build/pull/4580
- @dependabot[bot]
- @pre-commit-ci[bot]
- Python
Published by jezdez about 3 years ago
https://github.com/conda/conda-build - 3.23.3
Bug fixes
- Change Zstd default compression to 19. (#4663)
- Fix build/host environment activation broken in >=3.23.0,<=3.23.2. (#4665)
- Add
PREFIX/bintoPATHon Windows and removePREFIXroot fromPATHon Unix. (#4665)
Other
- Skip test suite for non-code changes. (#4664)
Contributors
- @jakirkham
- @kenodegard
- @mbargull
Full Changelog: https://github.com/conda/conda-build/compare/3.23.2...3.23.3
- Python
Published by kenodegard over 3 years ago
https://github.com/conda/conda-build - 3.23.2
Bug fixes
conda-buildCLI overrodecondarc'szstd_compression_levelwith the default value. (#4650)
Contributors
- @kenodegard
- @mbargull
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/3.23.1...3.23.2
- Python
Published by kenodegard over 3 years ago
https://github.com/conda/conda-build - 3.23.1
Bug fixes
- Fixed regression when writing link JSON files introduced in #4603. (#4636)
- Update conda dependency. (#4635)
Contributors
- @jezdez
- @kenodegard
Full Changelog: https://github.com/conda/conda-build/compare/3.23.0...3.23.1
- Python
Published by jezdez over 3 years ago
https://github.com/conda/conda-build - 3.23.0
Enhancements
- Outputs now support both script and files arguments. When both script and an explicit file list are given, the script is run first and then the files given in the explicit file list are packaged. (#4281)
- Add
overlinking_ignore_patternsbuild parameter to speed up recipes where it is not helpful. (#4576) - Add
win-arm64as a recognized platform (subdir). (#4579) - Add opt-in environment variable to run
condain isolated mode (python -I -m conda) when invoked fromconda-build. This is necessary to fix an issue when packaging conda itself. Alternative solutions (see #4628) are under investigation, so the current implementation will likely change. (#4604, #4625) - Refactored
conda_build.convert.update_lib_contentsto usepathlib.Path. Marktest_cli.test_convertasxfailon Windows (something with the GitHub Windows Runner makes this particularly flaky). (#4619, #4626)
Deprecations
- Drop
cytoolzdependency. (#4556) - Removed internal usage of the
memoizeddecorator. (#4593, #4615) - Remove py2 compatibility code and use of six.py code exported from conda. (#4603)
conda_build.environ.system_varsis marked as pending deprecation. Useconda_build.environ.os_varsinstead. (#4615)- Conda 4.2 introduced a private conda env that appears to have been a testing environment. This is no longer used and is only included in conda-build as an informational status. Removing in accordance with the feature pending deprecation starting with conda 22.11.0. (#4629)
Docs
- Add s390x selector missing from docs. (#4550)
- Update "Channels and generating an index" docs to specify additional platforms. (#4602)
- Link to https://packaging.python.org/en/latest/tutorials/packaging-projects/ over setuptools for how to pack a project. (#4632)
Other
- Renamed canary recipe from
conda.recipetorecipe. (#4584) - Introduce canary and review builds as part of GitHub CI. (#4608, #4613)
- Removed unused AppVeyor files. (#4562)
- Removed unused
.checkignore. (#4564) - Removed unused
.editorconfig. (#4564) - Removed unused
.gitmodules. (#4564) - Removed unused
.lgtm.yml. (#4564) - Removed unused
.binstar.yml. (#4616)
Contributors
- @chenghlee
- @conda-bot
- @dholth
- @tnabtaf made their first contribution in https://github.com/conda/conda-build/pull/4602
- @erykoff made their first contribution in https://github.com/conda/conda-build/pull/4603
- @isuruf
- @jaimergp made their first contribution in https://github.com/conda/conda-build/pull/4604
- @jezdez
- @kenodegard
- @mariusvniekerk
- @msarahan
- @skupr-anaconda made their first contribution in https://github.com/conda/conda-build/pull/4550
- @pre-commit-ci[bot]
- @brettcannon made their first contribution in https://github.com/conda/conda-build/pull/4632
Full Changelog: https://github.com/conda/conda-build/compare/3.22.0...3.23.0
- Python
Published by kenodegard over 3 years ago
https://github.com/conda/conda-build - 3.22.0
Enhancements
- Created function
load_file_dataavailable in Jinja templates formeta.yaml(#4465, #4480) - Created function
load_str_dataavailable in Jinja templates formeta.yaml(#4465, #4480) - Support using
--zstd-compression-levelto control the compression of v2 style conda packages. (#4467)
Bug fixes
- When building with Python 3.10,
STDLIB_DIRandSP_DIRnow refer topython3.10, not the symlinkpython3.1. (#4479) - Reduce verbosity of urllib3 on the default log level. (#4517)
- Fixed issue identifying DSOs from sysroots when cross-compiling. (#4529)
Docs
- Improved documentation for
load_setup_py_data(#4465, #4480) - Added documentation for
load_file_regex(#4465, #4480) - Fix prerequisites for build tutorials link. (#4478)
- Link in contributing docs. (#4532)
Other
- Fix patch tests. (#4495)
- Added patch/m2-patch as a hard dependency. (#4495)
- Update "Artistic-2.0" license test to use a valid package. (#4516)
- Rename master branch to main. (#4515, #4531)
Contributors
- @abrahammurciano made their first contribution in #4465/#4480
- @chrisburr
- @conda-bot
- @duncanmmacleod
- @jezdez
- @jakirkham
- @jugmac00 made their first contribution in #4478
- @kathatherine made their first contribution in #4515
- @kenodegard
- @stuarteberg
- @teake
- @travishathaway
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/3.21.9...3.22.0
- Python
Published by kenodegard almost 4 years ago
https://github.com/conda/conda-build - 3.21.9
Enhancements
- Replace
is_dirwithscandirforchannel_root. (#4273) - Remove rpaths in
PREFIX/../that doesn't start withPREFIX. This includesBUILD_PREFIX,SRC_DIR. Previously it was onlyBUILD_PREFIX. (#4287) - Add
entry_pointsto outputs inFIELDSschema. (#4389) - Support for
setuptools61+. (#4430) - Use
setmembership for faster indexing. (#4459)
Bug fixes
- Remove rpaths that occur multiple times. (#4287)
- Enable
bdist_condaviaentry_pointmechanism supported also bysetuptools >=60.0.0. Usable viafrom setuptools import setupandsetup(distclass=conda_build.bdist_conda.CondaDistribution, ...). (#4368) - Patch
setuptools's vendoreddistutils.coreas well. (#4434) - Resolve
conda debugfailure when a trailing slash path is provided. (#4448) - Fix import error caused by conda 4.13.0's removal of Python 2.7 code. (#4482)
Deprecations
- Usage of
bdist_condaviafrom distutils.core import setupanddistclass=distutils.command.bdist_conda.CondaDistribution, as that only works forsetuptools <60.0.0. (#4368) - Remove Python 2.7 imports removed in conda 4.13.0. (#4482)
Other
- Move Windows tests from Azure to GitHub Actions. (#4353, #4436)
- Add pyupgrade to pre-commit. (#4374)
- Move MacOS tests from Azure to GitHub Actions. (#4412, #4436, #4455)
- Update
Makefilefor easier testing. (#4425) - Remove unused Travis CI configs. (#4438)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @dholth made their first contribution in https://github.com/conda/conda-build/pull/4273
- @isuruf
- @jezdez
- @jakirkham
- @kenodegard
- @remkade made their first contribution in https://github.com/conda/conda-build/pull/4425
- @rchord made their first contribution in https://github.com/conda/conda-build/pull/4353
- @travishathaway made their first contribution in https://github.com/conda/conda-build/pull/4448
- @wimglenn made their first contribution in https://github.com/conda/conda-build/pull/4434
- @pre-commit-ci[bot]
Full Changelog: https://github.com/conda/conda-build/compare/3.21.8...3.21.9
- Python
Published by kenodegard about 4 years ago
https://github.com/conda/conda-build - 3.21.8
Enhancements
- Adds
--extra-meta key=valueoption which allows users to save any specified extra metadata toabout.jsonto e.g. store the repo-url, git-sha1 or the CI run-id a package was built from.
Bug fixes
- Old work directories will be preserved when
crootandbuild_idare set manually
Other
- Separate contributor related documentation into dedicated file
- Migrating to github actions for tests
- Synced file(s) with conda/infra
Contributors
- @Lnaden
- @jezdez
- @cjmartian
- @beeankha
- @pre-commit
- @conda-bot
- Python
Published by dbast over 4 years ago
https://github.com/conda/conda-build - 3.21.7
Bug fixes
- Handle an import from the vendored auxlib library in Conda 4.11.0 better.
Other
- cran-skeleton: more unit tests
Contributors
- @kenodegard
- @jdblischak
- @jezdez
- @pre-commit
- Python
Published by jezdez over 4 years ago
https://github.com/conda/conda-build - 3.21.6
Enhancements:
- Add limited support for platformsystem/sysplatform env markers in PyPI skeleton
- cran-skeleton: Adds a flag
--no-commentsto remove the instructional comments from the recipe files.
Bug fixes:
- When checking for circular dependencies in cross-compiling mode,
buildrequirements are ignored now. - Make sure symlinked directories are found in alwaysincludefiles
- Fix pinning expressions for prerelease builds
Contributors:
- @isuruf
- @mbargull
- @kenodegard
- @jdblischak
- @dbast
- @jezdez
- @ChristofKaufmann
- Python
Published by jezdez over 4 years ago
https://github.com/conda/conda-build - 3.21.5
Enhancements:
- Revert "Consider any file containing .yaml in its name as maybe a recipe file" (#4235)
- Support setting
build/script_envvalues containing "=" (#4211) - Drop Python 2.7 support from
setup.py(#4202) - Make variant configuration error message more informative (#4198)
- Ensure file globs are always sorted (#4186)
- Add preliminary support for
prelink_messagefiles in conda packages (#4203)
Bug fixes:
- Do not munge rpath for non Mach-O files on macOS (#4238)
- Fix Windows test file extension reported by
conda-debug(#4224)
Documentation:
- Document
build/script_envrecipe option (#4211) - Clarify wording about selecting multiple operating systems (#4139)
Contributors:
- @chrisburr
- @gabm
- @isuruf
- @jacobtylerwalls
- @katietz
- @kenodegard
- @marcelotrevisani
- @xhochy
- Python
Published by chenghlee almost 5 years ago
https://github.com/conda/conda-build - 3.21.4
Enhancements:
- Add new centos 7 distribution cleof to rpm skeleton for s390x. (#4181)
Bug fixes:
- Fixed bug where symlinks in symlinks caused conda build to exit. (#4180)
Contributors:
- @mingwandroid
- @beckermr
- @katietz
- @beckermr
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.21.3
Enhancements:
- Fix stupid error in prefix replacement (#4177)
Contributors:
- @mingwandroid
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.21.1
2021-01-11 3.21.1:
Bug fixes:
- Fix noarch: python version from version-age determination (#4174)
Contributors:
- @mingwandroid
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.21.0
2021-01-10 3.21.0:
Enhancements:
- activateinscript defaults to true (#4120)
- Add Setting and build/noarchpythonbuild_age and fix tests not finding packages (#4120)
- Allow directories as license_file source (#4153)
- Consider any file containing .yaml in its name as maybe a recipe file (#4120)
- Add weakconstrains and strongconstrains run_exports types (#4125)
- Issue a single command for the upload command (#4120)
- Print hash_inputs after upload info (#4120)
- Add cross-r-base for cross compiling
- Add --build-id-pat option
- macOS: Delete build_prefix rpaths
- Use smarter build_number
- Combine default_structs with FIELDS
- Fix conda render indent from 4 to 2
- macOS: arm64 ci/test-suite setup
- Removing more conda-forge testing deps
- Variants: Be more informative
- more verbosity in tests
- Use MacOSX10.10.sdk, not MacOS10.9.sdk in tests (#4120)
- Warn when files have been removed from the prefix (#4120)
Bug fixes:
- Add conda-verify to installcondabuildtestdeps (#4120)
- Add flaky to testing dependencies (#4138)
- Fix tests not finding packages
- Avoid writing to the package cache in packagehasfile (collisions) (#4120)
- Change packagehasfile to refresh if out of date (#4120)
- Ensure ~/.condarc does not leak into testing_config (#4120)
- Fix applying patches to read-only files (#4140)
- Fix auth in aboutjson (#4137)
- Fix skeleton URLs for CentOS 6 (EOL) and various CI fixes (#4154)
- Fix typo in cran skeleton (#4143)
- Force channel_targets to be considered used (#4120)
- Fix printing
bytes-like object is required, not 'str'when applying patches (#4118) - Set "platform" in index.json to the target platform for cross-platform builds (#4124)
- Reduce getrpathsraw/patchelf disagree warnings (#4131)
- LIEF: Allow parsing static libs to fail (#4149)
- pass cache_dir to api.build (#4120)
- Fix symlinks to directories
- Make post-link runexport/librarynature determination less work when CONDA_OFFLINE=1
- Remove Python 2.7 from CI matrix
- Fix testpypiinstaller_metadata (builds against python 3.9 not 3.7)
- tests: Fix testrenderwithpythonargreducessubspace
- tests: Update python 3 from 3.5/6 to 3.9 in many
- Set numpy default to 1.16
- tests: Fix pins for numpy_used
- tests: CI: Win: Circumvent delayed expansion
- Install patch or m2-patch, write .sh files as binary, more Win tests
- tests: Avoid issue with coverage==5.0 on Win+Py2.7
- Assume non-revisible patches
- Add flaky marker and --strict-markers to setup.cfg
- Don't sort recipes
- Use extra R_ARGS and fix them
- shell check fix
Contributors:
- @mingwandroid
- @isuruf
- @mbargull
- @njalerikson
- @cjmartian
- @chrisburr
- @hugobuddel
- @kurtschelfthout
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.20.5
Enhancements:
- A new feature
build/ignore_run_exports_fromwhich will ignorerun_exportscoming from a package listed inbuild/ignore_run_exports_from. (#4114)
Bug fixes:
- Respect PEP440 ~= 'Compatible release clause' (#4113)
- Detect amalgamated patches (#4099)
- Handle realpath properly in unsafe patch check (#4099)
- Force channel_targets to be considered used (#4099)
- Look for git in buildprefix in gitinfo (#4099)
- Fall back to shutil.copy if shutil.copy2 fails when copying patches (#4099)
- Fix indexing by file (#4111)
- Helper functions to extract keys (#4088)
- Simplify findconfigfiles call (#4086)
- Refactor dictofliststolistsofdict (#4075)
Contributors:
- @mingwandroid
- @isuruf
- @njalerikson
- @cjmartian
- @njalerikson
- Python
Published by cjmartian over 5 years ago
https://github.com/conda/conda-build - 3.20.4
2020-10-14 3.20.4:
Enhancements:
- Make stats output more easily human-readable (#4069)
- Prefer meta.yaml build/erroroverlinking and erroroverdepending (#4074)
- Cleanup variant processing code (#4075)
- Add --file option to indexing (#4076)
Bug Fixes:
- Remove old rpath when loader_path is used (#4080)
- Fix MACOSXDEPLOYMENTTARGET default for osx-arm64 (#4091)
- Rewrite apply_patch again (#4092)
- Add a .* to conditional_regex (#4092)
Contributors:
- @isuruf
- @njalerikson
- @cjmartian
- @mingwandroid
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.20.3
2020-09-29 3.20.3:
Enhancements:
- Use CONDAPACKAGEEXTENSIONS (#4053)
- raise runtimeerror instead of calling sys.exit (#4062)
- Refactor condabuild.build.getall_replacements (#4055)
Bug fixes:
- Do not clobber config argument in condabuild.build.buildtree (#4066)
- Use --dry-run to test that a patch applies. Fixes bug 4054 (#4067)
- Include target_platform in package build string hash (#4065)
- Fix post linking for SDKs with tapi-tbd-v4 (MacOS 11.0 and upwards) (#4048)
Contributors:
@beckermr @isuruf @mingwandroid @njalerikson
- Python
Published by mingwandroid over 5 years ago
https://github.com/conda/conda-build - 3.20.2
2020-09-04 3.20.2:
Bug fixes:
- Run bash with -e in outputs too #4033
- Add target to recognized fields in
outputs#4034 - Various overlinking fixes for Windows #4036
- variants: remove hard-coded default path for CONDABUILDSYSROOT
Contributors:
- @mingwandroid
- @isuruf
- @mbargull
- Python
Published by mingwandroid almost 6 years ago
https://github.com/conda/conda-build - 3.20.1
Bug fixes:
* Run bash with -e in outputs too #4033
* Add target to recognized fields in outputs #4034
* Various overlinking fixes for Windows #4036
* variants: remove hard-coded default path for CONDABUILDSYSROOT
- Python
Published by mingwandroid almost 6 years ago
https://github.com/conda/conda-build - 3.20.0
Enhancements:
- enable Python 3.8 on Azure Pipelines (#3841)
- whichpackage can be passed avoidcanonicalchannelname (#3952)
- make life easier (less shell exit-y) for those who source test scripts (#3952)
- move old host env instead of deleting it when
--keep-old-work(#3952) - convert info.d/.yaml to info/.json (#3952)
- allow manual specification of which binary files to prefix replace (#3952)
- filter out '.AppleDouble' folders from recipe searches (#3952)
- re-wrote apply_patch() to be more robust (#3952)
- many fixes for DSO post-processing (#3952, #3953)
- add support for (limited) tbd parsing (#3953)
- Make sure packages in current repo data w/ features have versions without features (#3957)
- Check all sysroot locations for DSOs (#3969)
- More helpful error message if an empty string is passed as the hash ('md5', 'sha1' or 'sha256' fields) (#3971)
- the
GIT_DESCRIBE_HASHvariable will be available regardless of whether the sources of the recipe have a git tag or not (#3982) - add apple silicon support (#4004, #4015)
- set build_platform for aid in cross compiling (#4005)
- import macho on non apple system for cross compiling (#4025)
- Add ccache as a jinja 2 function (#4026)
- Improve cpan skeleton (#4026)
- Retry moving host prefix due to Windows file locking (#4026)
- Rename ccache method from mklink to sylinks (#4028)
Bug fixes:
- conda_build.metadata: fixed typos in FIELDS (#3866)
- add spaces in CRAN templates (fixes #3943) (#3944)
- raise valid CalledProcessException in macho.otool (#3952)
- cache localoutputfolder too for getbuildindex (#3952)
- fix relocations when cross compiling (#3995)
- use host_platform instead of sys.platform to facilitate cross compiling (#3997)
- Fix parsing UnsatisfiableError from conda>=4.7.8 (#4001)
- allow packages to depend on themselves when cross compiling (#4011)
- set the correct SHLIB_EXT when cross compiling (#4013, #4021)
- inspect linkages with pyldd when not DLL/EXE files (#4019)
- Respect norewritestdout_env on Windows (#4026)
- Prefix replacement fixes (#4026)
- Use git am -3 when applying patches (#4026)
- Fix env_var=val assertion (#4026)
- Use exit /B from patch files (#4026)
Docs:
- extend docs o generating the index (#3877)
- add details to documentation of run_constrained (#3878)
- remove documentation on bdist_conda and environment variables (#3879)
- update cli help information for conda index (#3931)
- Clarify how to install conda-build (#3976)
- Add note for local package install deps (#3980)
- Clarify multiple OS selection (#3984)
- add aarch64 selector to the docs (#4003)
- add docs on build_platform and arm64 (#4020)
Other:
- Enable s390x support (#3949, #4030)
- Add xfail test for non-utf-8 charsets (#3972)
- Improve testing on CI (#3987, #4017, #4027)
- Allow python=3.8 for pypi skeletons (#4014)
- Python
Published by jjhelmus almost 6 years ago
https://github.com/conda/conda-build - 3.19.3
2020-04-13 3.19.3:
Bug fixes:
- load log prior to calling warn method (#3925)
- test suite fixes and prefix replacement fixes (#3932)
Other:
- Enable ppc64 support (#3921)
Docs:
- Update cli help information for conda index (#3931)
Contributors:
- @beenje
- @jjhelmus
- @mingwandroid
- Python
Published by jjhelmus about 6 years ago
https://github.com/conda/conda-build - 3.19.2
Bug fixes:
- Show a warning instead of failing if a Mach-O file is prouduced by a build running on a platform other than macOS (#3912)
- Revert #3893, restores behavior of build/binaryhasprefix_files to that found in 3.18.12 (#3916)
Docs:
- clarified 'deletes the build environment' in concepts/recipe.rst (#3901)
Contributors:
- @jjhelmus
- @timsnyder
- @chrisburr
- Python
Published by jjhelmus about 6 years ago
https://github.com/conda/conda-build - 3.19.1
Bug fixes:
- Fix issues with PREFIX detection in Windows (#3899)
Other:
- Change the CI trigger (#3904)
Contributors:
- @mingwandroid
- @marcelotrevisani
- @jjhelmus
- Python
Published by jjhelmus over 6 years ago
https://github.com/conda/conda-build - 3.19.0
Enhancements:
- Keep python pinning in hashing if there is a space #3895
- ci launcher supporting python d shebangs on Windows #3894
- Allow build/binaryhasprefix_files to specify a list of files #3893
Bug fixes:
- Use patchelf to set RPATH by default #3897
Contributors:
- @isuruf
- @jjhelmus
- @mingwandroid
- Python
Published by jjhelmus over 6 years ago
https://github.com/conda/conda-build - 3.18.12
2020-03-02 3.18.12:
- Prevent non-atomic writes to repodata JSON files #3833
- Audited and updated all docs with formatting, grammar, and accuracy errors.
- Docs: Removed deprecated page on features
- Fixed issue where symlinks to files that do not exist break conda build #3840
Contributors:
- @bdice
- @beckermr
- @chrisburr
- @csoja
- @guidara
- @isuruf
- @jakirkham
- @marcelotrevisani
- @mcg1969
- @mingwandroid
- @msarahan
- @rrigdon
- @saraedum
- @sscherfke
- @zeehio
- Python
Published by jjhelmus over 6 years ago
https://github.com/conda/conda-build - 3.18.11
- Update build.sh files of skeletons to be shellcheck clean including test to lint future updates. also adding
set -o errexit -o pipefailto build.sh files to make those settings transparent for better linting, while errexit was anyway already the default used the call the build script. - Corrected documentation on subpackage test requirements.
- Do not move work dir to work/work/
- fixed a missing .lower() on two tar_xf related util functions
- Fix has_prefix detection for Windows.
- condabuild.inspectpkg: optimise use of fnmatch
- Do not consider .ignore files when searching with ripgrep
- Remove N*N os.lstat calls in buildinfofilesjsonv1
Contributors:
- @msarahan
- @rrigdon
- @marcelotrevisani
- @rrigdon
- @soapy1
- @dbast
- @duncanmmacleod
- @beckermr
- @seanyen
- @AndrewAnnex
- @183amir
- @njzjz
- Python
Published by msarahan over 6 years ago
https://github.com/conda/conda-build - 3.18.10
Enhancements:
- Added the error message when an invalid pip dependency version expression is used
- Conda skeleton pypi quoting just
version,summaryanddescription` or attributes with special characters - Set up CI Azure pipeline for Linux
- Update cran skeleton to match supported optional licenses for license file derivation.
- Migrate Unittests to PyTest
- Update script command on conda skeleton pypi to use
{{ PYTHON }} -m pip install . -vv - Add a warning when a received a file on
RECIPE_PATH - Refactored the skeletons/pypi.py getpackagemetadata to be more modular
- added --suppress-variables switch to hide environment variables from console output
Bug fixes:
- Fixed build of '.conda' packages enabled via 'conda config --set condabuild.pkgformat 2'
- Workaround for future deprecations of the SafeConfigParser and readfp of the same module.
Docs:
- Remove bzip2 package from build toolkit description.
Other:
Contributors:
- @msarahan
- @jakirkham
- @marcelotrevisani
- @duncanmmacleod
- @kinow
- @saraedum
- @jjhelmus
- @rrigdon
- @mingwandroid
- @asford
- @timsnyder
- @mcg1969
- @kaitietz
- @stuarteberg
- @isuruf
- @dbast
- @Bezier89
- Python
Published by soapy1 over 6 years ago
https://github.com/conda/conda-build - 3.18.9
Enhancements:
- add --use-channeldata argument to conda render/build.
- Extract the part in the skeletons pypi responsible to get the package metadata to a free function.
- Creat unittests for the getpackagemetadata (skeletons/pypi.py) and for the new functions.
Bug fixes:
- Limit threads to 61 on Windows.
- Do not use channeldata for run_exports unless --use-channeldata specified.
- Finalize top-level metadata if not present as an output.
Docs:
- Add 3.18.7 release notes
Other:
- Add disable_pip to FIELDS
Contributors:
- @rrigdon
- @jjhelmus
- @rrigdon
- @Bezier89
- @jakirkham
- @marcelotrevisani
- Python
Published by jjhelmus almost 7 years ago
https://github.com/conda/conda-build - 3.18.8
Enhancements:
- license_file can optionally be a yaml list
Bug fixes:
- fix readup of existing index.json in cache while extracting
Contributors:
- @msarahan
- @rrigdon
- @jjhelmus
- @isuruf
- @ddamiani
- Python
Published by jjhelmus almost 7 years ago
https://github.com/conda/conda-build - 3.18.7
Contributors:
- @msarahan
- @rrigdon
- @rrigdon
- @scopatz
- @mbargull
- @jakirkham
- @oleksandr-pavlyk
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-build - 3.18.6
Enhancements:
- package sha256 sums are includex in index.html
Bug fixes:
- fix bug where package filenames were not included in the index.html
Contributors:
- @rrigdon
- @jjhelmus
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-build - 3.18.5
Bug fixes:
- fix one more keyerror with missing timestamp data
- when indexing, allow .tar.bz2 files to use .conda cache, but not vice versa. This acts as a sanity check on the .conda files.
- add build/rpaths_patcher to meta.yaml, to allow switching between lief and patchelf for binary mangling
Contributors:
- @mingwandroid
- @msarahan
- @csosborn
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-build - 3.18.4
Enhancements:
- channeldata reworked a bit to try to capture any available run_exports for all versions available
Bug fixes:
- make "timestamp" an optional field in conda index operations
Contributors:
- @msarahan
- Python
Published by msarahan almost 7 years ago
https://github.com/conda/conda-build - 3.18.3
Enhancements:
- Make VS2017 default Visual Studio
- Add hook for customizing the behavior of conda render
- Drop
/usrfrom CDT skeleton path - Update cran skeleton to use m2w64 compilers for windows instead of toolchain. The linter is telling since long: Using toolchain directly in this manner is deprecated.
Bug fixes:
- Update cran skeleton to not use toolchain for win
- fix packagehasfile so it supports .conda files (use cph)
- fix packagehasfile function for .conda format
- fix off-by-one path trimming in prefix_files
- disable overlinking checks when no files in the package have any shared library linkage
- try to avoid finalizing top-level metadata twice
- try to address permission errors on Appveyor and Azure by falling back to copy and warning (not erroring) if removing a file after copying fails
- reduce the files inspected/loaded for channeldata, so that indexing goes faster
Deprecations:
- The repodata2.json file is no longer created as part of indexing. It was not used by anything. It has been removed as an optimization. Its purpose was to explore namespaces, and we'll bring its functionality back when we address that fully.
Contributors:
- @mingwandroid
- @msarahan
- @rrigdon
- @rrigdon
- @soapy1
- @mariusvniekerk
- @jakirkham
- @dbast
- @duncanmmacleod
- Python
Published by soapy1 almost 7 years ago
https://github.com/conda/conda-build - 3.18.2
Bug fixes:
- speed up post-link checks
- fix activation not running during tests
- improve indexing to show status better, and fix bug where size/hashes were being mixed up between .tar.bz2 and .conda files
Contributors:
- @mingwandroid
- @msarahan
- @rrigdon
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-build - 3.18.1
Enhancements:
- rearrange steps in index.py to optimize away unnecessary work
- restore parallel extract and hash in index operations
Contributors:
- @msarahan
- @neok-m4700
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-build - 3.18.0
2019-05-17 3.18.0:
Enhancements:
- Set R_USER environment variable when building R packages
- Make Centos 7 default cdt distribution for linux-aarch64
- Bump default python3 version to 3.7 for CI
- Build docs if any docs related file changes
- Add support for conda pkgv2 (.conda) format
- add creation of "current_repodata.json" - like repodata.json, but only has the newest version of each file
- change repodata layout to support .conda files. They live under the "packages.conda" key and have similar subkeys to their .tar.bz2 counterparts.
- Always show display actions, regardless of verbosity level
- Ignore registry autorun for all cmd.exe invocations
- Relax default pinning on r-base for benefit of noarch R packages
- Make conda index produce repodatafrompackages.json{,.bz2} which contains unpatched metadata
- Use a shorter environment prefix when testing on unix-like platforms
- Prevent pip from clobbering conda installed python packages by populating .dist_info INSTALLER file
Bug fixes:
- Allow build/missingdsowhitelist section to be empty
- Make conda-debug honor custom channels passed using -c
- Do not attempt linkages inspection via lief if not installed
- Fix all lief related regressions brought in v3.17.x
- Fix ZeroDivisionError in ELF sections that have zero entries
binary_has_prefix_filesandtext_has_prefix_filesnow override the automatically detected prefix replacement mode- Handle special characters properly in pypi conda skeleton
- Build recipes in order of dependencies when passed to CB as directories
- Fix run_test script name for recipes with multiple outputs
- Fix recursion error with subpackages and build_id
- Avoid mutating global variable to fix tests on Windows
- Update CRAN license test case (replace r-ruchardet with r-udpipe)
- Update utils.filterfiles to filter out generated .condatrash files
- Replace stdlib glob with utils.glob. Latter supports recursion (**)
Docs:
- Updated Sphinx theme to make notes and warnings more visible
- Added tutorial on building R-language packages using skeleton CRAN
- Add 37 to the list of valid values for CONDA_PY
- Corrected argparse rendering error
- Added tutorials section, reorganized content, and added a Windows tutorial
- Added Concepts section, removed extraneous content
- Added release notes section
- Reorganized sections
- Clarify to use 'where' on Windows and 'which' on Linux to inspect files in PATH
- Add RPATH information to compiler-tools documentation
- Improve the documentation on how to use the macOS SDK in build scripts.
- Document
conda build purge-all. - Fix user-guide index
- Add example for meta.yaml
- Updated theme
- Reorganized conda-build topics, updated link-scripts
Contributors:
- @mingwandroid
- @msarahan
- @rrigdon
- @jjhelmus
- @nehaljwani
- @scopatz
- @Bezier89
- @rrigdon
- @isuruf
- @teake
- @jdblischak
- @bilderbuchi
- @soapy1
- @ESSS
- @tjd2002
- @tovrstra
- @chrisburr
- @katietz
- @hrzafer
- @zdog234
- @gabrielcnr
- @saraedum
- @uilianries
- @theultimate1
- @scw
- @spalmrot-tic
- Python
Published by msarahan about 7 years ago
https://github.com/conda/conda-build - 3.17.8
Contributors:
- @msarahan
- @jjhelmus
- @scopatz
- @rrigdon
- @ax3l
- @rrigdon
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.7
Bug fixes:
- respect context.offline setting #3328
- don't write bytecode when building noarch: python packages #3330
- escape path separator in repl #3336
- remove deprecated sudo statement from travis CI configuration #3338
- fix running of test scripts in outputs #3343
- allow overriding one key of zip_keys as long as length of group agrees #3344
- fix compatibility with conda 4.6.0+ #3346
- update centos 7 skeleton (CDT) URL #3350
Contributors:
- @iainsgillis
- @isuruf
- @jjhelmus
- @nsoranzo
- @msarahan
- @qwhelan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.6
Bug fixes:
- don't raise when recipe text can't be extracted if manual build string is already set #3326
Contributors:
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.5
Bug fixes:
- fix pip build isolation / fix absence of "falsey" env vars. Ignore only if empty string or None. #3319
- pass-through VS20XYINSTALLDIR var (used by intel compiler to locate VS2017 installation) #3322
Contributors:
- @jjhelmus
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.4
Bug fixes:
- fix python-3 only JSON decode error handling (make py27 compatible) #3307
- fix too much caching in getting used vars from meta.yaml leading to inaccurate hash contents #3311
- fix merge of build/host not being recognized before an rm_rf call utilized that info #3311
Contributors:
- @Lnaden
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.3
Bug fixes:
- ignore non-native binaries in lief for now. Cross-platform inspection still theoretically possible using subdir parameter. #3306
Contributors:
- @msarahan
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.2
Bug fixes:
- fix to ignore unsatisfiable pin_compatible calls for packages in other outputs #3277
- add license files to CRAN recipes generated by conda skeleton #3284
- restrict py-lief to running on linux/macos only for now #3291,
- fix lief operation on files that are missing dynamic section (e.g. go binaries) #3292
- expand instructions on how to setup a dev env for conda-build #3296
- fix file= keyword being passed to a logger call #3298
- add test for standalone DLLs with py-lief, don't error out on them #3301
- rename windows build script runner to avoid confusion with existing bld.bat files in root dir #3303
- fix file URL handling on Windows #3303
- use conda's download function rather than requests directly, so that conda's proxy settings are respected #3303
- silence patch output when output verbosity is False #3305
Contributors:
- @bergtholdt
- @dsludwig
- @jdblischak
- @msarahan
- @nehaljwani
- @sodre
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.17.1
Bug Fixes
- omit LIEF depedency on Windows until it is better tested #3288
- activate host environment #3288
- allow calls to nm to fail #3290
Contributors:
- @jjhelmus
- @msarahan
- @nehaljwani
- Python
Published by jjhelmus over 7 years ago
https://github.com/conda/conda-build - 3.17.0
Enhancements:
- tell pip to not go find things on PyPI (turn off downloading) #3109
- new "conda debug" command for creating build/host or test envs for working on recipes #3237
- new package check: "overdepending" - warns or errors out when your run dependencies include unnecessary shared library packages #3237
- utilize LIEF for analyzing shared object data, extending capabilities beyond pyldd #3237
Bug fixes:
- avoid discarding build string during pinrunasbuild and ensurevalid_spec #3264
- fix conda index's handling of packages where 'depends' key doesn't exist #3270
- fix bad inversion assumption about pip's PIPNODEPENDENCIES setting #3271
- fix regex to allow for whitespace after hyphens in outputs section #3274, #3275
- handle unicode decode fails in output rewriting #3279
- fix merge of repodata patches that have keys that don't exist in repo #3280
Contributors:
- @bergtholdt
- @isuruf
- @minrk
- @msarahan
- @mingwandroid
- @nehaljwani
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.16.3
Enhancements:
- rewrite long prefix paths as $PREFIX, etc. for more readable build logs #3258
- make the --output-folder switch configurable in condarc #3265
- make the --long-test-prefix switch configurable in condarc, fix logic error with that argument #3266
Bug fixes:
- improve robustness of indexing in face of corrupt package data #3238
- change timeouts to 900 instead of 90 #3239
- add activation to wheel bundling script #3240
- fix PermissionError import from utils, undefined on py2.7 #3247
- fix outputs with custom build string getting hash incorrectly #3250
- fix tests not being run on windows #3257
Contributors:
- @Bezier89
- @gabm
- @isuruf
- @minrk
- @msarahan
- @teake
- @tomashek
- @tschoonj
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.16.2
Bug fixes:
- Remove noarch binary file check (do this in conda-verify instead) #3212
- Fix utf-8 conversion of checkoutputenv #3213
- fix thread count when indexing causing oversubscription #3217
- fix behavior of tryacquirelocks during lock contention #3224
- fix test env creation improperly prioritizing local channel #3229
- don't check for error when removing conda-init (in conda recipe for this repo) #3230
- add r-impl to R package template generator #3232
- fix creation of unix and win shell script files for noarch packages #3236
- fix path of python interpreter used for noarch packages being tested on win, when created on linux/mac #3236
Contributors:
- @alexandersturm
- @Bezier89
- @dsludwig
- @mandeep
- @mingwandroid
- @msarahan
- @rchateauneu
- @soapy1
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.16.1
Enhancements:
- expand ~ in source paths #3206
- Use binsort when available to sort file list in tar archives, to optimize compressibility #3210
- allow meta.yaml's build/rpaths key to function on macOS, not just linux #3206
Bug fixes:
- improve docs on behavior of channel arguments #3197
- remove mention in docs about building .RPM and .DEB files. #3199
- fix dist-info errors where dist-info files didn't match the package name #3206
- fix some hard-coded .tar.bz2 references, to support other compression formats more readily #3206
- batch calls to compiling .pyc files to avoid problems with maximum command length #3206
- use ensure_list in processing files to be extracted #3210
- fix KeyError that happened when a jinja2 rendering error occurred, which hid the rendering error 3211
Contributors:
- @mingwandroid
- @msarahan
- @stas00
- @teake
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.16.0
Enhancements:
- incorporate libarchive to support more compression formats (adds libarchive as a package dep) #3163
- add build/ignoreverifycodes key to allow recipes to ignore specific conda-verify error codes #3179
Bug fixes:
- fix JSON string encoding error in index cache reading #3156
- restore --variants CLI flag for specifying variants #3168
- handle empty build section in output #3175
- add mro-base_impl as something that causes mro build strings #3163
- fix skeleton PyPI inappropriately dropping package case (needed for URLs) #3163
- fix packages from earlier loops with multiple outputs being removed prior to later loops #3185
- fix conda-index not removing entries from index that no longer exist on disk #3186 #3188
- clean up tempfiles after indexing #3187
- fix indexing of specific subdirs #3190
- fix pypi skeleton when python constraint has no operator #3191
- fix issues testing packages and recipe folders when done separately from build #3192
- fix source looking for patches in wrong folder when dealing with outputs #3194
Contributors:
- @dpryan79
- @gabm
- @mbargull
- @mingwandroid
- @msarahan
- @nehaljwani
- Python
Published by msarahan over 7 years ago
https://github.com/conda/conda-build - 3.15.1
Bug fixes:
- sort "removed" fns in index repodata.json #3154
- fix deps being merged instead of clobbered #3154
- Handle corrupt packages during indexing better #3154
Contributors:
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.15.0
Enhancements:
- add CLI flag (--strict-verify) to allow erroring out when conda-verify fails a package #3135
- output text stating that the license file has been successfully found and included with a package #3152
Bug fixes:
- allow channel auth when checking if a package is built #3133
- If local git cache can't be updated, delete it and barf (for user to re-run) #3136
- clean up duplicate pip requirements produced by skeleton #3138
- replace recipelog.txt file with recipelog.json file (for passing recipe history along with package) #3139
- fix decoding to str before passing package contents to JSON loading #3140
- fix loss of "removed" section of index with every other indexing operation #3144
- fix update_index used in tests to index channel, not subdir #3145
- fix ELF sections not included in memory image of process being loaded by pyldd and giving misleading results #3148
- fix index operations outputting debug log messages #3151
- fix private channels showing 404 errors during test phase #3153
Contributors:
- @Bezier89
- @gabm
- @jakirkham
- @jjhelmus
- @kalefranz
- @msarahan
- @stuarteberg
- @teake
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.14.4
Bug fixes:
- fix recipe_log.txt not being filtered from info/files #3134
Contributors:
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.14.3
Enhancements:
- add support for index patch instructions as tarballs containing subdirs #3129
- add progress bars for indexing (using tqdm) #3130
Bug fixes:
- fix log messages being deduplicated too much #3130
- handle permission errors with moving files in indexing more gracefully #3132
Contributors:
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.14.2
Enhancements:
- add support for a "recipe log" file. This will be used at Anaconda to capture the commit activity of a given recipe, which will be published in the RSS feed. #3123
Bug fixes:
- fix indexing of noarch subdir as done by conda-forge #3120
- decode cached index files to utf-8 before reading JSON #3121
- try to address unicode problems in run_exports handling #3121
- skip over index metadata files when they are not present in a package #3125
Contributors:
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.14.1
Bug fixes:
- detect and fall back to old update_index behavior (new is channel-wide; old is specific subdir) #3117
- fix CONDABUILDSTATE not being set when loadsetuppy_data gets run #3117
- fix channel_name as CLI argument for conda index. It can't be positional. #3318
Contributors:
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.14.0
Enhancements:
- refactor indexing to cache more efficiently #3091
- add
tags,identifiers, andkeywordsto about section. Tie them into channeldata.json. #3091 - filter .la files from packages by default #3102
- memoize readmetafile #3108
Bug fixes:
- fix --check for optionally iterable fields #3098
- fix permission problems prior to fixing shebangs #3101
- do not disable pip's cache directory. Redirect it instead. #3104
- fix usage of config in loadsetuppy_data #3110
- show logger message when default numpy is used, to communicate what's happening to the user #3110
Other:
- drop python 3.4, add 3.6, 3.7 to skeleton pypi #3103
Contributors:
- @jjhelmus
- @kalefranz
- @msarahan
- @nehaljwani
- @nsoranzo
- @ocefpaf
- @teake
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.13.0
Enhancements:
- add run_exports and aggregated post-install metadata indexing outputs #3060
- allow whitelisting runpath entries #3072
- consider *compilerversion entries when looping over variants (allow *compilerversion to be a used variable that affects the hash) #3084
Bug fixes:
- fix cached git info for variants #3082
- fix linux temporary channel not being added at test time, leaving package unresolvable #3088
Contributors:
- @msarahan
- @teake
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.12.1
Enhancements:
- add the "extra" field of a package's meta.yaml file into the output package's info/about.json file #3048
- add option to omit local channel in ispackagebuild (used by c3i) #3051
- add pip env vars to prevent it from pulling in external dependencies when used in build scripts #3053
Bug fixes:
- fix local channel always being top priority. Allow user-defined channel orders where local is lower than remotes. #3049
- Fix conda-verify import error warning showing up in --output text #3052
- fix RPM skeleton test (point to newer CentOS repo) #3054
- fix test/files and test/source_files looking in the wrong place for info/recipe/parent contents (subpackages) #3061
Contributors:
- @Bezier89
- @jakirkham
- @mikecormier
- @mingwandroid
- @msarahan
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.12.0
Enhancements:
- Allow user-specified channels to come ahead of local channel #3038
- Add schema for outputs section in FIELDS; provide method for getting rendered recipe text (to support conda-verify) #3041
- Enable conda-verify by default when it is importable, but only print warnings by default, instead of exiting #3042
- Add --label CLI argument to allow specifying label for uploading packages to #3043
Bug fixes:
- fix apply_selectors, leading to excessive detection of used variables #3040
Contributors:
- @CJ-Wright
- @msarahan
- @speleo3
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.11.0
2018-07-20 3.11.0:
Bug fixes:
- improve environment marker support for pypi skeleton #2972
- apply selectors before checking requirements, to better understand per-platform used vars #2973
- Handle conda UnsatisfiableError causing packages to be moved to broken folder without tests actually being run on them #2974 #2975
- use tempfiles when writing index to reduce risk of corrupt index #2978
- handle conda index recipe info for older versions of conda-build #2979
- allow empty missingdsowhitelist in build section #2983
- fix hostreqs referring to a detached list, leading to requirements/host not being modified by runexports #2987
- fix for bypassing MITM proxies based on SSLNOVERIFY env var #2991
- add missingdsowhitelist to FIELDS #2994
- Don't skip logic in pyldd based on CB verbosity (--quiet) #2999
- Convert empty git refs to HEAD, so that git_url behavior is more predictable #3003
- set NPYDISTUTILSAPPEND_FLAGS=1 so the compiler package flags are respected #3015
- fix script file renaming when converting package from win to unix #3014
- allow fn to be omitted when using multiple url sources #3021
- fix default config settings being shared across Config instances #3022
- force text interpretation of CRAN DESCRIPTION files #3020
- fix isnolink to honor patterns #3023
- fix test/requires being ignored when --no-copy-test-source-files is specified #3027
- fix up dependencies in CRAN skeleton output #3030 #3032
Enhancements:
- change skeleton pypi to generate recipes that use pip for install step. Remove description. #2972
- Set environment variable to disable pip environment isolation to prevent problems #2972
- support multiple exclusiveconfigfiles #3022
Docs:
- Fix search order for condabuildconfig.yaml #3029
Contributors:
- @isuruf
- @j-hartshorn
- @kalefranz
- @mandeep
- @mbargull
- @mcg1969
- @mingwandroid
- @minrk
- @msarahan
- @nehaljwani
- @ocefpaf
- @tjd2002
- Python
Published by msarahan almost 8 years ago
https://github.com/conda/conda-build - 3.10.9
Miscellany:
- docs are moving from the conda-docs repo into conda-build (splitting off from conda docs in general)
Bug fixes:
- fix re.escape usage for Python <3.3 #2970
Contributors:
- @mbargull
- @msarahan
- Python
Published by msarahan about 8 years ago
https://github.com/conda/conda-build - 3.10.8
Bug fixes:
- clean up license field for pypi skeleton #2938
- fix regex to match requirements with trailing spaces #2948
- Check for dash in text with variants #2949
- do not check in build prefix for overlinking when merging build and host #2950
- utils.glob: remove unnecessary normcas, fix testexpandglobs #2952
- add missing "build" fields in FIELDS schema thing #2962
Contributors:
- @isuruf
- @mariusvniekerk
- @mbargull
- @mingwandroid
- Python
Published by msarahan about 8 years ago
https://github.com/conda/conda-build - 3.10.7
Enhancements:
- replace glob2 by glob for py3 (speed improvement) #2937
Bug fixes:
- Fix folder copying in test/files #2941
Contributors:
- @mbargull
- @msarahan
- Python
Published by msarahan about 8 years ago
https://github.com/conda/conda-build - 3.10.6
Enhancements:
- several rendering speed improvements #2925
Bug fixes:
- add regression test for #2912 #2914
- fix a file handle not being closed #2915
- fix an incorrect syntax RuntimeError #2920
- fix custom compiler languages not being possible #2927
- fix OS vars not correctly respecting test prefix; add test #2932
- fix incorrect python versions showing up in test phase paths (SP_DIR) #2932
- fix test/files functionality for outputs; add test #2934
Contributors:
- @mbargull
- @msarahan
- @nicoddemus
- @rainwoodman
- @sodre
- @tomashek
- Python
Published by msarahan about 8 years ago
https://github.com/conda/conda-build - 3.10.5
Enhancements:
- allow '*' as an ignorerunexports value to ignore all run_exports #2907
Bug fixes:
- fix handling of empty run and test requirements #2908
- fix trailing zeroes in version numbers getting lost by yaml interpreting things as floats #2909
- fix regression in host prefix showing up in the test phase, leading to files/executables not being where they should be #2910
- fix handling of not-yet-available requirements #2912
- fix get_value with default keyword not respecting that user-specified default #2912
Contributors:
- @msarahan
- Python
Published by msarahan about 8 years ago