Releases: conda/conda-build
Releases · conda/conda-build
3.21.9
Enhancements
- Replace
is_dir
withscandir
forchannel_root
. (#4273) - Remove rpaths in
PREFIX/../
that doesn't start withPREFIX
.
This includesBUILD_PREFIX
,SRC_DIR
. Previously it was onlyBUILD_PREFIX
. (#4287) - Add
entry_points
to outputs inFIELDS
schema. (#4389) - Support for
setuptools
61+. (#4430) - Use
set
membership for faster indexing. (#4459)
Bug fixes
- Remove rpaths that occur multiple times. (#4287)
- Enable
bdist_conda
viaentry_point
mechanism supported also bysetuptools >=60.0.0
.
Usable viafrom setuptools import setup
andsetup(distclass=conda_build.bdist_conda.CondaDistribution, ...)
. (#4368) - Patch
setuptools
's vendoreddistutils.core
as well. (#4434) - Resolve
conda debug
failure 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_conda
viafrom distutils.core import setup
anddistclass=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
Makefile
for easier testing. (#4425) - Remove unused Travis CI configs. (#4438)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @dholth made their first contribution in #4273
- @isuruf
- @jezdez
- @jakirkham
- @kenodegard
- @remkade made their first contribution in #4425
- @rchord made their first contribution in #4353
- @travishathaway made their first contribution in #4448
- @wimglenn made their first contribution in #4434
- @pre-commit-ci[bot]
Full Changelog: 3.21.8...3.21.9
3.21.8
Enhancements
- Adds
--extra-meta key=value
option which allows users to save any specified extra metadata toabout.json
to 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
croot
andbuild_id
are set manually
Other
- Separate contributor related documentation into dedicated file
- Migrating to github actions for tests
- Synced file(s) with conda/infra
Contributors
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
3.21.6
Enhancements:
- Add limited support for platform_system/sys_platform env markers in PyPI skeleton
- cran-skeleton: Adds a flag
--no-comments
to remove the instructional comments from the recipe files.
Bug fixes:
- When checking for circular dependencies in cross-compiling mode,
build
requirements are ignored now. - Make sure symlinked directories are found in always_include_files
- Fix pinning expressions for prerelease builds
Contributors:
3.21.5
Enhancements:
- Revert "Consider any file containing .yaml in its name as maybe a recipe file" (#4235)
- Support setting
build/script_env
values 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_message
files 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_env
recipe option (#4211) - Clarify wording about selecting multiple operating systems (#4139)
Contributors:
3.21.4
3.21.3
3.21.1
2021-01-11 3.21.1:
Bug fixes:
- Fix noarch: python version from version-age determination (#4174)
Contributors:
3.21.0
2021-01-10 3.21.0:
Enhancements:
- activate_in_script defaults to true (#4120)
- Add Setting and build/noarch_python_build_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 weak_constrains and strong_constrains 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 install_conda_build_test_deps (#4120)
- Add flaky to testing dependencies (#4138)
- Fix tests not finding packages
- Avoid writing to the package cache in package_has_file (collisions) (#4120)
- Change package_has_file 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 get_rpaths_raw/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 run_export/library_nature determination less work when CONDA_OFFLINE=1
- Remove Python 2.7 from CI matrix
- Fix test_pypi_installer_metadata (builds against python 3.9 not 3.7)
- tests: Fix test_render_with_python_arg_reduces_subspace
- 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
3.20.5
Enhancements:
- A new feature
build/ignore_run_exports_from
which will ignorerun_exports
coming 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 build_prefix in git_info (#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 find_config_files call (#4086)
- Refactor dict_of_lists_to_lists_of_dict (#4075)
Contributors:
- @mingwandroid
- @isuruf
- @njalerikson
- @cjmartian
- @njalerikson