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
Can't run tests ("Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded") #4688
Comments
That is very strange. But "make test" works for me. Nose2 installs for me via "pip3 install nose2"- what more did you need to do? I recall that on Pop!_OS, I had to uninstall 'flake8' via APT and then install it via pip3 to get the right version of it. I was having trouble with it, not the tests, though. Maybe something like that is at issue? In any case the unit tests are pretty limited; 'make flake8' and 'make pytest' and the really useful tools, I find. |
It was kind of messy so I don't quite remember - I think I needed to sudo install it (which I usually don't), but since it failed when I initially tried to pip install it I think I got sidetracked and ended up doing a bunch of weird stuff I found on google like installing it via apt. It's possible I'm exaggerating the problem. |
Well, on my distro the APT version of flake8 was old, so I suspect that sort of thing may be happening to you. Maybe apt remove all this stuff and pip3 install it (without sudo- install it for your account) Things get messy when there are different versions of packages installed in different places; try to get it consistant. |
fixed |
When I run
make test
on the current version of master, I get a bunch of crazy errors:...and again and again, more or less the same error repeated many times.
A similar problem was mentioned here.
As a sidenote, I found it very difficult to install
nose2
("very difficult" meaning I had to do more than just run pip), would it be possible to drop it in favor of pytest or something? It seems like an unnecessary barrier to potential new contributors.The text was updated successfully, but these errors were encountered: