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

Dependency version conflict with BugBug #2507

Closed
suhaibmujahid opened this issue Oct 16, 2024 · 2 comments
Closed

Dependency version conflict with BugBug #2507

suhaibmujahid opened this issue Oct 16, 2024 · 2 comments
Labels

Comments

@suhaibmujahid
Copy link
Member

numpy

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
scipy 1.11.3 requires numpy<1.28.0,>=1.21.6, but you have numpy 2.1.1 which is incompatible.
numba 0.58.0 requires numpy<1.26,>=1.21, but you have numpy 2.1.1 which is incompatible.
matplotlib 3.8.0 requires numpy<2,>=1.21, but you have numpy 2.1.1 which is incompatible.
contourpy 1.1.1 requires numpy<2.0,>=1.16; python_version <= "3.11", but you have numpy 2.1.1 which is incompatible.
bugbug 0.0.522 requires libmozdata==0.2.4, but you have libmozdata 0.2.8 which is incompatible.
bugbug 0.0.522 requires numpy==1.22.4, but you have numpy 2.1.1 which is incompatible.
bugbug 0.0.522 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.
bugbug 0.0.522 requires tenacity==8.2.3, but you have tenacity 9.0.0 which is incompatible.

libmozdata

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
bugbug 0.0.522 requires libmozdata==0.2.4, but you have libmozdata 0.2.8 which is incompatible.
bugbug 0.0.522 requires numpy==1.22.4, but you have numpy 2.1.1 which is incompatible.
bugbug 0.0.522 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.
bugbug 0.0.522 requires tenacity==8.2.3, but you have tenacity 9.0.0 which is incompatible.
@marco-c
Copy link
Contributor

marco-c commented Oct 16, 2024

I don't think there's much we can do here, it is expected that the two projects might have different dependencies. To avoid conflicts, one can use a virtualenv.

@suhaibmujahid
Copy link
Member Author

I'm sorry, that was my mistake. I use virtualenv, but it seems that I had BugBug installed manually. I thought BugBug was still a dependency for BugBot (we already dropped that a long time ago).

Fixed by running pip uninstall bugbug in the virtualenv.

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

No branches or pull requests

2 participants