-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add PendingDeprecationWarning for vendored tqdm #12005
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, except the lower version should be much less (possibly as low as tqdm >= 4). We only have 4.64.0 in defaults: https://metayaml-conda.fly.dev/metayaml/newest_by_platform?name=tqdm
I would change this to "tdmq >=4" since defaults only has 4.64.0
and there is no special reason to require the newest version. Here's how other things in defaults have declared a tqdm dependency: https://metayaml-conda.fly.dev/metayaml/reverse_dependencies?name=tqdm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beware that we have had a lot of issues removing vendored code in favor of a dependency in the same release.
I suggest we only add tqdm as a dependency in the next release and mark the vendored code as pending deprecation per CEP8.
cc @jezdez
Yeah agreed, the situation around |
Revert the commit removing the tqdm directory, add deprecation warning for tqdm instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, other than a bit of wording in the deprecation message. Thank you @ForgottenProgramme!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a news snippet
Co-authored-by: Jannis Leidel <jannis@leidel.info>
fc96aef
Co-authored-by: Jannis Leidel <jannis@leidel.info>
d03d7ca
ab5176f
…red tqdm (conda#12005) Resolves conda#11432 Co-authored-by: Mahe Iram Khan <maheiramkhan@Mahes-MacBook-Pro.fritz.box> Co-authored-by: Mahe Iram Khan <maheiramkhan@Mahes-MBP.fritz.box> Co-authored-by: Jannis Leidel <jannis@leidel.info>
Could it be that this broke the recipe in the repo? We test Conda nightly with Mamba and a few days ago the build broke: https://github.com/mamba-org/mamba/actions/workflows/conda_nightly.yml Although I'm not quite sure why the build broke on this particular day, adding |
@jonashaag I wonder if this is potentially related to the need to introduce the isolated mode in conda-build:
What do you mean? Let's discuss further in a new issue for better visibility |
Resolves #11432
Description
Test PR to see if removing
tqdm
as vendored dependency and adding it instead as a real dependency breaks anything.Edit: Nothing breaks.
In this PR we add DeprecationWarning for vendored tqdm, before deprecating it in the next release.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?