Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove or update warnings related to "conda-build 4.0" #5200

Open
h-vetinari opened this issue Feb 28, 2024 · 0 comments
Open

Remove or update warnings related to "conda-build 4.0" #5200

h-vetinari opened this issue Feb 28, 2024 · 0 comments

Comments

@h-vetinari
Copy link
Contributor

With the recent change to CalVer, conda-build 4.0 isn't going to happen anymore. The warnings referring to it should be updated (or if not relevant anymore, removed).

Found some instances below, though there may be more:

log.warn(
"deprecation warning: this function has been renamed to get_output_file_paths, "
"to reflect that potentially multiple paths are returned. This function will be "
"removed in the conda-build 4.0 release."
)

log.warn(
"Using legacy MSVC compiler setup. This will be removed in conda-build 4.0. "
"If this recipe does not use a compiler, this message is safe to ignore. "
"Otherwise, use {{compiler('<language>')}} jinja2 in requirements/build."
)

# default to not erroring with overlinking for now. We have specified in
# cli/main_build.py that this default will switch in conda-build 4.0.
Setting(
"error_overlinking",
cc_conda_build.get("error_overlinking", error_overlinking_default).lower()
== "true",
),

help=(
"Enable error when shared libraries from transitive dependencies are directly "
"linked to any executables or shared libraries in built packages. This is disabled "
"by default, but will be enabled by default in conda-build 4.0."
),

<B>--error-overlinking</B>
Enable error when shared libraries from transitive dependencies
are directly linked to any executables or shared libraries in
built packages. This is disabled by default, but will be enabled
by default in condabuild 4.0.
<B>--no-error-overlinking</B>
Disable error when shared libraries from transitive dependencies
are directly linked to any executables or shared libraries in
built packages. This is currently the default behavior, but will
change in conda-build 4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant