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 dependency from tqdm #393

Closed
wants to merge 1 commit into from
Closed

Conversation

ppolewicz
Copy link
Collaborator

Projects like B2CLI should require it directly. The sdk generally works fine without that dependency which pulls its own dependencies and it is a problem for some projects. We'll continue to support classes that use tqdm.

Any existing installations should keep their dependency in their venv and new versions of the CLI as well as any other console applications should depend on tqdm directly, if they choose to use it.

Projects like B2CLI should require it directly. The sdk generally works
fine without that dependency which pulls its own dependencies and it is
a problem for some projects. We'll continue to support classes that use
tqdm.

Any existing installations should keep their dependency in their venv
and new versions of the CLI as well as any other console applications
should depend on tqdm directly, if they choose to use it.
@ppolewicz
Copy link
Collaborator Author

Ok so the problem is that TqdmProgressReporter was (by mistake) a part of the public interface so now removing the dependency will potentially break the clients using that class (if they didn't require tqdm directly).

In order to fix it we will make a major version release, b2-sdk-python 2.0.0 - but before we do, we'll review the other public classes to make sure this type of a problem is not going to happen again with some other class.

@mjurbanski-reef
Copy link
Collaborator

Continued in #487

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

Successfully merging this pull request may close these issues.

None yet

3 participants