Releases: conda/conda-build
Releases · conda/conda-build
3.27.0
Enhancements
- Remove
glob2
dependency. As of Python 3.5, the '**', operator was available toglob
when usingrecursive=True
. Builtin glob is also much faster. (#5005) - Handle
emscripten-wasm32
andwasi-wasm32
platforms. (#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 . -vv
is 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
build
prefix is activated after thehost
prefix. (#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 #5004
- @boldorider4 made their first contribution in #4960
- @jaimergp
- @jezdez
- @jugmac00
- @kenodegard
- @ryanskeith
- @scdub made their first contribution in #4965
- @wolfv made their first contribution in #4813
- @dependabot[bot]
- @pre-commit-ci[bot]
Full Changelog: 3.26.1...3.27.0
3.26.1
3.26.0
Enhancements
- Add
pip
toenv-doc make
command so function works correctly (pip
is 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)lief
versions. (#4900) - Disable
LIEF
logging to remove "Unknown format" warning message. (#4850) - Revert
enable_static
default value inconda_build.config
to remove "Failed to get_static_lib_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-spec
docs to mention.conda
package format. (#4633) - Drop unnecessary Jinja package name variables from
variants.rst
docs file. (#4834)
Other
- Drop duplicate
get_summary
call inconda_build.skeletons.pypi
. (#3998) - Fix failing
resolved_packages
test due to recent OpenSSL 3.0.8 release to defaults. (#4912)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @jaimergp
- @jakirkham
- @josegonzalez made their first contribution in #3998
- @katietz
- @kenodegard
- @rfezzani made their first contribution in #4850
- @ryanskeith
- @sven6002
- @dependabot[bot]
- @pre-commit-ci[bot]
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
svn
source credentials (svn_username
andsvn_password
). (#4692) - Depend on standalone
conda-index
instead of bundled indexing code. (#4828) - Switch from
setup.py
topyproject.toml
and use Hatchling for our build system. (#4840) - Add Python 3.11 support. (#4852)
Bug fixes
- Ensure
tests/commands
are also run in the presence ofrun_test.*
(#4429) - Require the source when rendering a recipe that uses the
load_file_data
function. (#4817) - Download packages during build into the correct
subdir
folder. (#4832) - Use a unique
subdir
variable name when rebuilding the index for multi-output builds. (#4862)
Deprecations
- Inline
conda index
logic is pending deprecation.conda-build
still providesconda-index
a.k.a.conda index
CLI, but uses standaloneconda-index
during builds. (#4828) - Prefer the standalone conda-index package, instead of
conda-build index
orconda index
, to use faster indexing code. (#4828) - Mark
conda_build.metadata.ns_cfg
as pending deprecation. Useconda_build.get_selectors.get_selectors
instead. (#4837) - Mark
conda_build.config.python2_fs_encode
as pending deprecation. (#4843) - Mark
conda_build.config._ensure_dir
as pending deprecation. Usestdlib
'spathlib.Path.mkdir(exist_ok=True)
oros.makedirs(exist_ok=True)
instead. (#4843)
Other
- Format with
black
and replaced pre-commit'sdarker
hook withblack
. (#4836) - Format with
isort
and add pre-commitisort
hook. (#4836) - Minor code simplification for
conda_build.index.ChannelIndex._ensuredirs
. (#4843) - Enable
xattr
test on macOS. (#4845)
Contributors
- @beeankha
- @conda-bot
- @dholth
- @duncanmmacleod
- @ffirmanff made their first contribution in #4692
- @isuruf
- @jezdez
- @jakirkham
- @jjhelmus
- @kenodegard
- @rishabh11336 made their first contribution in #4782
- @ryanskeith made their first contribution in #4843
- @pre-commit-ci[bot]
3.24.0
Bug fixes
- Fix the failing
git clone
when source has LFS files. (#4318) - Fix many false-positives during the detection of Perl core modules in
conda skeleton cpan
. (#4592) conda skeleton cpan
now correctly adds a C compiler as dependency if the distribution contains an.xs
file. (#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.CrossPlatformStLink
is 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/conda_build_test_recipe in favor of a session fixture. (#4781)
- Use
tomllib
(Python 3.11+) ortomli
for.toml
support. (#4783)
Contributors
- @beeankha
- @conda-bot
- @dbast
- @dholth
- @ernstluring made their first contribution in #4318
- @xileF1337 made their first contribution in #4592
- @jezdez
- @jakirkham
- @johnnynunez made their first contribution in #4804
- @kathatherine
- @kenodegard
- @minrk
- @peetw made their first contribution in #4662
- @sven6002 made their first contribution in #4621
- @tttc3 made their first contribution in #4580
- @dependabot[bot]
- @pre-commit-ci[bot]
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/bin
toPATH
on Windows and removePREFIX
root fromPATH
on Unix. (#4665)
Other
- Skip test suite for non-code changes. (#4664)
Contributors
Full Changelog: 3.23.2...3.23.3
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