Skip to content

Releases: conda/conda-build

3.22.0

03 Aug 23:52
cc6c050
Compare
Choose a tag to compare

Enhancements

  • Created function load_file_data available in Jinja templates for meta.yaml (#4465, #4480)
  • Created function load_str_data available in Jinja templates for meta.yaml (#4465, #4480)
  • Support using --zstd-compression-level to control the compression of v2 style conda packages. (#4467)

Bug fixes

  • When building with Python 3.10, STDLIB_DIR and SP_DIR now refer to python3.10, not the symlink python3.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

Full Changelog: 3.21.9...3.22.0

3.21.9

31 May 10:09
bb31ded
Compare
Choose a tag to compare

Enhancements

  • Replace is_dir with scandir for channel_root. (#4273)
  • Remove rpaths in PREFIX/../ that doesn't start with PREFIX.
    This includes BUILD_PREFIX, SRC_DIR. Previously it was only BUILD_PREFIX. (#4287)
  • Add entry_points to outputs in FIELDS 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 via entry_point mechanism supported also by setuptools >=60.0.0.
    Usable via from setuptools import setup and setup(distclass=conda_build.bdist_conda.CondaDistribution, ...). (#4368)
  • Patch setuptools's vendored distutils.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 via from distutils.core import setup and distclass=distutils.command.bdist_conda.CondaDistribution,
    as that only works for setuptools <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

Full Changelog: 3.21.8...3.21.9

3.21.8

25 Jan 15:32
3366016
Compare
Choose a tag to compare

Enhancements

  • Adds --extra-meta key=value option which allows users to save any specified extra metadata to about.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 and build_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

30 Nov 16:27
b98d7ec
Compare
Choose a tag to compare

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

09 Nov 10:10
f8b0a7d
Compare
Choose a tag to compare

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

06 Aug 20:49
Compare
Choose a tag to compare

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

15 Jan 10:08
Compare
Choose a tag to compare

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:

3.21.3

11 Jan 20:17
Compare
Choose a tag to compare

Enhancements:

  • Fix stupid error in prefix replacement (#4177)

Contributors:

3.21.1

11 Jan 13:10
Compare
Choose a tag to compare

2021-01-11 3.21.1:

Bug fixes:

  • Fix noarch: python version from version-age determination (#4174)

Contributors:

3.21.0

10 Jan 20:10
Compare
Choose a tag to compare

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: