Releases: conda/conda-build
Releases · conda/conda-build
3.23.2
Bug fixes
conda-build
CLI overrodecondarc
'szstd_compression_level
with the default value. (#4650)
Contributors
Full Changelog: 3.23.1...3.23.2
3.23.1
Bug fixes
- Fixed regression when writing link JSON files introduced in #4603. (#4636)
- Update conda dependency. (#4635)
Contributors
Full Changelog: 3.23.0...3.23.1
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_patterns
build parameter to speed up recipes where it is not helpful. (#4576) - Add
win-arm64
as a recognized platform (subdir). (#4579) - Add opt-in environment variable to run
conda
in 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_contents
to usepathlib.Path
. Marktest_cli.test_convert
asxfail
on Windows (something with the GitHub Windows Runner makes this particularly flaky). (#4619, #4626)
Deprecations
- Drop
cytoolz
dependency. (#4556) - Removed internal usage of the
memoized
decorator. (#4593, #4615) - Remove py2 compatibility code and use of six.py code exported from conda. (#4603)
conda_build.environ.system_vars
is marked as pending deprecation. Useconda_build.environ.os_vars
instead. (#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.recipe
torecipe
. (#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 #4602
- @erykoff made their first contribution in #4603
- @isuruf
- @jaimergp made their first contribution in #4604
- @jezdez
- @kenodegard
- @mariusvniekerk
- @msarahan
- @skupr-anaconda made their first contribution in #4550
- @pre-commit-ci[bot]
- @brettcannon made their first contribution in #4632
Full Changelog: 3.22.0...3.23.0
3.22.0
Enhancements
- Created function
load_file_data
available in Jinja templates formeta.yaml
(#4465, #4480) - Created function
load_str_data
available in Jinja templates formeta.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
andSP_DIR
now 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: 3.21.9...3.22.0
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)